summaryrefslogtreecommitdiffstats
path: root/templates/admin/navbar.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-19 00:34:11 +0800
committerUnknwon <u@gogs.io>2015-08-19 00:34:11 +0800
commit81b8427438d4d37d38a46d0fec4c22aee60f91fa (patch)
tree19138f3cf6bdaa2d4bde0dfb3355df10703174cb /templates/admin/navbar.tmpl
parent6fdc881bd4ffb0a97a9a3f6ec65182575c5b0bde (diff)
downloadgitea-81b8427438d4d37d38a46d0fec4c22aee60f91fa.tar.gz
gitea-81b8427438d4d37d38a46d0fec4c22aee60f91fa.zip
new UI on admin/monitor
Diffstat (limited to 'templates/admin/navbar.tmpl')
-rw-r--r--templates/admin/navbar.tmpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/admin/navbar.tmpl b/templates/admin/navbar.tmpl
new file mode 100644
index 0000000000..e85fa24fbf
--- /dev/null
+++ b/templates/admin/navbar.tmpl
@@ -0,0 +1,29 @@
+<div class="four wide column">
+ <div class="ui vertical menu">
+ <div class="header item">{{.i18n.Tr "admin_panel"}}</div>
+ <a class="{{if .PageIsAdminDashboard}}active{{end}} item" href="{{AppSubUrl}}/admin">
+ {{.i18n.Tr "admin.dashboard"}}
+ </a>
+ <a class="{{if .PageIsAdminUsers}}active{{end}} item" href="{{AppSubUrl}}/admin/users">
+ {{.i18n.Tr "admin.users"}}
+ </a>
+ <a class="{{if .PageIsAdminOrganizations}}active{{end}} item" href="{{AppSubUrl}}/admin/orgs">
+ {{.i18n.Tr "admin.organizations"}}
+ </a>
+ <a class="{{if .PageIsAdminRepositories}}active{{end}} item" href="{{AppSubUrl}}/admin/repos">
+ {{.i18n.Tr "admin.repositories"}}
+ </a>
+ <a class="{{if .PageIsAdminAuthentications}}active{{end}} item" href="{{AppSubUrl}}/admin/auths">
+ {{.i18n.Tr "admin.authentication"}}
+ </a>
+ <a class="{{if .PageIsAdminConfig}}active{{end}} item" href="{{AppSubUrl}}/admin/config">
+ {{.i18n.Tr "admin.config"}}
+ </a>
+ <a class="{{if .PageIsAdminNotices}}active{{end}} item" href="{{AppSubUrl}}/admin/notices">
+ {{.i18n.Tr "admin.notices"}}
+ </a>
+ <a class="{{if .PageIsAdminMonitor}}active{{end}} item" href="{{AppSubUrl}}/admin/monitor">
+ {{.i18n.Tr "admin.monitor"}}
+ </a>
+ </div>
+</div> \ No newline at end of file