wikijs-fork/server/views/pages/admin/_layout.pug

62 lines
1.5 KiB
Plaintext
Raw Normal View History

2016-11-21 01:09:50 +00:00
extends ../../layout.pug
block rootNavCenter
h2.nav-item= t('nav.settings')
2016-11-21 01:09:50 +00:00
block rootNavRight
2017-05-21 03:21:16 +00:00
loading-spinner
2017-02-10 02:35:37 +00:00
.nav-item
a.button.btn-edit-discard(href='/')
i.icon-home
span= t('nav.root')
2016-11-21 01:09:50 +00:00
block content
2017-02-10 02:35:37 +00:00
#page-type-account
.container.is-fluid
.columns.is-gapless
.column.is-narrow.is-hidden-touch.sidebar
aside
.sidebar-label
2017-05-03 01:41:22 +00:00
span= t('sidebar.navigation')
2017-02-10 02:35:37 +00:00
ul.sidebar-menu
li
a(href='/')
i.icon-home
span= t('nav.root')
2017-02-10 02:35:37 +00:00
aside
.sidebar-label
2017-05-03 01:41:22 +00:00
span= t('nav.account')
2017-02-10 02:35:37 +00:00
ul.sidebar-menu
li
a(href='/admin/profile')
i.icon-user
2017-05-03 01:41:22 +00:00
span= t('nav.myprofile')
2017-02-10 02:35:37 +00:00
li
a(href='/admin/stats')
i.icon-bar-graph-2
2017-05-03 01:41:22 +00:00
span= t('nav.stats')
2017-02-10 02:35:37 +00:00
if rights.manage
li
a(href='/admin/users')
i.icon-users
2017-05-03 01:41:22 +00:00
span= t('nav.users')
2017-02-10 02:35:37 +00:00
li
a(href='/admin/settings')
i.icon-cog
2017-05-03 01:41:22 +00:00
span= t('nav.syssettings')
//-li
2017-05-21 03:21:16 +00:00
a(href='/admin/theme')
i.icon-drop
span= t('nav.theme')
2017-02-10 02:35:37 +00:00
li
a(href='/logout')
i.icon-delete2
2017-05-03 01:41:22 +00:00
span= t('nav.logout')
2017-02-10 02:35:37 +00:00
.column
block adminContent