diff options
Diffstat (limited to 'static/templates')
| -rw-r--r-- | static/templates/base.html | 16 | ||||
| -rw-r--r-- | static/templates/login.html | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/static/templates/base.html b/static/templates/base.html new file mode 100644 index 0000000..2d9f8fd --- /dev/null +++ b/static/templates/base.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="{{lang()}}"> + <head> + <title>{% block title %}{% endblock title %}</title> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <link rel="stylesheet" href="/style.css" /> + {% block head %}{% endblock head %} + </head> + <body> + {% block content %}{% endblock content %} + <footer> + <div id="copyright">© 2023 Amplify Education Inc.</div> + </footer> + </body> +</html> diff --git a/static/templates/login.html b/static/templates/login.html new file mode 100644 index 0000000..fd3d136 --- /dev/null +++ b/static/templates/login.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block title %}Log In{% endblock title %} +{% block content %} +<form method="post" action="{{ baseUrl() }}/authenticate"> + <label for="username">Username</label> + <input id="username" type="text" name="username" tabindex="0" placeholder="Enter your username" autofocus autocomplete="off" /> + <label for="password">Password</label> + <input id="password" type="password" name="password" tabindex="0" placeholder="Enter your password" autofocus autocomplete="off" /> + <input type="submit" tabindex="0" name="login" value="Log In" /> +</form> +{% endblock content %}
\ No newline at end of file |
