summaryrefslogtreecommitdiffstats
path: root/authentication/templates
diff options
context:
space:
mode:
Diffstat (limited to 'authentication/templates')
-rw-r--r--authentication/templates/authorize.html5
-rw-r--r--authentication/templates/base.html63
-rw-r--r--authentication/templates/login.html18
3 files changed, 86 insertions, 0 deletions
diff --git a/authentication/templates/authorize.html b/authentication/templates/authorize.html
new file mode 100644
index 0000000..1ed6506
--- /dev/null
+++ b/authentication/templates/authorize.html
@@ -0,0 +1,5 @@
1{% extends "./base.html" %}
2
3{% block content %}
4 <h1>AUTH</h1>
5{% endblock %}
diff --git a/authentication/templates/base.html b/authentication/templates/base.html
new file mode 100644
index 0000000..47d007e
--- /dev/null
+++ b/authentication/templates/base.html
@@ -0,0 +1,63 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>TTUN</title>
6 <style>
7/* http://meyerweb.com/eric/tools/css/reset/
8 v2.0 | 20110126
9 License: none (public domain)
10*/
11
12html, body, div, span, applet, object, iframe,
13h1, h2, h3, h4, h5, h6, p, blockquote, pre,
14a, abbr, acronym, address, big, cite, code,
15del, dfn, em, img, ins, kbd, q, s, samp,
16small, strike, strong, sub, sup, tt, var,
17b, u, i, center,
18dl, dt, dd, ol, ul, li,
19fieldset, form, label, legend,
20table, caption, tbody, tfoot, thead, tr, th, td,
21article, aside, canvas, details, embed,
22figure, figcaption, footer, header, hgroup,
23menu, nav, output, ruby, section, summary,
24time, mark, audio, video {
25 margin: 0;
26 padding: 0;
27 border: 0;
28 font-size: 100%;
29 font: inherit;
30 vertical-align: baseline;
31}
32/* HTML5 display-role reset for older browsers */
33article, aside, details, figcaption, figure,
34footer, header, hgroup, menu, nav, section {
35 display: block;
36}
37body {
38 line-height: 1;
39}
40ol, ul {
41 list-style: none;
42}
43blockquote, q {
44 quotes: none;
45}
46blockquote:before, blockquote:after,
47q:before, q:after {
48 content: '';
49 content: none;
50}
51table {
52 border-collapse: collapse;
53 border-spacing: 0;
54}
55 </style>
56</head>
57<body>
58 <div>
59
60 </div>
61 {% block content %}{% endblock %}
62</body>
63</html>
diff --git a/authentication/templates/login.html b/authentication/templates/login.html
new file mode 100644
index 0000000..fcba5cd
--- /dev/null
+++ b/authentication/templates/login.html
@@ -0,0 +1,18 @@
1{% extends "./base.html" %}
2
3{% block content %}
4 <form method="post">
5
6 <input type="email" name="username" {% if form %}value="{{ form.username }}"{% endif %} placeholder="username" />
7 {% if errors and errors.username %}
8 {{ errors.username }}
9 {% endif %}
10
11
12 <input type="password" name="password" />
13 {% if errors and errors.password%}
14 {{ errors.password }}
15 {% endif %}
16 <button type="submit">Login</button>
17 </form>
18{% endblock %}