Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Distinguish input and output in sign/verify message - Closes #150 #151

Merged
merged 1 commit into from
Apr 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/components/sign-verify/sign-message.pug
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ div
md-input-container.md-block
label Message
textarea(name='message', ng-model='$ctrl.message', ng-change='$ctrl.sign()', md-autofocus)
div
div(ng-show='$ctrl.result')
md-input-container.md-block
label Result
textarea(name='result', ng-model='$ctrl.result')
textarea(name='result', ng-model='$ctrl.result', readonly)
4 changes: 2 additions & 2 deletions src/app/components/sign-verify/verify-message.pug
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ div
textarea(name='signature', ng-model='$ctrl.signature.value', ng-change='$ctrl.verify()')
div(ng-messages='$ctrl.signature.error')
div(ng-message='invalid') Invalid
div
div(ng-show='$ctrl.result')
md-input-container.md-block
label Original Message
textarea(name='result', ng-model='$ctrl.result')
textarea(name='result', ng-model='$ctrl.result', readonly)