aboutsummaryrefslogtreecommitdiff
path: root/poll/public/index.html
blob: c75899c71d82721953fe44526db343a416204661 (plain) (blame)
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
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link
            rel="stylesheet"
            href="https://unpkg.com/purecss@2.0.3/build/pure-min.css"
            integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ"
            crossorigin="anonymous"
        />
        <link rel="stylesheet" href="style.css" type="text/css" media="all" />

        <title>Schüler-Ranking</title>
    </head>
    <body>
        <div class="pure-menu pure-menu-horizontal">
            <a href="/" class="pure-menu-item pure-menu-link">Home</a>
            <a href="/auth/api/logout" class="pure-menu-item pure-menu-link">Logout</a>
        </div>

        <main>
            <div class="pure-form pure-form-stacked">
                <fieldset>
                    <legend>Schüler-Ranking</legend>

                    <div class="bar" id="progress"></div>

                    <p>Welche/r Schüler/in...</p>
                    <label id="question_label" for="question"></label>
                    <input name="question" id="question" hidden />
                    <label for="answer">Antwort</label>
                    <select name="answer" id="answer" required></select>
                    <button type="submit" id="submit-btn" class="pure-button pure-button-primary">Antworten</button>
                    <div class="back-skip pure-button-group" role="group">
                        <button id="prev-btn" class="pure-button">Zurück</button>
                        <button id="skip-btn" class="pure-button">Weiter</button>
                    </div>
                </fieldset>
            </div>
        </main>

        <script src="script.js" charset="utf-8"></script>
    </body>
</html>