Style improvements

master
Drew DeVault 7 years ago
parent 0f628d23fc
commit c7f57856ce
  1. 4
      templates/goal.html
  2. 9
      templates/index.html

@ -1,12 +1,10 @@
{% if _cfg("public-income") == "yes" %} {% if _cfg("public-income") == "yes" %}
<div class="container"> <div class="container" style="padding-top: 5rem">
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2"> <div class="col-md-8 col-md-offset-2">
<hr />
{% set total_sum = recurring_sum + patreon_sum %} {% set total_sum = recurring_sum + patreon_sum %}
{% set total_count = recurring_count + patreon_count %} {% set total_count = recurring_count + patreon_count %}
{% if _cfg("goal") %} {% if _cfg("goal") %}
<h3 class="text-center">Goal</h3>
{% set goal = int(_cfg("goal")) %} {% set goal = int(_cfg("goal")) %}
{% set recurring_progress = recurring_sum / goal %} {% set recurring_progress = recurring_sum / goal %}
{% set patreon_progress = patreon_sum / goal %} {% set patreon_progress = patreon_sum / goal %}

@ -17,10 +17,15 @@ window.email = "{{user.email}}";
{% block body %} {% block body %}
<div class="well"> <div class="well">
<div class="container"> <div class="container">
<h1>Donate to {{ _cfg("your-name") }}</h1>
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2"> <div class="col-md-8 col-md-offset-2">
{% include "summary.html" %} <img
class="pull-right"
src="{{ avatar }}?s=128"
style="border-radius: 5px; margin-left: 1rem"
width="128" height="128" />
<h1>Donate to {{ _cfg("your-name") }}</h1>
{% include "summary.html" %}
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save