summaryrefslogtreecommitdiff
path: root/index.html
blob: 79196ffc62b99352203d3fc2367c25d0781af63f (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>
            <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">
            </div>
            <div id="link-container" style="display: none">
                <p><a id="link" rel="noopener noreferrer">Course Query</a></p>
            </div>
            <div id="warning">
            </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 for Firefox and for Chrome.</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.</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>
                    <li>this tries to remember your favorite subject. you need to open the search page though, otherwise it doesn't know when you're done typing.</li>
                </ul>
                </p>
            </div>
        </div>
    </body>
</html>