diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-10-27 19:56:12 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-10-27 19:56:12 -0500 |
| commit | f59b3ba871f1086beb147c2de46f0cd60ce070c2 (patch) | |
| tree | d9064e0ee41d58437f42c7e7c2a636000f50e18f /flaskr/templates/auth | |
| parent | 87e6ced8ecd0ba54af1f67319fccf96c13ba6261 (diff) | |
| download | ustayml-f59b3ba871f1086beb147c2de46f0cd60ce070c2.tar.gz ustayml-f59b3ba871f1086beb147c2de46f0cd60ce070c2.tar.bz2 ustayml-f59b3ba871f1086beb147c2de46f0cd60ce070c2.zip | |
Add auth view and static files
Diffstat (limited to 'flaskr/templates/auth')
| -rw-r--r-- | flaskr/templates/auth/login.html | 15 | ||||
| -rw-r--r-- | flaskr/templates/auth/register.html | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/flaskr/templates/auth/login.html b/flaskr/templates/auth/login.html new file mode 100644 index 0000000..b7dd5dc --- /dev/null +++ b/flaskr/templates/auth/login.html @@ -0,0 +1,15 @@ +{% extends 'base.html' %} + +{% block header %} + <h1>{% block title %}Log In{% endblock %}</h1> +{% endblock %} + +{% block content %} + <form method="post"> + <label for="username">Username</label> + <input name="username" id="username" required> + <label for="password">Password</label> + <input type="password" name="password" id="password" required> + <input type="submit" value="Log In"> + </form> +{% endblock %}
\ No newline at end of file diff --git a/flaskr/templates/auth/register.html b/flaskr/templates/auth/register.html new file mode 100644 index 0000000..a3c73cc --- /dev/null +++ b/flaskr/templates/auth/register.html @@ -0,0 +1,15 @@ +{% extends 'base.html' %} + +{% block header %} + <h1>{% block title %}Register{% endblock %}</h1> +{% endblock %} + +{% block content %} + <form method="post"> + <label for="username">Username</label> + <input name="username" id="username" required> + <label for="password">Password</label> + <input type="password" name="password" id="password" required> + <input type="submit" value="Register"> + </form> +{% endblock %}
\ No newline at end of file |
