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 William Brown
parent 013661bbf4
commit 855e45bbb7
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" %) (% extends "base_htmx_with_nav.html" %)
(% block title %)Apps(% endblock %) (% block title %)Applications(% endblock %)
(% block head %) (% block head %)
(% endblock %) (% endblock %)
(% block main %) (% block main %)
(( apps_partial|safe )) (( apps_partial|safe ))
(% endblock %) (% endblock %)

View file

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

View file

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

View file

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

View file

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