diff options
Diffstat (limited to 'secrets/public/index.html')
-rw-r--r-- | secrets/public/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/secrets/public/index.html b/secrets/public/index.html new file mode 100644 index 0000000..5aa734d --- /dev/null +++ b/secrets/public/index.html @@ -0,0 +1,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="Kein Geheimnis" + 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> |