diff options
Diffstat (limited to 'web/kbn_templates/modems.j2')
-rw-r--r-- | web/kbn_templates/modems.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web/kbn_templates/modems.j2 b/web/kbn_templates/modems.j2 new file mode 100644 index 0000000..06339f8 --- /dev/null +++ b/web/kbn_templates/modems.j2 @@ -0,0 +1,16 @@ +{% extends "base.j2" %} + +{% block content %} +{{ breadcrumbs([{'text': 'Модемы'}]) }} + +{% for modem in modems %} +<h6 class="text-primary{% if not loop.first %} mt-4{% endif %}">{{ modems.getfullname(modem) }}</h6> +<div id="modem_data_{{ modem }}"> + {% include "loading.j2" %} +</div> +{% endfor %} +{% endblock %} + +{% block js %} +ModemStatus.init({{ modems.getkeys()|tojson }}); +{% endblock %} |