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.

33 lines
972 B

  1. extends ../layout.pug
  2. block rootNavRight
  3. i.nav-item#notifload
  4. block content
  5. #page-type-all
  6. .container.is-fluid.has-collapsable-nav
  7. .sidebar.is-collapsed
  8. aside
  9. .sidebar-label
  10. span NAV
  11. ul.sidebar-menu
  12. li
  13. a(href='/')
  14. i.icon-home
  15. span Home
  16. if !isGuest
  17. li
  18. a(href='/admin')
  19. i.icon-head
  20. span Account
  21. else
  22. li
  23. a(href='/login')
  24. i.icon-unlock
  25. span Login
  26. ul.collapsable-nav(v-for='treeItem in tree', :class='{ "has-children": treeItem.hasChildren }', v-cloak)
  27. li(v-for='page in treeItem.pages', :class='{ "is-active": page.isActive }')
  28. a(v-on:click='fetch(page._id)')
  29. i(:class='{ "icon-folder2": page.isFolder, "icon-file": !page.isFolder }')
  30. span {{ page.title }}