Fixed Minor Mistakes

This commit is contained in:
Praneeth Bhandaru 2020-10-30 14:16:12 -04:00
parent a631263a4c
commit b490cd2796
3 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@
<div class="collapse navbar-collapse" id="navbarLinks">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
<a class="nav-link" href="https://bit.ly/tj2023discord">Discord</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'events' %}">Events</a>
@ -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>

View File

@ -12,7 +12,7 @@
<hr>
<div class="container">
<h2 class="display-6">Our Mission</h2>
<p>Some description of what we do</p>
<p>As the 2023 Class Council, our mission is to make sure that all of your voices are heard, because we want to plan events that you want. We strive to work seamlessly with you, and this year, we're increasing our transparency efforts even more. Together, we will the class to beat!</p>
</div>
<hr>
<div class="council">

View File

@ -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);
}
}