Basic app, mainly copied from tmpl-flask
This commit is contained in:
parent
354a473f77
commit
bfea5eeb06
20 changed files with 446 additions and 49 deletions
18
templates/table.html
Normal file
18
templates/table.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Database{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Sample database</h1>
|
||||
<table>
|
||||
<tbody>
|
||||
{% for row in rows %}
|
||||
<tr>
|
||||
{% for cell in row %}
|
||||
<td>{{ cell }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
Loading…
Add table
Reference in a new issue