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

66 lines
1.9 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')
i.nc-icon-outline.business_business-contact-86
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
2017-05-21 03:21:16 +00:00
a(href='/admin/theme')
2017-07-02 02:23:40 +00:00
i.nc-icon-outline.ui-1_drop
2017-05-21 03:21:16 +00:00
span= t('nav.theme')
2017-07-09 00:24:21 +00:00
//-li
a(href='/admin/settings')
i.nc-icon-outline.ui-1_settings-gear-63
span= t('nav.syssettings')
li
a(href='/admin/system')
i.nc-icon-outline.objects_planet
span= t('nav.sysinfo')
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