diff --git a/hsman/app/templates/node.html b/hsman/app/templates/node.html index 9359f6a..bcc3c65 100644 --- a/hsman/app/templates/node.html +++ b/hsman/app/templates/node.html @@ -1,24 +1,22 @@ {% extends "base.html" %} {% block content %} -
-
- name -
-
- {{ node.givenName }} - - - +

+ + {{node.givenName}} + + + + -

-
+ +
+

-
+
registered
@@ -29,7 +27,7 @@
-
+
expiry
@@ -45,8 +43,8 @@
-
- user +
+ owner
{{ node.user.name }} @@ -66,14 +64,9 @@
{% endfor %}

- +
tags
-
tags
-
-
-
-
announced @@ -91,7 +84,7 @@
-
+
forced
@@ -109,14 +102,10 @@

-
-
-
keys
-
-
+
keys
-
+
machineKey
@@ -125,7 +114,7 @@
-
+
nodeKey
@@ -134,7 +123,7 @@
-
+
discoKey
@@ -144,36 +133,32 @@

-
-
-
routes - {% if isExitNode %} - Exit Node - {% endif %} -
-
-
+
routes +{% if isExitNode %} +Exit Node +{% endif %} +
{% if routes %}
-
+
prefix
-
+
enabled
-
+
primary
{% for route in routes | sort(attribute='prefix') %}
-
+
{{ route.prefix }}
-
+
{{ route.enabled | fancyBool | safe }}
-
+
{{ route.isPrimary | fancyBool | safe }}
diff --git a/hsman/app/templates/nodes.html b/hsman/app/templates/nodes.html index 5453ad1..4f91675 100644 --- a/hsman/app/templates/nodes.html +++ b/hsman/app/templates/nodes.html @@ -5,6 +5,9 @@ {% endblock %} {% block content %} +

nodes

+
+

diff --git a/hsman/app/templates/routes.html b/hsman/app/templates/routes.html index e1f998c..73d2d86 100644 --- a/hsman/app/templates/routes.html +++ b/hsman/app/templates/routes.html @@ -12,14 +12,14 @@

+
- + @@ -56,10 +51,11 @@
name  last connect online

pre auth keys
- +{% if preauthKeys %} +
- + @@ -72,8 +68,8 @@
name  created expiration attributes {{ key.key[:10] }}… + title="click to copy" + class="pak_copy">{{ key.key }}
+{% else %} +
+
+

No preauth keys

+
+
+{% endif %} {% endblock %} diff --git a/hsman/app/templates/users.html b/hsman/app/templates/users.html index cd3562a..8574ce0 100644 --- a/hsman/app/templates/users.html +++ b/hsman/app/templates/users.html @@ -5,6 +5,9 @@ {% endblock %} {% block content %} +

users

+
+