wikijs-fork/server/views/main/all.pug

25 lines
638 B
Plaintext
Raw Normal View History

2017-04-09 15:48:37 +00:00
extends ../layout.pug
block content
2017-05-21 22:58:19 +00:00
.container.is-fluid.has-collapsable-nav
.sidebar.is-collapsed
aside
.sidebar-label
span= t('sidebar.nav')
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-05-21 22:58:19 +00:00
if !isGuest
li
a(href='/admin')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.ui-1_settings-gear-63
2017-05-21 22:58:19 +00:00
span= t('nav.account')
else
li
a(href='/login')
2017-06-18 22:35:33 +00:00
i.nc-icon-outline.arrows-1_log-in
2017-05-21 22:58:19 +00:00
span= t('nav.login')
tree