aboutsummaryrefslogtreecommitdiffhomepage
path: root/views
diff options
context:
space:
mode:
authorMarvin Borner2019-01-27 17:48:07 +0100
committerMarvin Borner2019-01-27 17:48:07 +0100
commit46f92ac829cfaeb255317c99a0cb220e1ff6b071 (patch)
tree3561a868091297052d5ebfbbb079bc27c05656e5 /views
parent9683cf0c06c4e5a0618e75a23e491abdbb0a7d19 (diff)
Added pin input field(s)
Diffstat (limited to 'views')
-rw-r--r--views/index.pug33
1 files changed, 24 insertions, 9 deletions
diff --git a/views/index.pug b/views/index.pug
index edcec7f..ac8c13e 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -1,16 +1,17 @@
extends layout
block content
- button.button.add-peer-button.is-big.is-outlined.is-info(toggle-contact-modal)
- i.fas.fa-plus
+ .chat#chat
+ button.button.add-peer-button.is-big.is-outlined.is-info(toggle-contact-modal)
+ i.fas.fa-plus
- .columns.level.main
- .section.column.level-right
- #messages
- .message-field
- input#message.message-input.input(placeholder='Enter a message')
- button#send_message.message-button.button.is-success(type=submit)
- i.fas.fa-paper-plane
+ .columns.level.main
+ .section.column.level-right
+ #messages
+ .message-field
+ input#message.message-input.input(placeholder='Enter a message')
+ button#send_message.message-button.button.is-success(type=submit)
+ i.fas.fa-paper-plane
.modal#add_contact_modal
.modal-background
@@ -23,3 +24,17 @@ block content
footer.modal-card-foot
button#add_peer_id.button.is-success(toggle-contact-modal) Add
button.button(aria-label='close', toggle-contact-modal) Cancel
+
+ .enter-pin#enter_pin
+ .title.has-text-centered Enter a passphrase
+ .subtitle.has-text-centered.is-danger#pin_message
+ .columns.is-centered.is-flex.pin-wrapper
+ .column.is-centered.is-flex
+ input#1(type='text', maxlength=1, min=0, max=9)
+ .column.is-centered.is-flex
+ input#2(type='text', maxlength=1, min=0, max=9)
+ .column.is-centered.is-flex
+ input#3(type='text', maxlength=1, min=0, max=9)
+ .column.is-centered.is-flex
+ input#4(type='text', maxlength=1, min=0, max=9)
+