dockerized structure
This commit is contained in:
15
code/templates/login.html
Normal file
15
code/templates/login.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<h2>Login</h2>
|
||||
{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
|
||||
<form action="{{ url_for('login') }}" method=post>
|
||||
<dl>
|
||||
<dt>Username:
|
||||
<dd><input type=text name=username autofocus>
|
||||
<dt>Password:
|
||||
<dd><input type=password name=password>
|
||||
<dd><input class=submit type=submit value=Login>
|
||||
</dl>
|
||||
</form>
|
||||
<!--a href="{{ url_for('register') }}">Register</a-->
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user