-
- {% if pubkey['revoked'] != 0 %}
- revoked key -
- {% endif %}
+
+ ({{ pubkey['id'] }}): {{ pubkey['key_name'] }}
+ {% if pubkey['revoked'] != 0 %}
+ this pubkey was revoked manually
+ {% endif %}
{% if g.user['id'] == pubkey['user_id'] %}
- Edit
- {% if pubkey['deleted'] == 0 %}
- Delete
- Delete final
- {% endif %}
- {% if pubkey['revoked'] == 0 %}
- Revoke
- {% endif %}
+ Edit
+ {% if pubkey['deleted'] == 0 %}
+ {% endif %}
+ {% if pubkey['revoked'] == 0 %}
+
+
+
+ {% else %}
+ Delete
+ {% endif %}
{% endif %}
- {% if user['admin'] == 1 %}
- owner: {{ pubkey['username']}}
- {% endif %}
- fingerprint: {{ pubkey['fingerprint'] }}
-
- {{ request.form['ssh_pubkey'] or pubkey['ssh_pubkey'] }}
+
+
+ {% if user['admin'] == 1 %}
+ owner: {{ pubkey['username']}}
+ {% endif %}
+ fingerprint: {{ pubkey['fingerprint'] }}
+ pubkey: {{ request.form['ssh_pubkey'] or pubkey['ssh_pubkey'] }}
+
registered on {{ pubkey['created'].strftime('%Y-%m-%d') }}
-
-
diff --git a/certweb/templates/pubkeys/update.html b/certweb/templates/pubkeys/update.html
index b88f803..e40f6bf 100644
--- a/certweb/templates/pubkeys/update.html
+++ b/certweb/templates/pubkeys/update.html
@@ -5,6 +5,9 @@
{% endblock %}
{% block content %}
+
+
+
-
-
-
-
-
{% endblock %}
-
registered on {{ pubkey['created'].strftime('%Y-%m-%d') }}
- --
-
-
- - -