Changeset - 96fe13427609
[Not reviewed]
Daniel Takamori (pono) - 2 years ago 2022-01-04 22:13:02
pono@sfconservancy.org
hack for another progress bar after we finish
1 file changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -138,24 +138,32 @@
 
    <div class="progress matched pv1 b flex" style="flex-basis: {{ this_match_so_far }}px">
 
      <span id="site-fundraiser-match-count" class="soFarText tc w-100">${{ this_match_goal|floatformat:0|intcomma }} matched!</span>
 
    </div>
 
  {% else %}
 
    <div class="progress pv1 b flex items-center" style="flex-basis: {{ this_match_so_far }}px">
 
      <span id="site-fundraiser-match-count" class="soFarText tc w-100">${{ this_match_so_far|floatformat:0|intcomma }} matched!</span>
 
    </div>
 
    <div class="final-goal pv1 b flex items-center" style="flex-basis: {{ this_match_remaining }}px">
 
      <span id="site-fundraiser-final-goal" class="goalText tc w-100">${{ this_match_remaining|floatformat:0|intcomma }} to go!</span>
 
    </div>
 
    {% endif %}
 
</div>
 

	
 
<div id="siteprogressbar" class="flex items-stretch w-100">
 
    <div class="progress matched pv1 b flex" style="flex-basis: {{ this_match_so_far }}px">
 
      <span id="site-fundraiser-match-count" class="soFarText tc w-100">${{ this_match_so_far|add:"-159191"|floatformat:0|intcomma }} extra raised!</span>
 
    </div>
 
</div>
 

	
 

	
 
</a>
 
{% endif %}
 

	
 
</div>
 
</div>
 
{% endwith %}
 
{% endwith %}
 
{% endif %}
 

	
 
    <div class="mw8 center ph2 ph3">
 
      {% block outercontent %}<div id="mainContent"> {% block content %}{% endblock %}</div>{% endblock %}
 
    </div>
0 comments (0 inline, 0 general)