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

58 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-11-21 01:09:50 +00:00
extends ../../layout.pug
block rootNavCenter
2017-05-03 01:41:22 +00:00
h2.nav-item= t('nav.account')
2016-11-21 01:09:50 +00:00
block rootNavRight
2017-02-10 02:35:37 +00:00
i.nav-item#notifload
.nav-item
a.button.btn-edit-discard(href='/')
i.icon-home
2017-05-03 01:41:22 +00:00
span= t('nav.home')
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
2017-05-03 01:41:22 +00:00
span= t('nav.home')
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')
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