blob: 079ed306e6e8ea94c986b51407b64efcd773d584 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{% extends "main/base.html" %}
{% block title %}Staff | Tables{% endblock %}
{% block og_title %}Staff | Tables{% endblock %}
{% block og_description %}Table management and editor{% endblock %}
{% block content %}
<div class="uk-container uk-section uk-container-small">
<a class="uk-button uk-button-default" href="{{ url_for("staff.staff_index") }}"><i class="uk-icon fa-fw fas fa-arrow-left"></i> Back</a>
<h1 class="uk-title uk-text-center">
Table manager
</h1>
<p>
Click one of the tables below to manage its data:
</p>
<ul>
{% for table, obj in tables.items() %}
{% if obj.locked %}
<li>
<a href="{{ url_for("staff.tables.table", table=table, page=1) }}" title="Table locked for editing">
<i class="uk-icon fa-fw fas fa-lock"></i> {{ table }}
</a>
</li>
{% else %}
<li>
<a href="{{ url_for("staff.tables.table", table=table, page=1) }}">
<i class="uk-icon fa-fw fas fa-pencil"></i> {{ table }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% endblock %}
|