more
This commit is contained in:
@@ -27,12 +27,13 @@
|
|||||||
<body>
|
<body>
|
||||||
<div class="bg"></div>
|
<div class="bg"></div>
|
||||||
<div class="bg-text">
|
<div class="bg-text">
|
||||||
<p>In lecture one day I noticed the other sites were using outdated data sets from <2020, so I made my own. Enjoy!</p>
|
<p>Noticed other grade sites used outdated data, so I made my own. Enjoy!</p>
|
||||||
<p>
|
<p>
|
||||||
Keep course names as close to the
|
Keep course names as close to the
|
||||||
<a href="https://registrar.utexas.edu/schedules">official course name</a>
|
<a href="https://registrar.utexas.edu/schedules">official course name</a>
|
||||||
as possible
|
as possible
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
<form action="">
|
<form action="">
|
||||||
|
|
||||||
<!-- Data is separated into course number, course prefi;x, and course name-->
|
<!-- Data is separated into course number, course prefi;x, and course name-->
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
<input type="text" id="courseInstructor" name="fname"><br><br>
|
<input type="text" id="courseInstructor" name="fname"><br><br>
|
||||||
<button type="button" id="subBut">Submit</button><br><br>
|
<button type="button" id="subBut">Submit</button><br><br>
|
||||||
|
|
||||||
|
<!-- Dropdown menu for semester selection -->
|
||||||
<form>
|
<form>
|
||||||
<label for="dropdown">Semester (work in progress):</label>
|
<label for="dropdown">Semester (work in progress):</label>
|
||||||
<select id="dropdown" name="dropdown">
|
<select id="dropdown" name="dropdown">
|
||||||
@@ -56,7 +58,7 @@
|
|||||||
<br><br>
|
<br><br>
|
||||||
</form>
|
</form>
|
||||||
</form>
|
</form>
|
||||||
<div id="grades" value="invisible">
|
<div id="grades" value="invisible" class="center" style="width:800px; margin:0 auto;">
|
||||||
<!--Bar graph stuff-->
|
<!--Bar graph stuff-->
|
||||||
<canvas id="gradeBar" style="width:100%;max-width:700px"></canvas>
|
<canvas id="gradeBar" style="width:100%;max-width:700px"></canvas>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
2
main.css
2
main.css
@@ -5,7 +5,7 @@
|
|||||||
body {
|
body {
|
||||||
font-family: 'Helvetica Neue', sans-serif;
|
font-family: 'Helvetica Neue', sans-serif;
|
||||||
background: rgb(27,26,42);
|
background: rgb(27,26,42);
|
||||||
background: linear-gradient(90deg, rgba(27,26,42,1) 0%, rgba(61,87,92,1) 100%);
|
background: linear-gradient(90deg, rgba(61,87,92,1) 0%, rgb(69, 68, 84) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|||||||
4
main.js
4
main.js
@@ -103,7 +103,9 @@ function loadChart(gradeDist) {
|
|||||||
datasets: [{
|
datasets: [{
|
||||||
label: 'Grade Distribution',
|
label: 'Grade Distribution',
|
||||||
data: Object.values(gradeDist),
|
data: Object.values(gradeDist),
|
||||||
borderWidth: 1
|
borderWidth: 1,
|
||||||
|
// borderColor: '#36A2EB',
|
||||||
|
backgroundColor: '#9BD0F5',
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
|
|||||||
Reference in New Issue
Block a user