From d6580d01cfbca584e1ac9edcccf0102cf4580839 Mon Sep 17 00:00:00 2001 From: Stefan Schwarz Date: Sat, 22 Aug 2020 10:51:35 +0200 Subject: [PATCH] pretty --- templates/index.html | 132 +++++++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 61 deletions(-) diff --git a/templates/index.html b/templates/index.html index cd5ba64..247bb93 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,16 +13,17 @@
-
-

macnickenson

-
+
+

mac4nick

+

grant your nickname a few mac addresses

+
{% for message in messages %}
+ > {{ message.1 }}
{% endfor %} @@ -38,45 +39,54 @@ {% for device in my %} -
- - {{ device.macaddr }} - {% if device.present %} - on - {% endif %} - - - - - - - + + + + + + - - -
- - -
- -
+ {{ device.privacy.selected(crate::db::PrivacyLevel::DontLog) }} + >Dont Log + + + +
+ + +
+ + {% endfor %} @@ -85,37 +95,37 @@

Unregistred Devices:

- - - - - + + + + + {% for device in unassinged %} - - - - - + + + + - - + + + + {% endfor %}
MAC-AddressIP-AddressDescriptionPrivacyActionsMAC-AddressIP-AddressDescriptionPrivacyActions
- {{ device.macaddr }} - - {{ device.ip() }} - - -
+ {{ device.macaddr }} + + {{ device.ip() }} + + + - - -
+ +