diff options
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 |
