summaryrefslogtreecommitdiff
path: root/index.html
blob: 74c3f186d1e94c6690e0d1553039c63d32b2b052 (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
<!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>
            <hr>
            <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>
            <hr>
            <div id="error">
            </div>
            <div id="link-container">
                <p><a id="link" rel="noopener noreferrer">Course Query</a></p>
            </div>
            <div id="warning">
            </div>
            <div>
                <p>
                Tips:
                <ul>
                    <li id="ywh-ad">works best with YorkU Web Helper, available for Firefox and Chrome</li>
                    <li><strong>you can bookmark the link, and it will always bring you to the right page (no more "Your session has expired"!)</strong></li>
                    <li>ctrl-enter in the box opens the result 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>