dockerized structure
This commit is contained in:
17
code/templates/list_shops.html
Normal file
17
code/templates/list_shops.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<table class="sortable" id="shoplist">
|
||||
<tr><th>Shop</th><th>Last edited</th><th>Owner</th></tr>
|
||||
{% for entry in entries %}
|
||||
<tr><td><a href="{{ url_for('show_shop',shopid=entry.shopid) }}">{{ entry.shop }}</a></td><td>{{ entry.date }}</td><td>{{ entry.owner }}</td>
|
||||
{% else %}
|
||||
<tr><td><em>Unbelievable. You dont have any shops</em>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
<form action="{{ url_for('add_shop') }}" method=post class=add-entry>
|
||||
<h2>Add new shop:</h2>
|
||||
<input class=submit type=text size=30 name=shop> <input class=submit type=submit value=Submit>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user