2016-08-18 03:52:23 +00:00
|
|
|
extends ../layout
|
|
|
|
|
2016-08-20 21:20:53 +00:00
|
|
|
mixin tocMenu(ti)
|
|
|
|
each node in ti
|
|
|
|
li
|
|
|
|
a(href='#' + node.anchor, title=node.content)= node.content
|
|
|
|
if node.nodes.length > 0
|
|
|
|
ul
|
|
|
|
+tocMenu(node.nodes)
|
|
|
|
|
2016-08-18 03:52:23 +00:00
|
|
|
block content
|
|
|
|
|
|
|
|
section.section
|
|
|
|
.container.is-fluid
|
|
|
|
.columns
|
|
|
|
|
2016-08-23 04:25:36 +00:00
|
|
|
.column.is-narrow.sd-menus.is-hidden-touch
|
2016-08-18 03:52:23 +00:00
|
|
|
|
2016-08-20 21:20:53 +00:00
|
|
|
.box
|
|
|
|
aside.menu(style= { 'min-width': '200px' })
|
|
|
|
p.menu-label
|
|
|
|
| Navigation
|
|
|
|
ul.menu-list
|
|
|
|
li
|
|
|
|
a(href='/') Home
|
2016-08-23 04:25:36 +00:00
|
|
|
li
|
|
|
|
a(href='/') Storage
|
2016-08-18 03:52:23 +00:00
|
|
|
li
|
2016-08-20 21:20:53 +00:00
|
|
|
a(href='/account') Account
|
2016-08-21 03:28:53 +00:00
|
|
|
.box.stickyscroll(data-margin-top=70)
|
2016-08-20 21:20:53 +00:00
|
|
|
aside.menu(style= { 'min-width': '200px' })
|
|
|
|
p.menu-label
|
|
|
|
| Contents
|
|
|
|
ul.menu-list
|
2016-08-21 03:28:53 +00:00
|
|
|
a(href='#root', title='Start') Start
|
2016-08-20 21:20:53 +00:00
|
|
|
+tocMenu(pageData.tree)
|
2016-08-18 03:52:23 +00:00
|
|
|
|
|
|
|
.column
|
2016-08-20 21:20:53 +00:00
|
|
|
|
2016-08-24 21:17:59 +00:00
|
|
|
h1.title#title= pageData.meta.title
|
|
|
|
if pageData.meta.subtitle
|
|
|
|
h2.subtitle= pageData.meta.subtitle
|
2016-08-21 03:28:53 +00:00
|
|
|
.content.mkcontent
|
2016-08-20 21:20:53 +00:00
|
|
|
!= pageData.html
|
2016-08-18 03:52:23 +00:00
|
|
|
|
2016-08-23 04:25:36 +00:00
|
|
|
.modal
|
|
|
|
.modal-background
|
|
|
|
.modal-container
|
|
|
|
.modal-content
|
|
|
|
.card.is-fullwidth
|
|
|
|
header.card-header
|
|
|
|
p.card-header-title Create New Page
|
|
|
|
.card-content
|
|
|
|
.content
|
|
|
|
label.label Enter the full path:
|
|
|
|
p.control
|
|
|
|
input.input(type='text', placeholder='/path', value='/storage/new-page')
|
|
|
|
footer.card-footer
|
|
|
|
a.card-footer-item(onclick='$(".modal").removeClass("is-active");') Discard
|
|
|
|
a.card-footer-item Create
|