summaryrefslogtreecommitdiff
path: root/jimbrella/templates/auth.html
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella/templates/auth.html')
-rw-r--r--jimbrella/templates/auth.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/jimbrella/templates/auth.html b/jimbrella/templates/auth.html
new file mode 100644
index 0000000..9fb1e14
--- /dev/null
+++ b/jimbrella/templates/auth.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>JI Umbrella</title>
+ <link rel="stylesheet" href="/static/jimbrella.css" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ </head>
+ <body>
+ {% if action == "login" %}
+ <h1>Login to JI Umbrella</h1>
+ {% else %}
+ <h1>Register for JI Umbrella</h1>
+ {% endif %}
+
+ <div id="container">
+ {% include "admin/tabs.html" %}
+ <div class="banner-container">
+ {% if error %}
+ <div class="banner error">{{ error }}</div>
+ {% endif %}
+ <form method="post" action="/{{ action }}">
+ <input name="username" placeholder="Username" /> <br />
+ <input name="password" type="password" placeholder="Password" /> <br />
+ <input type="submit" value="{{ action|capitalize }}" />
+ </form>
+ </div>
+ </div>
+ </body>
+</html>