summaryrefslogtreecommitdiff
path: root/web/kbn_templates/modem_data.j2
diff options
context:
space:
mode:
authorEvgeny Sorokin <me@ch1p.io>2024-01-16 02:05:00 +0300
committerEvgeny Sorokin <me@ch1p.io>2024-01-16 02:05:00 +0300
commitda5db8bc280deab0e2081f39d2f32aabb2372afe (patch)
tree913c2f8c985b16b550d0ec58ba3ca469bf5a43fd /web/kbn_templates/modem_data.j2
parent7058d0f5063dc9b065248d0a906cf874788caecf (diff)
wip
Diffstat (limited to 'web/kbn_templates/modem_data.j2')
-rw-r--r--web/kbn_templates/modem_data.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/web/kbn_templates/modem_data.j2 b/web/kbn_templates/modem_data.j2
new file mode 100644
index 0000000..7f97b77
--- /dev/null
+++ b/web/kbn_templates/modem_data.j2
@@ -0,0 +1,13 @@
+{% with level=modem_data.level %}
+ <span class="text-secondary">Сигнал:</span> {% include 'signal_level.j2' %}<br>
+{% endwith %}
+
+<span class="text-secondary">Тип сети:</span> <b>{{ modem_data.type }}</b><br>
+<span class="text-secondary">RSSI:</span> {{ modem_data.rssi }}<br/>
+{% if modem_data.sinr %}
+<span class="text-secondary">SINR:</span> {{ modem_data.sinr }}<br/>
+{% endif %}
+<span class="text-secondary">Время соединения:</span> {{ modem_data.connected_time }}<br>
+<span class="text-secondary">Принято/передано:</span> {{ modem_data.downloaded }} / {{ modem_data.uploaded }}
+<br>
+<a href="/modems/verbose.cgi?id={{ modem }}">Подробная информация</a>