mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
OpenPGP - part 3 - unstable (#53)
This commit is contained in:
parent
0bb69d4494
commit
3d3ad8d459
14 changed files with 456 additions and 206 deletions
|
|
@ -194,15 +194,15 @@
|
|||
|
||||
<span class="i18n text" data-i18n-text="MESSAGE/BUTTON_NOTIFY_READ_RECEIPT"></span>
|
||||
</div>
|
||||
<div class="pgpSigned" data-bind="visible: message() && message().isPgpSigned(), click: function() {}">
|
||||
<div class="pgpSigned" data-bind="visible: message() && message().isPgpSigned(), click: receivePrivateKey">
|
||||
<i class="icon-lock"></i>
|
||||
|
||||
PGP signed
|
||||
PGP signed (click to verify)
|
||||
</div>
|
||||
<div class="pgpEncrypted" data-bind="visible: message() && message().isPgpEncrypted(), click: function() {}">
|
||||
<div class="pgpEncrypted" data-bind="visible: message() && message().isPgpEncrypted(), click: receivePrivateKey">
|
||||
<i class="icon-lock"></i>
|
||||
|
||||
PGP encrypted
|
||||
PGP encrypted (click to decrypt)
|
||||
</div>
|
||||
<div class="attachmentsPlace" data-bind="visible: message() && message().hasVisibleAttachments()">
|
||||
<ul class="attachmentList" data-bind="foreach: message() ? message().attachments() : []">
|
||||
|
|
|
|||
34
rainloop/v/0.0.0/app/templates/Views/PopupsPgpKey.html
Normal file
34
rainloop/v/0.0.0/app/templates/Views/PopupsPgpKey.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<div class="popups">
|
||||
<div class="modal hide b-pgp-key g-ui-user-select-none" data-bind="modal: modalVisibility">
|
||||
<div>
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-bind="command: cancelCommand">×</button>
|
||||
<h3>
|
||||
PGP
|
||||
</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-horizontal">
|
||||
<br />
|
||||
<div class="control-group">
|
||||
Passphrase
|
||||
<br />
|
||||
<input class="uiInput inputPassphrase" type="password" data-bind="value: passphrase" />
|
||||
</div>
|
||||
<div class="control-group">
|
||||
Secret key
|
||||
<br />
|
||||
<textarea class="input-xxlarge inputKey" data-bind="value: key" rows="10" spellcheck="false"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a class="btn buttonAction" data-bind="command: sendPgp">
|
||||
<i class="icon-lock"></i>
|
||||
|
||||
Decrypt
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue