dockerized structure

This commit is contained in:
Ville Rantanen
2022-09-23 20:32:27 +03:00
parent 4602b4aa06
commit 08e60efabc
20 changed files with 640 additions and 550 deletions

15
code/templates/login.html Normal file
View 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 %}