You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.5 KiB

  1. extends ../../layout.pug
  2. block rootNavCenter
  3. h2.nav-item= t('nav.account')
  4. block rootNavRight
  5. loading-spinner
  6. .nav-item
  7. a.button.btn-edit-discard(href='/')
  8. i.icon-home
  9. span= t('nav.home')
  10. block content
  11. #page-type-account
  12. .container.is-fluid
  13. .columns.is-gapless
  14. .column.is-narrow.is-hidden-touch.sidebar
  15. aside
  16. .sidebar-label
  17. span= t('sidebar.navigation')
  18. ul.sidebar-menu
  19. li
  20. a(href='/')
  21. i.icon-home
  22. span= t('nav.home')
  23. aside
  24. .sidebar-label
  25. span= t('nav.account')
  26. ul.sidebar-menu
  27. li
  28. a(href='/admin/profile')
  29. i.icon-user
  30. span= t('nav.myprofile')
  31. li
  32. a(href='/admin/stats')
  33. i.icon-bar-graph-2
  34. span= t('nav.stats')
  35. if rights.manage
  36. li
  37. a(href='/admin/users')
  38. i.icon-users
  39. span= t('nav.users')
  40. li
  41. a(href='/admin/settings')
  42. i.icon-cog
  43. span= t('nav.syssettings')
  44. li
  45. a(href='/admin/theme')
  46. i.icon-drop
  47. span= t('nav.theme')
  48. li
  49. a(href='/logout')
  50. i.icon-delete2
  51. span= t('nav.logout')
  52. .column
  53. block adminContent