summaryrefslogtreecommitdiff
path: root/index.html
blob: 81f9e6f04fa4fdd046ec7e5970b57a8ef1dc9674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Unofficial York University Course Query</title>
        <link rel="stylesheet" href="style.css">
        <script async src="script.js"></script>
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </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>
            <div>
                <form method="GET">
                    <table>
                        <tr>
                            <td style="width: 100%"><input type="text" id="input"></td>
                            <td><select id="sessions" size="2"></select></td>
                        </tr>
                    </table>
                </form>
            </div>
            <div id="error" style="display: none">
                Errors (fix these to generate a link):
                <ul id="error-list"></ul>
            </div>
            <div id="link-container" style="display: none">
                <p><a id="link" rel="noopener noreferrer">Course Query</a></p>
            </div>
            <div id="warning" style="display: none">
                Warnings (you can probably ignore these):
                <ul id="warning-list"></ul>
            </div>
            <hr style="margin: 2em auto; width: 80%;">
            <div>
                <p>
                Tips:
                <ul>
                    <li id="ywh-ad">it is highly recommended to install YorkU Web Helper, available <a href="">for Firefox</a> and <a href="">for Chrome</a>.</li>
                    <li><strong>no more "You have exceeded the maximum time limit"!</strong> bookmark the generated link, and it will always bring you to the right page. works best with YorkU Web Helper for automatic schedule loading</li>
                    <li>pressing enter in the box opens the result. ctrl-enter opens in a new tab, shift-enter opens in a new window.</li>
                    <li>remember to select the session you want on the right of the search box.</li>
                </ul>
                </p>
            </div>
        </div>
    </body>
</html>