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

View File

@ -12,7 +12,7 @@
<hr> <hr>
<div class="container"> <div class="container">
<h2 class="display-6">Our Mission</h2> <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> </div>
<hr> <hr>
<div class="council"> <div class="council">

View File

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