summaryrefslogtreecommitdiffstats
path: root/nfsw/templates
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-09-12 21:22:01 -0400
committerrsiddharth <s@ricketyspace.net>2019-09-12 21:22:01 -0400
commit3d6ea3afec8d2f6db68f66dd60fa78efa9035e87 (patch)
tree709b3ed1d30a629ab27a31dca3814335e06fabac /nfsw/templates
parent39c85710f5ab1f7c63caf30beaaaede7286fc53a (diff)
Add some auth flask snafu.
Diffstat (limited to 'nfsw/templates')
-rw-r--r--nfsw/templates/auth/index.html27
-rw-r--r--nfsw/templates/base.html16
2 files changed, 43 insertions, 0 deletions
diff --git a/nfsw/templates/auth/index.html b/nfsw/templates/auth/index.html
new file mode 100644
index 0000000..5ca46ba
--- /dev/null
+++ b/nfsw/templates/auth/index.html
@@ -0,0 +1,27 @@
+{% extends 'base.html' %}
+
+{% block title %}Register{% endblock %}
+
+{% block content %}
+<div class="msg-block">
+ <div class="content">
+ <p></p>
+ </div>
+</div>
+
+<form class="auth" method="post">
+ <div class="form-group auth-user">
+ <label for="username">Username</label>
+ <input name="username" class="username">
+ </div>
+
+ <div class="form-group auth-pass">
+ <label for="password">Password</label>
+ <input type="password" name="password" class="password" disabled>
+ </div>
+
+ <div class="button-group">
+ <input type="submit" value="Start">
+ </div>
+</form>
+{% endblock %}
diff --git a/nfsw/templates/base.html b/nfsw/templates/base.html
new file mode 100644
index 0000000..008916d
--- /dev/null
+++ b/nfsw/templates/base.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <title>{% block title %}{% endblock %} - NFSW</title>
+ <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
+ <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
+ </head>
+ <body>
+ <script src="{{ url_for('static', filename='jquery.js') }}"></script>
+ <script src="{{ url_for('static', filename='nfsw.js') }}"></script>
+
+ <section class="content">
+ {% block content %}{% endblock %}
+ </section>
+ </body>
+</html>