keyoxide-web/views/profile.pug

41 lines
1.5 KiB
Text
Raw Normal View History

2020-08-07 17:06:08 -06:00
doctype html
head
meta(charset='utf-8')
meta(name='viewport' content='width=device-width, initial-scale=1')
link(rel='shortcut icon' href='/favicon.svg')
title Keyoxide
link(rel='stylesheet' href='/static/styles.css')
main.container.container--profile
.content
2021-01-10 07:11:44 -07:00
noscript
p Keyoxide requires JavaScript to function.
2020-08-07 17:06:08 -06:00
span#profileUid(style='display: none;') #{uid}
2021-01-05 05:20:06 -07:00
span#profileServer(style='display: none;') #{server}
2020-08-07 17:06:08 -06:00
span#profileMode(style='display: none;') #{mode}
2021-01-07 08:44:33 -07:00
if (mode == 'sig')
#profileSigInput
form#form-generate-signature-profile(method='post')
p Please enter the raw profile signature below and press "Generate profile".
textarea#plaintext_input(name='plaintext_input')
input(type='submit', name='submit', value='Generate profile').bigBtn
2020-08-07 17:06:08 -06:00
#profileHeader
img#profileAvatar(src='/static/img/avatar_placeholder.png' alt='avatar' style='display: none')
p#profileName
#profileData
2021-01-07 08:44:33 -07:00
if (mode == 'sig')
p Waiting for input…
else
p Loading keys & verifying proofs…
2020-08-07 17:06:08 -06:00
footer
p
2020-08-14 12:16:14 -06:00
| Generated by
2020-08-07 17:06:08 -06:00
a(href='/') Keyoxide
2020-08-14 12:16:14 -06:00
| (
2020-08-14 17:25:00 -06:00
a(href="https://codeberg.org/keyoxide/web/releases")= settings.keyoxide_version
2020-08-14 12:16:14 -06:00
| ).
2020-08-07 17:06:08 -06:00
2021-01-03 10:38:56 -07:00
script(type='application/javascript' src='/static/openpgp.min.js' charset='utf-8')
script(type='application/javascript' src='/static/doip.js' charset='utf-8')
script(type='application/javascript' src='/static/scripts.js' charset='utf-8')