wikijs-fork/views/pages/edit.pug

40 lines
905 B
Plaintext
Raw Normal View History

2016-08-28 01:46:10 +00:00
extends ../layout
block rootNavCenter
h2.nav-item= pageData.meta.title
block rootNavRight
2016-08-28 15:27:05 +00:00
i.nav-item#notifload
2016-08-28 01:46:10 +00:00
a.nav-item(href='#')
| History
a.nav-item(href='#')
| Source
span.nav-item
2016-08-28 15:27:05 +00:00
a.button.is-warning.btn-edit-discard
2016-08-28 01:46:10 +00:00
span.icon
i.fa.fa-times
span Discard
2016-08-28 15:27:05 +00:00
a.button.is-success.btn-edit-save
2016-08-28 01:46:10 +00:00
span.icon
i.fa.fa-check
span Save Changes
block content
2016-08-28 15:27:05 +00:00
#page-type-edit
section.section.is-small
textarea#mk-editor= pageData.markdown
.modal#modal-edit-discard
.modal-background
.modal-container
.modal-content
.card.is-fullwidth
header.card-header.is-warning
p.card-header-title Discard?
.card-content
.content
| Are you sure you want to leave this page and loose any modifications?
footer.card-footer
a.card-footer-item.btn-edit-discard Stay on page
a.card-footer-item(href='/' + pageData.meta.path) Discard