mirror of
https://github.com/Rushilwiz/tj2023.git
synced 2025-04-20 12:00: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">
|
<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 'council' %}">About us</a>
|
||||||
<a class="dropdown-item" href="{% url 'notes' %}">Our Meetings</a>
|
<a class="dropdown-item" href="{% url 'notes' %}">Our Meetings</a>
|
||||||
<div class="dropdown-divider"></div>
|
<!-- <div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="{% url 'contact' %}">Contact Us</a>
|
<a class="dropdown-item" href="{% url 'contact' %}">Contact Us</a> -->
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function(){
|
document.addEventListener("DOMContentLoaded", function(){
|
||||||
var thing = ({{ bar.money_raised }})/50000;
|
var thing = ({{ bar.money_raised }})/10000;
|
||||||
thing = thing * 100;
|
thing = thing * 100;
|
||||||
console.log(thing);
|
console.log(thing);
|
||||||
width = 1;
|
width = 1;
|
||||||
|
@ -45,10 +45,10 @@
|
||||||
if (width < thing) {
|
if (width < thing) {
|
||||||
width+=.25;
|
width+=.25;
|
||||||
document.getElementById('bar').style.width = width + "%";
|
document.getElementById('bar').style.width = width + "%";
|
||||||
document.getElementById('bar').innerHTML = "$" + (width * 500)
|
document.getElementById('bar').innerHTML = "$" + (width * 100)
|
||||||
} else {
|
} else {
|
||||||
document.getElementById('bar').style.width = thing + "%";
|
document.getElementById('bar').style.width = thing + "%";
|
||||||
document.getElementById('bar').innerHTML = "$" + (thing * 500)
|
document.getElementById('bar').innerHTML = "$" + (thing * 100)
|
||||||
clearInterval(id);
|
clearInterval(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user