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

62 lines
1.7 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='/')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.ui-1_home-minimal
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='/')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.ui-1_home-minimal
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')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.users_circle-10
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')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.ui-3_chart-bars
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')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.users_multiple-19
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')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.ui-1_settings-gear-63
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')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.arrows-1_log-out
2017-05-03 01:41:22 +00:00
span= t('nav.logout')
2017-02-10 02:35:37 +00:00
.column
block adminContent