mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% import 'admin/static.html' as admin_static with context%}
|
|
{% import 'admin/lib.html' as lib with context %}
|
|
|
|
{% block body %}
|
|
<div class="modal-header">
|
|
{% block header_text %}
|
|
<h3>{{ _gettext('View Record') + ' #' + request.args.get('id') }}</h3>
|
|
{% endblock %}
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
{% block details_search %}
|
|
<div class="form-inline fa_filter_container col-lg-6">
|
|
<label for="fa_filter">{{ _gettext('Filter') }}</label>
|
|
<input id="fa_filter" type="text" class="ml-3 form-control">
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block details_table %}
|
|
<table class="table table-hover table-bordered searchable">
|
|
{% for c, name in details_columns %}
|
|
<tr>
|
|
<td>
|
|
<b>{{ name }}</b>
|
|
</td>
|
|
<td>
|
|
{{ get_value(model, c) }}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block tail %}
|
|
<script src="{{ admin_static.url(filename='admin/js/details_filter.js', v='1.0.0') }}"></script>
|
|
<script src="{{ admin_static.url(filename='admin/js/bs4_modal.js', v='1.0.0') }}"></script>
|
|
{% endblock %}
|