mirror of
https://github.com/Rushilwiz/tj2023.git
synced 2025-04-10 23:30:17 -04:00
Merge branch 'master' of github.com:Rushilwiz/tj2023
This commit is contained in:
commit
b5222c2c38
|
@ -40,8 +40,8 @@
|
|||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" href="{% url 'council' %}">About us</a>
|
||||
<a class="dropdown-item" href="{% url 'notes' %}">Our Meetings</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="{% url 'contact' %}">Contact Us</a>
|
||||
<!-- <div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="{% url 'contact' %}">Contact Us</a> -->
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</div>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function(){
|
||||
var thing = ({{ bar.money_raised }})/50000;
|
||||
var thing = ({{ bar.money_raised }})/10000;
|
||||
thing = thing * 100;
|
||||
console.log(thing);
|
||||
width = 1;
|
||||
|
@ -45,10 +45,10 @@
|
|||
if (width < thing) {
|
||||
width+=.25;
|
||||
document.getElementById('bar').style.width = width + "%";
|
||||
document.getElementById('bar').innerHTML = "$" + (width * 500)
|
||||
document.getElementById('bar').innerHTML = "$" + (width * 100)
|
||||
} else {
|
||||
document.getElementById('bar').style.width = thing + "%";
|
||||
document.getElementById('bar').innerHTML = "$" + (thing * 500)
|
||||
document.getElementById('bar').innerHTML = "$" + (thing * 100)
|
||||
clearInterval(id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user