navbar.tmpl 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <div class="four wide column">
  2. <div class="ui vertical menu">
  3. <div class="header item">{{.i18n.Tr "admin_panel"}}</div>
  4. <a class="{{if .PageIsAdminDashboard}}active{{end}} item" href="{{AppSubUrl}}/admin">
  5. {{.i18n.Tr "admin.dashboard"}}
  6. </a>
  7. <a class="{{if .PageIsAdminUsers}}active{{end}} item" href="{{AppSubUrl}}/admin/users">
  8. {{.i18n.Tr "admin.users"}}
  9. </a>
  10. <a class="{{if .PageIsAdminOrganizations}}active{{end}} item" href="{{AppSubUrl}}/admin/orgs">
  11. {{.i18n.Tr "admin.organizations"}}
  12. </a>
  13. <a class="{{if .PageIsAdminRepositories}}active{{end}} item" href="{{AppSubUrl}}/admin/repos">
  14. {{.i18n.Tr "admin.repositories"}}
  15. </a>
  16. <a class="{{if .PageIsAdminAuthentications}}active{{end}} item" href="{{AppSubUrl}}/admin/auths">
  17. {{.i18n.Tr "admin.authentication"}}
  18. </a>
  19. <a class="{{if .PageIsAdminConfig}}active{{end}} item" href="{{AppSubUrl}}/admin/config">
  20. {{.i18n.Tr "admin.config"}}
  21. </a>
  22. <a class="{{if .PageIsAdminNotices}}active{{end}} item" href="{{AppSubUrl}}/admin/notices">
  23. {{.i18n.Tr "admin.notices"}}
  24. </a>
  25. <a class="{{if .PageIsAdminMonitor}}active{{end}} item" href="{{AppSubUrl}}/admin/monitor">
  26. {{.i18n.Tr "admin.monitor"}}
  27. </a>
  28. </div>
  29. </div>