wikijs-fork/views/pages/edit.pug

27 lines
610 B
Plaintext
Raw Normal View History

extends ../layout.pug
2016-08-28 01:46:10 +00:00
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
span.nav-item
2016-11-22 03:41:57 +00:00
a.button.is-outlined.btn-edit-discard
i.icon-cross
2016-08-28 01:46:10 +00:00
span Discard
2016-11-22 03:41:57 +00:00
a.button.btn-edit-save
i.icon-check
2016-08-28 01:46:10 +00:00
span Save Changes
block content
2016-08-29 05:21:35 +00:00
#page-type-edit(data-entrypath=pageData.meta.path)
2016-09-11 06:08:22 +00:00
.editor-area
textarea#mk-editor= pageData.markdown
2016-08-28 15:27:05 +00:00
2016-09-11 02:53:21 +00:00
include ../modals/edit-discard.pug
include ../modals/editor-link.pug
include ../modals/editor-image.pug
include ../modals/editor-file.pug
2017-01-03 03:20:24 +00:00
include ../modals/editor-video.pug
2016-09-11 02:53:21 +00:00
include ../modals/editor-codeblock.pug