2021-03-01 07:01:34 -07:00
|
|
|
extends templates/base.pug
|
|
|
|
|
|
|
|
block js
|
|
|
|
script(type='application/javascript' src='/static/openpgp.min.js' charset='utf-8')
|
|
|
|
script(type='application/javascript' src='/static/doip.js' charset='utf-8')
|
2021-03-30 08:22:03 -06:00
|
|
|
script(type='application/javascript' src='/static/dialog-polyfill.js' charset='utf-8')
|
2021-03-01 07:01:34 -07:00
|
|
|
script(type='application/javascript' src='/static/scripts.js' charset='utf-8')
|
|
|
|
|
2021-03-30 08:22:03 -06:00
|
|
|
block css
|
|
|
|
link(rel='stylesheet' href='/static/dialog-polyfill.css')
|
|
|
|
|
2021-03-01 07:01:34 -07:00
|
|
|
block content
|
2021-03-29 09:08:48 -06:00
|
|
|
section.profile.narrow
|
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-03-01 07:01:34 -07:00
|
|
|
|
2021-04-05 07:51:43 -06:00
|
|
|
dialog#dialog--encryptMessage
|
|
|
|
div
|
|
|
|
form(method='post')
|
|
|
|
textarea.input(name='message' placeholder='Message')
|
|
|
|
input(type='submit' name='submit' value='ENCRYPT MESSAGE')
|
|
|
|
textarea.output(name='message' placeholder='Waiting for input' readonly)
|
|
|
|
form(method="dialog")
|
|
|
|
input(type="submit" value="Close")
|
|
|
|
|
|
|
|
dialog#dialog--verifySignature
|
|
|
|
div
|
|
|
|
form(method='post')
|
|
|
|
textarea.input(name='signature' placeholder='Signature')
|
|
|
|
input(type='submit' name='submit' value='VERIFY SIGNATURE')
|
|
|
|
textarea.output(name='message' placeholder='Waiting for input' readonly)
|
|
|
|
form(method="dialog")
|
|
|
|
input(type="submit" value="Close")
|
|
|
|
|
2021-03-30 08:22:03 -06:00
|
|
|
#profileDialogs
|
|
|
|
|
2021-01-07 08:44:33 -07:00
|
|
|
if (mode == 'sig')
|
2021-04-05 07:51:43 -06:00
|
|
|
#profileSigInput.card.card--form
|
|
|
|
form#formGenerateSignatureProfile(method='post')
|
2021-03-01 07:01:34 -07:00
|
|
|
label(for="plaintext_input") Please enter the raw profile signature below and press "Generate profile".
|
2021-01-07 08:44:33 -07:00
|
|
|
textarea#plaintext_input(name='plaintext_input')
|
2021-03-01 07:01:34 -07:00
|
|
|
input(type='submit', name='submit', value='Generate profile')
|
2021-03-29 09:08:48 -06:00
|
|
|
|
2021-03-01 07:01:34 -07:00
|
|
|
#profileHeader.card.card--profileHeader
|
|
|
|
|
|
|
|
#profileProofs.card
|
2021-01-07 08:44:33 -07:00
|
|
|
if (mode == 'sig')
|
2021-03-01 07:01:34 -07:00
|
|
|
//- p Waiting for input…
|
2021-01-07 08:44:33 -07:00
|
|
|
else
|
2021-03-29 09:08:48 -06:00
|
|
|
p Loading keys & verifying proofs…
|