42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
{{ script('maps.js') }}
|
|
<br>
|
|
<img alt="VVF" src="./resources/images/owner.png" width="150"
|
|
style="display: block; margin-left: auto; margin-right: auto;">
|
|
<br>
|
|
<p style="text-align: center;">
|
|
<a id='add' class="pjax_disable" href="edit_training.php?add">{{ 'Add training'|t }}</a>
|
|
</p>
|
|
<br>
|
|
<div id="list" class="table-responsive">
|
|
<table id="table" class="table table-striped table-bordered dt-responsive nowrap">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ 'Date'|t }}</th>
|
|
<th>{{ 'Name'|t }}</th>
|
|
<th>{{ 'Start time'|t }}</th>
|
|
<th>{{ 'End time'|t }}</th>
|
|
<th>{{ 'Chief'|t }}</th>
|
|
<th>{{ 'Crew'|t }}</th>
|
|
<th>{{ 'Place'|t }}</th>
|
|
<th>{{ 'Notes'|t }}</th>
|
|
{% if option('training_edit') %}
|
|
<th>{{ 'Edit'|t }}</th>
|
|
{% endif %}
|
|
{% if option('training_remove') %}
|
|
<th>{{ 'Remove'|t }}</th>
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table_body">
|
|
</tbody>
|
|
</table>
|
|
<script{% if enable_js_nonce %} nonce="{{ nonce }}"{% endif %}>
|
|
allertaJS.main.loadTable({tablePage: "trainings", interval: 120000});
|
|
</script>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
{% endblock %} |