aboutsummaryrefslogtreecommitdiffstats
path: root/templates/home.html
blob: 30c328ea44834efb6b6adb409957cd7f493734b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% import "lib.html" as lib %}
{% extends "base.html" %}
{% block body %}
<h3>System</h3>

<table class="table table-condensed">
 <tr>
  <th>Host Name
  <td><code>{{ status.system.hostname }}</code>
 <tr>
  <th>Current Time
  <td><code>{{ status.system.current_time }}</code>
 <tr>
  <th>System Uptime
  <td><code>{{ status.system.uptime }}</code>
</table>

<h3>WAN</h3>
{% if not status.wan %}
Upstream ethernet interface hardware not detected at all!
{% else %}
{{ lib.ifstatus(status.wan) }}
{% endif %}

<h3>LAN</h3>
{% if not status.lan %}
Local network ethernet interface hardware not detected at all!
{% else %}
{{ lib.ifstatus(status.lan) }}
{% endif %}

<h3>Wireless</h3>
{% if not status.wireless %}
Wireless interface hardware not detected at all!
{% else %}
{{ lib.ifstatus(status.wireless) }}
{% endif %}

{% endblock %}