Added about page

This commit is contained in:
2023-04-23 17:54:32 -05:00
parent 3df511637d
commit e41974b3ee
3 changed files with 41 additions and 9 deletions

View File

@@ -26,8 +26,18 @@
<body> <body>
<div class="bg"></div> <div class="bg"></div>
<div class="bg-text"> <div class="bg-text" value="">
<p>Noticed other grade sites used outdated data, so I made my own. Enjoy!</p> <h1>About</h1>
<p>
This is a database tool to assist students of the University of Texas - Austin in the biannual race for
Jazz Appr- I mean course registration process.
</p>
<p>
I noticed other grade sites used outdated data, so I made
my own. Enjoy!
</p>
</div>
<div class="bg-form">
<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>
@@ -43,13 +53,13 @@
<input type="text" id="courseNum" name="fname" required><br><br> <input type="text" id="courseNum" name="fname" required><br><br>
<label for="courseName">Course Name (Optional, useful for precision Ex: "Jazz Appreciation"):</label> <label for="courseName">Course Name (Optional, useful for precision Ex: "Jazz Appreciation"):</label>
<input type="text" id="courseName" name="fname"><br><br> <input type="text" id="courseName" name="fname"><br><br>
<label for="courseInstructor">Instructor (Optional):</label> <!-- <label for="courseInstructor">Instructor (Optional):</label>
<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 --> <!-- Dropdown menu for semester selection -->
<form> <form>
<label for="dropdown">Semester (work in progress):</label> <label for="dropdown">Semester (under construction):</label>
<select id="dropdown" name="dropdown"> <select id="dropdown" name="dropdown">
<option value="option1">Fall 2022</option> <option value="option1">Fall 2022</option>
<option value="option2">Spring 2022</option> <option value="option2">Spring 2022</option>

View File

@@ -113,7 +113,6 @@ footer p {
background-size: cover; background-size: cover;
} }
/* Position text in the middle of the page/image */
.bg-text { .bg-text {
background-color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);
/* Fallback color */ /* Fallback color */
@@ -122,12 +121,35 @@ footer p {
color: white; color: white;
font-weight: bold; font-weight: bold;
border: 3px solid #f1f1f1; border: 3px solid #f1f1f1;
margin: 5px auto;
position: absolute;
top: 15%;
left: 50%;
transform: translate(-50%, -50%);
/* z-index: 2; */
width: 70%;
padding: 20px;
text-align: center;
}
/* Position text in the middle of the page/image */
.bg-form {
background-color: rgb(0, 0, 0);
/* Fallback color */
background-color: rgba(0, 0, 0, 0.4);
/* opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
margin: 5px auto;
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: 2; /* z-index: 2; */
width: 80%; width: 70%;
padding: 20px; padding: 20px;
text-align: center; text-align: center;
} }

View File

@@ -33,7 +33,7 @@ function parseName() {
async function PapaParse(department, num, name) { async function PapaParse(department, num, name) {
let cData = ''; let cData = '';
// await fetch('https://derec4.github.io/UT-Grade-Dist/2022prefixes.json'); // await fetch('https://derec4.github.io/UT-Grade-Dist/2022prefixes.json');
await fetch('https://derec4.github.io/UT-Grade-Dist/2022%20Fall.json') await fetch('https://derec4.github.io/ut-grade-data/2022%20Fall.json')
.then(res => res.json()) .then(res => res.json())
.then(data => { cData = data; }); .then(data => { cData = data; });