Travis GCC option + UI enhancements
This commit is contained in:
@@ -16,6 +16,7 @@ nav.nav.has-shadow.stickyscroll
|
||||
span
|
||||
.nav-right.nav-menu
|
||||
block rootNavRight
|
||||
i.nav-item#notifload
|
||||
a.nav-item(href='#')
|
||||
| History
|
||||
a.nav-item(href='#')
|
||||
|
||||
@@ -4,21 +4,37 @@ block rootNavCenter
|
||||
h2.nav-item= pageData.meta.title
|
||||
|
||||
block rootNavRight
|
||||
i.nav-item#notifload
|
||||
a.nav-item(href='#')
|
||||
| History
|
||||
a.nav-item(href='#')
|
||||
| Source
|
||||
span.nav-item
|
||||
a.button.is-danger(href='/' + pageData.meta.path)
|
||||
a.button.is-warning.btn-edit-discard
|
||||
span.icon
|
||||
i.fa.fa-times
|
||||
span Discard
|
||||
a.button.is-success(href='#', onclick='$(".modal").addClass("is-active");')
|
||||
a.button.is-success.btn-edit-save
|
||||
span.icon
|
||||
i.fa.fa-check
|
||||
span Save Changes
|
||||
|
||||
block content
|
||||
|
||||
section.section.is-small
|
||||
textarea#mk-editor= pageData.markdown
|
||||
#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
|
||||
@@ -9,6 +9,7 @@ mixin tocMenu(ti)
|
||||
+tocMenu(node.nodes)
|
||||
|
||||
block rootNavRight
|
||||
i.nav-item#notifload
|
||||
a.nav-item(href='#')
|
||||
| History
|
||||
a.nav-item(href='#')
|
||||
@@ -25,39 +26,40 @@ block rootNavRight
|
||||
|
||||
block content
|
||||
|
||||
section.section
|
||||
.container.is-fluid
|
||||
.columns
|
||||
#page-type-view
|
||||
section.section
|
||||
.container.is-fluid
|
||||
.columns
|
||||
|
||||
.column.is-narrow.sd-menus.is-hidden-touch
|
||||
.column.is-narrow.sd-menus.is-hidden-touch
|
||||
|
||||
.box
|
||||
aside.menu(style= { 'min-width': '200px' })
|
||||
p.menu-label
|
||||
| Navigation
|
||||
ul.menu-list
|
||||
li
|
||||
a(href='/') Home
|
||||
if pageData.parent
|
||||
.box
|
||||
aside.menu(style= { 'min-width': '200px' })
|
||||
p.menu-label
|
||||
| Navigation
|
||||
ul.menu-list
|
||||
li
|
||||
a(href='/' + pageData.parent.path)= pageData.parent.title
|
||||
li
|
||||
a(href='/account') Account
|
||||
.box.stickyscroll(data-margin-top=70)
|
||||
aside.menu(style= { 'min-width': '200px' })
|
||||
p.menu-label
|
||||
| Contents
|
||||
ul.menu-list
|
||||
a(href='#root', title='Start') Start
|
||||
+tocMenu(pageData.tree)
|
||||
a(href='/') Home
|
||||
if pageData.parent
|
||||
li
|
||||
a(href='/' + pageData.parent.path)= pageData.parent.title
|
||||
li
|
||||
a(href='/account') Account
|
||||
.box.stickyscroll(data-margin-top=70)
|
||||
aside.menu(style= { 'min-width': '200px' })
|
||||
p.menu-label
|
||||
| Contents
|
||||
ul.menu-list
|
||||
a(href='#root', title='Start') Start
|
||||
+tocMenu(pageData.tree)
|
||||
|
||||
.column
|
||||
.column
|
||||
|
||||
h1.title#title= pageData.meta.title
|
||||
if pageData.meta.subtitle
|
||||
h2.subtitle= pageData.meta.subtitle
|
||||
.content.mkcontent
|
||||
!= pageData.html
|
||||
h1.title#title= pageData.meta.title
|
||||
if pageData.meta.subtitle
|
||||
h2.subtitle= pageData.meta.subtitle
|
||||
.content.mkcontent
|
||||
!= pageData.html
|
||||
|
||||
.modal
|
||||
.modal-background
|
||||
@@ -73,4 +75,4 @@ block content
|
||||
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
|
||||
a.card-footer-item.featured Create
|
||||
|
||||
Reference in New Issue
Block a user