diff --git a/templates/index.html b/templates/index.html
index eb6fd75..10ed3b6 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,129 +1,130 @@
-
-
+
+
ANABASIS CLIENTS
-
+
-
-
-
-/|\ Anabasis Clients
-STATUS
-
-
+
+
+
+
/|\ Anabasis Clients
+
STATUS
+
+
{{status.description}}
+
+
{{status.text}}
+
{{status.level}}
-
{{status.text}}
-
{{status.level}}
-
-
- Since:
- {% if last_change %}
- {{last_change['ts'].strftime("%c")}}
- {% if status.level == 0 %}({{last_change.leases | map(attribute='display') | join(', ')}}){% endif %}
- {% else %}
- forever?
- {% endif %}
-
-
Current clients
-
{{now.strftime("%c")}}
-
-
+
+ Since: {% if last_change %} {{last_change['ts'].strftime("%c")}} {% if
+ status.level == 0 %}({{last_change.leases | map(attribute='display') |
+ join(', ')}}){% endif %} {% else %} forever? {% endif %}
+
+ Current clients
+ {{now.strftime("%c")}}
+
+
MAC |
hostname |
IP address |
-
- {% for lease in leases %}
-
+
+ {% for lease in leases %}
+
{{lease.mac}} |
{{lease.hostname or "???"}} |
{{lease.ip}} |
-
- {% endfor %}
-
+
+ {% endfor %}
+
-{%if internal %}
+ {%if internal %}
Log
- {% for entry in log %}
-
- {{entry.ts.strftime("%c")}} |
-
- {% if entry.state %}
- IN
- {% else %}
- OUT
- {% endif %}
- |
-
- {{entry.lease.display}}
- |
-
- {% endfor %}
+ {% for entry in log %}
+
+ {{entry.ts.strftime("%c")}} |
+
+ {% if entry.state %}
+ IN
+ {% else %}
+ OUT
+ {% endif %}
+ |
+ {{entry.lease.display}} |
+
+ {% endfor %}
Leaderboard
- {% for entry in leaderboard %}
- - {{entry.name}} ({{entry.total}})
- {% endfor %}
+ {% for entry in leaderboard %}
+ - {{entry.name}} ({{entry.total}})
+ {% endfor %}
-{% endif %}
-
+ {% endif %}
+