mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
feat: add Keyoxide profile QR button
This commit is contained in:
parent
be97ff4246
commit
b0a93dcf91
3 changed files with 7 additions and 5 deletions
|
@ -69,6 +69,7 @@ more information on this, and how to apply and follow the GNU AGPL, see <https:/
|
|||
|
||||
/* DIALOGS */
|
||||
dialog {
|
||||
max-width: 480px;
|
||||
word-wrap: anywhere;
|
||||
background-color: var(--section-background-color);
|
||||
border: 0;
|
||||
|
@ -80,11 +81,6 @@ dialog {
|
|||
}
|
||||
}
|
||||
|
||||
dialog>div {
|
||||
margin: 16px;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
dialog form[method="Dialog"] {
|
||||
margin: 1em 0 0 !important;
|
||||
}
|
||||
|
|
|
@ -110,6 +110,10 @@ a.button {
|
|||
}
|
||||
}
|
||||
|
||||
button {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
button.inline {
|
||||
min-height: auto;
|
||||
margin: 0;
|
||||
|
|
|
@ -131,6 +131,8 @@ block content
|
|||
unless index == data.primaryPersonaIndex
|
||||
+generatePersona(persona, false)
|
||||
h2 Profile
|
||||
if data.verifiers.length > 0
|
||||
button(onClick=`showQR('${data.verifiers[0].url}', 'profile_verifier_url')` aria-label='Show profile ID QR') Keyoxide profile QR
|
||||
button(onClick=`showQR('${data.identifier}', 'profile_identifier')` aria-label='Show profile ID QR') Profile ID QR
|
||||
|
||||
section
|
||||
|
|
Loading…
Reference in a new issue