Small UI updates. (#3361)

* Delete unused htmx javascript files.

* Consistently mention applications instead of apps.

* Small formatting change for enrol device.

* Update phrasing in credentials page.
This commit is contained in:
George Wu 2025-01-19 20:52:53 -08:00 committed by GitHub
parent 27cc31dace
commit b03f842728
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 16 additions and 3939 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,9 +1,9 @@
(% extends "base_htmx_with_nav.html" %)
(% block title %)Apps(% endblock %)
(% block title %)Applications(% endblock %)
(% block head %)
(% endblock %)
(% block main %)
(( apps_partial|safe ))
(% endblock %)
(% endblock %)

View file

@ -1,6 +1,6 @@
<main class="container-lg">
<div>
<h2>Applications list</h2>
<h2>Applications</h2>
</div>
<hr />
(% if apps.is_empty() %)

View file

@ -33,9 +33,10 @@
(% match warning %)
(% when CURegWarning::MfaRequired %)
Multi-Factor Authentication is required for your account. Either
add TOTP or remove your password in favour of passkeys to
submit.
Multi-Factor Authentication is required for your account. Delete
the generated password and set up either a passkey (recommended)
or password and two-factor authentication (TOTP) to save
changes.
(% when CURegWarning::PasskeyRequired %)
Passkeys are required for your account.
(% when CURegWarning::AttestedPasskeyRequired %)
@ -44,10 +45,10 @@
Attested Resident Keys are required for your account.
(% when CURegWarning::WebauthnAttestationUnsatisfiable %)
A webauthn attestation policy conflict has occurred and you will
not be able to save your credentials
not be able to save your credentials.
(% when CURegWarning::Unsatisfiable %)
An account policy conflict has occurred and you will not be able
to save your credentials
to save your credentials.
(% endmatch %)
(% if is_danger %)

View file

@ -9,9 +9,11 @@ Enrol Another Device
<div id="intentInfo">
<div>((qr_code_svg|safe))</div>
<ul>
<li>Url: <code>((uri|safe))</code></li>
<li>Secret: <code>(( secret ))</code></li>
</ul>
<dl>
<dt>URL</dt>
<dd><code>((uri|safe))</code></dd>
<dt>Secret</dt>
<dd><code>(( secret ))</code></dd>
</dl>
</div>
(% endblock %)

View file

@ -24,7 +24,7 @@
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li>
<a class="nav-link" href=((Urls::Apps))>
<span data-feather="file"></span>Apps</a>
<span data-feather="file"></span>Applications</a>
</li>
<li>
<a class="nav-link" href=((Urls::Profile))>