This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new 2083697 Improve the key management navigation, fixing #21
2083697 is described below
commit 20836976b130e4269e7378e7e06d097a8b18c299
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Apr 9 14:45:32 2025 +0100
Improve the key management navigation, fixing #21
---
atr/templates/includes/sidebar.html | 13 ++-----------
atr/templates/keys-review.html | 12 ++++++++++--
2 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/atr/templates/includes/sidebar.html
b/atr/templates/includes/sidebar.html
index e073caa..bc45974 100644
--- a/atr/templates/includes/sidebar.html
+++ b/atr/templates/includes/sidebar.html
@@ -78,20 +78,11 @@
</li>
</ul>
- <h3>User management</h3>
+ <h3>Key management</h3>
<ul>
<li>
<i class="fa-solid fa-key"></i>
- <a href="{{ as_url(routes.keys.review) }}">Your signing keys</a>
- </li>
- <li>
- <a href="{{ as_url(routes.keys.add) }}">Add your GPG key</a>
- </li>
- <li>
- <a href="{{ as_url(routes.keys.upload) }}">Upload a KEYS file</a>
- </li>
- <li>
- <a href="{{ as_url(routes.keys.ssh_add) }}">Add your SSH key</a>
+ <a href="{{ as_url(routes.keys.review) }}">Your public keys</a>
</li>
</ul>
diff --git a/atr/templates/keys-review.html b/atr/templates/keys-review.html
index baefb3a..addee1a 100644
--- a/atr/templates/keys-review.html
+++ b/atr/templates/keys-review.html
@@ -1,7 +1,7 @@
{% extends "layouts/base.html" %}
{% block title %}
- Your keys ~ ATR
+ Your public keys ~ ATR
{% endblock title %}
{% block description %}
@@ -9,7 +9,7 @@
{% endblock description %}
{% block content %}
- <h1>Your keys</h1>
+ <h1>Your public keys</h1>
<p class="intro">Review your public keys used for signing release
artifacts.</p>
<div class="user-info">
@@ -18,6 +18,14 @@
</p>
</div>
+ <div class="d-flex gap-4">
+ <a href="{{ as_url(routes.keys.add) }}" class="btn
btn-outline-primary">Add a GPG key</a>
+ <a href="{{ as_url(routes.keys.upload) }}"
+ class="btn btn-outline-primary">Upload a KEYS file</a>
+ <a href="{{ as_url(routes.keys.ssh_add) }}"
+ class="btn btn-outline-primary">Add an SSH key</a>
+ </div>
+
{% if user_keys %}
<div class="mb-5 p-4 bg-light rounded">
<div class="d-grid gap-4">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]