mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
855 B
37 lines
855 B
extends ../layout.pug
|
|
|
|
block rootNavCenter
|
|
h2.nav-item= pageData.meta.title
|
|
|
|
block rootNavRight
|
|
loading-spinner
|
|
span.nav-item
|
|
if rights.write
|
|
a.button.is-outlined.btn-move-prompt.is-hidden
|
|
i.icon-shuffle
|
|
span= t('nav.move')
|
|
a.button.is-outlined(href='/' + pageData.meta.path)
|
|
i.icon-loader
|
|
span= t('nav.normalview')
|
|
if rights.write
|
|
a.button.is-orange(href='/edit/' + pageData.meta.path)
|
|
i.fa.fa-edit
|
|
span= t('nav.edit')
|
|
a.button.is-blue.btn-create-prompt
|
|
i.fa.fa-plus
|
|
span= t('nav.create')
|
|
|
|
block content
|
|
|
|
source-view(inline-template, data-entrypath=pageData.meta.path)
|
|
.ace-container
|
|
#source-display= pageData.markdown
|
|
|
|
include ../modals/create.pug
|
|
include ../modals/move.pug
|
|
|
|
block outside
|
|
#page-loader
|
|
i
|
|
span= t('loading.source')
|