wikijs-fork/views/pages/edit.pug

28 lines
622 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
a.nav-item(href='/history/' + pageData.meta.path, target='_blank')
2016-08-28 01:46:10 +00:00
| History
a.nav-item(href='/source/' + pageData.meta.path, target='_blank')
2016-08-28 01:46:10 +00:00
| 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-29 05:21:35 +00:00
#page-type-edit(data-entrypath=pageData.meta.path)
2016-08-28 15:27:05 +00:00
section.section.is-small
textarea#mk-editor= pageData.markdown
include ../modals/edit