mirror of https://git.48k.eu/ogcp
Add templates for clients, hardware, restore, session and setup
These templates were not added in previous commits.multi-ogserver
parent
8fa8ca3f42
commit
282984d0ac
|
@ -0,0 +1,10 @@
|
|||
{% extends 'base.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
method='post',
|
||||
button_map={'create': 'primary'}) }}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,28 @@
|
|||
{% extends 'base.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">{{ _('Item') }}</th>
|
||||
<th scope="col">{{ _('Type') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in hardware %}
|
||||
<tr>
|
||||
<td>{{ item['description'] }}</td>
|
||||
<td>{{ item['type'] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_hardware'),
|
||||
method='post',
|
||||
button_map={'refresh': 'primary'}) }}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,11 @@
|
|||
{% extends 'base.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_image_restore'),
|
||||
method='post',
|
||||
button_map={'restore': 'primary'}) }}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,11 @@
|
|||
{% extends 'base.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_session'),
|
||||
method='post',
|
||||
button_map={'run': 'primary'}) }}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,13 @@
|
|||
{% extends 'base.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% for form in forms %}
|
||||
{{ wtf.quick_form(form,
|
||||
method='post',
|
||||
button_map={'modify': 'primary',
|
||||
'delete': 'danger'}) }}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in New Issue