Actions handle error decrypting
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
access to this note.
|
||||
|
||||
|
||||
.modal.medium-text{"ng-if" => "renderData.showRenderModal", "ng-click" => "$event.stopPropagation();"}
|
||||
.modal.medium-text.medium{"ng-if" => "renderData.showRenderModal", "ng-click" => "$event.stopPropagation();"}
|
||||
.content
|
||||
.sn-component
|
||||
.panel
|
||||
@@ -29,4 +29,4 @@
|
||||
%a.close-button.info{"ng-click" => "renderData.showRenderModal = false; $event.stopPropagation();"} Close
|
||||
.content.selectable
|
||||
%h2 {{renderData.title}}
|
||||
%p.normal{"style" => "white-space: pre-wrap; font-family: monospace; font-size: 16px;"} {{renderData.text}}
|
||||
%p.normal{"style" => "white-space: pre-wrap; font-size: 16px;"} {{renderData.text}}
|
||||
|
||||
18
app/assets/templates/directives/input-modal.html.haml
Normal file
18
app/assets/templates/directives/input-modal.html.haml
Normal file
@@ -0,0 +1,18 @@
|
||||
.modal.small.auto-height
|
||||
.content
|
||||
.sn-component
|
||||
.panel
|
||||
.header
|
||||
%h1.title {{title}}
|
||||
%a.close-button{"ng-click" => "dismiss()"} Close
|
||||
.content
|
||||
.panel-section
|
||||
%p.panel-row {{message}}
|
||||
.panel-row
|
||||
.panel-column.stretch
|
||||
%form{"ng-submit" => "submit()"}
|
||||
%input.form-control{:type => '{{type}}', "ng-model" => "formData.input", "placeholder" => "{{placeholder}}", "sn-autofocus" => "true", "should-focus" => "true"}
|
||||
|
||||
.footer
|
||||
%a.right{"ng-click" => "submit()"}
|
||||
Submit
|
||||
@@ -48,7 +48,7 @@
|
||||
%div{"ng-if" => "step == 2"}
|
||||
%p.panel-row
|
||||
As a result of this process, your encryption keys will change.
|
||||
Any devices on which you use Standard Notes will need to end their session. After this process completes, you'll be asked to sign back in.
|
||||
Any devices on which you use Standard Notes will need to end their session. After this process completes, you will be asked to sign back in.
|
||||
|
||||
%p.bold.panel-row.info-i Please sign out of all applications (excluding this one), including:
|
||||
%ul
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
.right
|
||||
|
||||
.item{"ng-if" => "ctrl.securityUpdateAvailable == true", "ng-click" => "ctrl.openSecurityUpdate()"}
|
||||
.item{"ng-if" => "ctrl.securityUpdateAvailable", "ng-click" => "ctrl.openSecurityUpdate()"}
|
||||
%span.success.label Security update available.
|
||||
|
||||
.item{"ng-if" => "ctrl.newUpdateAvailable == true", "ng-click" => "ctrl.clickedNewUpdateAnnouncement()"}
|
||||
|
||||
Reference in New Issue
Block a user