feat: Add basic frontend
This commit is contained in:
parent
783d9b6d34
commit
34e13c5643
14 changed files with 7620 additions and 15 deletions
29
fegen/template/_main_layout.html
Normal file
29
fegen/template/_main_layout.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{% extends "_base_template.html" %} {% block body %}
|
||||
<div id="site-body" class="container-fluid">
|
||||
<div class="row flex-nonwrap">
|
||||
<div class="sidenav">{% block sidenav %}{% endblock sidenav %}</div>
|
||||
<div class="main">
|
||||
<h1>Baza Zasobów Hackerspace Trójmiasto</h1>
|
||||
<a href="/refresh"><button id="refresh"><i class="fa fa-arrows-rotate"></i> Refresh</button></a>
|
||||
<table id="dashboardTable">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for cell in t_header %}
|
||||
<td>{{cell}}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in t_body %}
|
||||
<tr>
|
||||
{% for cell in row %}
|
||||
<td>{{cell}}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock body %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue