diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-14 19:51:45 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-14 19:51:45 +0200 |
| commit | 4aee68096c11ce1e3762fb8cffbde2a14dfa3cd0 (patch) | |
| tree | 4ce0642a088fd2370ad0992916d5d41093bedc48 /app/templates/login.html | |
| parent | 0396e1fbb46c7256095f05e37f2747baa3e20c73 (diff) | |
Added the login for changes
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 |
