summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-18 16:06:59 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-18 16:06:59 -0400
commit6d1016e2dfb3d0b10d8e7203dd217382821ab42a (patch)
tree5da8f3e8d440b3e4771b92af4fa7a5e584df4542 /index.html
parent7a4b3595a3265495ffa44e0aff57964517ad4cb3 (diff)
downloadyorku-course-query-6d1016e2dfb3d0b10d8e7203dd217382821ab42a.tar.xz
yorku-course-query-6d1016e2dfb3d0b10d8e7203dd217382821ab42a.zip
add most features
Diffstat (limited to 'index.html')
-rw-r--r--index.html44
1 files changed, 27 insertions, 17 deletions
diff --git a/index.html b/index.html
index 757de9d..806ab96 100644
--- a/index.html
+++ b/index.html
@@ -8,28 +8,38 @@
</head>
<body>
<div class="container">
+ <noscript>
+ <div>
+ <p>Sorry, this doesn't do anything without JS.</p>
+ </div>
+ </noscript>
+ <div>
+ Sample queries:
+ <span id="sample-queries">
+ <a href="#" class="sample-query">biol</a>,
+ <a href="#" class="sample-query">SB/ACTG 2010 3.00</a>,
+ <a href="#" class="sample-query">ADMS 1000 3</a>,
+ <a href="#" class="sample-query">LE EECS 3000 Cr=3.00 A Term:F Professional Practice in Computing</a>
+ </span>
<div>
<form method="GET">
- <input type="text" id="input" size="60">
- <select id="terms" size=3></select>
+ <table>
+ <tr>
+ <td><input type="text" id="input"></td>
+ <td><select id="sessions" size="2"></select></td>
+ </tr>
+ </table>
</form>
</div>
+ <hr>
+ <div>
+ <span id="error"></span>
+ </div>
+ <div id="link-container">
+ <p><a id="link" rel="noopener noreferrer">Course Query</a></p>
+ </div>
<div>
- <table>
- <thead>
- <th>Faculty</th>
- <th>Dept./Subj.</th>
- <th>Number</th>
- <th>Credits</th>
- </thead>
- <tbody>
- <td id="faculty"></td>
- <td id="dept"></td>
- <td id="crsn"></td>
- <td id="cred"></td>
- </tbody>
- </table>
- <a id="link">Course Query</a>
+ <span id="warning"></span>
</div>
</div>
</body>