blob: edcec7f2b40ee885202a46552c8c9dbd766f9e32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
extends layout
block content
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
.modal#add_contact_modal
.modal-background
.modal-card
header.modal-card-head
p.modal-card-title Add a contact
button.delete(aria-label='close', toggle-contact-modal)
section.modal-card-body
input#peer_id.input.is-focused(placeholder='Contact ID')
footer.modal-card-foot
button#add_peer_id.button.is-success(toggle-contact-modal) Add
button.button(aria-label='close', toggle-contact-modal) Cancel
|