From 8aa9a1beb82ce6d74d22bd9bd1f92900bf096691 Mon Sep 17 00:00:00 2001 From: Idowu Odesanmi Date: Thu, 14 Apr 2022 01:17:40 +0100 Subject: [PATCH] #109 Improve SSH management tab Signed-off-by: Idowu Odesanmi --- zezere/templates/portal/sshkeys.html | 84 +++++++++++++++------------- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/zezere/templates/portal/sshkeys.html b/zezere/templates/portal/sshkeys.html index 80e2984..ec407e4 100644 --- a/zezere/templates/portal/sshkeys.html +++ b/zezere/templates/portal/sshkeys.html @@ -7,46 +7,50 @@ {% block content %}
-

Your SSH Keys:

-{% if not sshkeys %} -

No SSH key saved.

-{% else %} - - - - - - - - {% for sshkey in sshkeys %} - - - - +

Saved SSH Keys

+
+ {% if not sshkeys %} +

No SSH key saved.

+ {% else %} + {% for sshkey in sshkeys %} +
+
+
+

🗝

+
+
+ {{ sshkey.title }}
+ {{ sshkey.key }}
+ + Added on {{ sshkey.date }} +
+
+
+ {% csrf_token %} + + + +
-
- - {% endfor %} -
TitleKeyDateActions
{{ sshkey.title }}{{ sshkey.key }}{{ sshkey.date }} -
- {% csrf_token %} - - -
-
-{% endif %} -

-
-
-

Add a new key:

-
- {% csrf_token %} - Title:
-
- Key contents:
-
- -
-
+
+ + + {% endfor %} + {% endif %} + +
+

Add new key

+
+
+ {% csrf_token %} + Title:
+
+
+ Key contents:
+
+
+ +
+
{% endblock %}