From c7f57856cee76755204ddb62d0cc43a62f9c3562 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 9 Dec 2017 12:01:21 -0500 Subject: [PATCH] Style improvements --- templates/goal.html | 4 +--- templates/index.html | 9 +++++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/goal.html b/templates/goal.html index 02c830e..e0836d2 100644 --- a/templates/goal.html +++ b/templates/goal.html @@ -1,12 +1,10 @@ {% if _cfg("public-income") == "yes" %} -
+
-
{% set total_sum = recurring_sum + patreon_sum %} {% set total_count = recurring_count + patreon_count %} {% if _cfg("goal") %} -

Goal

{% set goal = int(_cfg("goal")) %} {% set recurring_progress = recurring_sum / goal %} {% set patreon_progress = patreon_sum / goal %} diff --git a/templates/index.html b/templates/index.html index c9e0284..f1d61b5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,10 +17,15 @@ window.email = "{{user.email}}"; {% block body %}
-

Donate to {{ _cfg("your-name") }}

- {% include "summary.html" %} + +

Donate to {{ _cfg("your-name") }}

+ {% include "summary.html" %}