diff --git a/admin-web/static/app.js b/admin-web/static/app.js index 39f07d7..e3c9e19 100644 --- a/admin-web/static/app.js +++ b/admin-web/static/app.js @@ -1153,7 +1153,9 @@ function renderUsers() { return ` - ${escapeHtml(user.name)}${user.main ? ` ${escapeHtml(t("main"))}` : ""} +
diff --git a/admin-web/static/index.html b/admin-web/static/index.html index 60749ea..6405d90 100644 --- a/admin-web/static/index.html +++ b/admin-web/static/index.html @@ -400,6 +400,6 @@
- + diff --git a/admin-web/static/styles.css b/admin-web/static/styles.css index e7a0a00..9a589e5 100644 --- a/admin-web/static/styles.css +++ b/admin-web/static/styles.css @@ -875,6 +875,25 @@ td small { white-space: nowrap; } +.key-name-button { + min-height: auto; + padding: 0; + border-radius: 0; + background: transparent; + color: var(--text); + box-shadow: none; + display: inline-flex; + align-items: baseline; + gap: 5px; + text-align: left; +} + +.key-name-button:hover { + color: var(--blue); + transform: none; + box-shadow: none; +} + .mini-actions { justify-content: flex-start; flex-wrap: nowrap; diff --git a/tests/test_admin_features.py b/tests/test_admin_features.py index 2940a8a..859270e 100644 --- a/tests/test_admin_features.py +++ b/tests/test_admin_features.py @@ -136,6 +136,7 @@ class AdminFeatureTests(unittest.TestCase): self.assertNotIn('class="actions"', app_js) self.assertIn('class="action-buttons"', app_js) + self.assertIn('class="key-name-button"', app_js) self.assertNotIn("td.actions", styles) self.assertRegex(index, r'[\s\S]*?')