aboutsummaryrefslogtreecommitdiff
path: root/secrets/public/index.html
blob: e77e167e6fc66225756ba9af21b542fd64fc8e44 (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
<!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>Zitate</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>
            <form class="pure-form pure-form-stacked" action="api/add" method="post">
                <fieldset>
                    <legend>Es ist kein Geheimnis, dass...</legend>
                    <input
                        name="secret"
                        type="text"
                        id="secret"
                        placeholder="Bsp.: Herr Rheinaerdts im Bundestag fast eingeschlafen ist."
                        maxlength="255"
                        required
                    />
                    <button type="submit" class="pure-button pure-button-primary">Hinzufügen</button>
                </fieldset>
            </form>

            <p>Es ist kein Geheimnis, dass...</p>
            <ul id="list"></ul>
        </main>

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