diff options
Diffstat (limited to 'app/templates/login.html')
| -rw-r--r-- | app/templates/login.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/templates/login.html b/app/templates/login.html new file mode 100644 index 0000000..a42f2c5 --- /dev/null +++ b/app/templates/login.html @@ -0,0 +1,23 @@ +{% from "macros.j2" import header, footer, navbar %} +<!doctype html> +<html lang="en"> +{{ header(url_for) }} +<body> + <section class="section"> + {{ navbar(url_for) }} + <form action="{{ url_for('simplelogin.login') }}" method="post"> + <div class="form-group"> + {{ form.csrf_token }} + {{form.username.label(class_="label")}}<div class="control form-control">{{ form.username(class_="input") }} + </div><br> + {{form.password.label(class_="label")}}<div class="control form-control"> {{ form.password(class_="input") }} + </div><br> + {% if next %}<input type="hidden" name="next" value="{{next}}">{% endif %} + </form> + <input class="button is-dark" type="submit" value="Login"> + </form> + {{ footer() }} + </section> +</body> + +</html>
\ No newline at end of file |
