summaryrefslogtreecommitdiffstats
path: root/templates/admin/nav.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
commit1aec1a2ddae3a3714d6a167d85fcc1c69413b660 (patch)
tree07fb6534ac71aea4edca41d39ececd7d81976b04 /templates/admin/nav.tmpl
parent81287ba022ae906f1f9eb5b1324567cd93771b4e (diff)
downloadgitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.tar.gz
gitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.zip
Finish new admin dashboard
Diffstat (limited to 'templates/admin/nav.tmpl')
-rw-r--r--templates/admin/nav.tmpl22
1 files changed, 13 insertions, 9 deletions
diff --git a/templates/admin/nav.tmpl b/templates/admin/nav.tmpl
index b78e0bd17d..fa9b173e02 100644
--- a/templates/admin/nav.tmpl
+++ b/templates/admin/nav.tmpl
@@ -1,10 +1,14 @@
-<div id="user-setting-nav" class="col-md-2 admin-nav">
- <ul class="list-group">
- <li class="list-group-item{{if .PageIsDashboard}} active{{end}}"><a href="/admin"><i class="fa fa-tachometer fa-lg"></i> Dashboard</a></li>
- <li class="list-group-item{{if .PageIsUsers}} active{{end}}"><a href="/admin/users"><i class="fa fa-users fa-lg"></i> Users</a></li>
- <li class="list-group-item{{if .PageIsRepos}} active{{end}}"><a href="/admin/repos"><i class="fa fa-book fa-lg"></i> Repositories</a></li>
- <li class="list-group-item{{if .PageIsAuths}} active{{end}}"><a href="/admin/auths"><i class="fa fa-certificate fa-lg"></i> Authentication</a></li>
- <li class="list-group-item{{if .PageIsConfig}} active{{end}}"><a href="/admin/config"><i class="fa fa-cogs fa-lg"></i> Configuration</a></li>
- <li class="list-group-item{{if .PageIsMonitor}} active{{end}}"><a href="/admin/monitor"><i class="fa fa-th fa-lg"></i> Monitoring</a></li>
- </ul>
+<div id="setting-menu" class="grid-1-5 panel panel-radius left">
+ <p class="panel-header"><strong>{{.i18n.Tr "admin_panel"}}</strong></p>
+ <div class="panel-body">
+ <ul class="menu menu-vertical switching-list grid-1-5 left">
+ <li {{if .PageIsAdminDashboard}}class="current"{{end}}><a href="/admin">{{.i18n.Tr "admin.dashboard"}}</a></li>
+ <li {{if .PageIsAdminUsers}}class="current"{{end}}><a href="/admin/users">{{.i18n.Tr "admin.users"}}</a></li>
+ <li {{if .PageIsAdminOrganizations}}class="current"{{end}}><a href="/admin/orgs">{{.i18n.Tr "admin.organizations"}}</a></li>
+ <li {{if .PageIsAdminRepositories}}class="current"{{end}}><a href="/admin/repos">{{.i18n.Tr "admin.repositories"}}</a></li>
+ <li {{if .PageIsAdminAuthentication}}class="current"{{end}}><a href="/admin/auths">{{.i18n.Tr "admin.authentication"}}</a></li>
+ <li {{if .PageIsAdminConfig}}class="current"{{end}}><a href="/admin/config">{{.i18n.Tr "admin.config"}}</a></li>
+ <li {{if .PageIsAdminMonitor}}class="current"{{end}}><a href="/admin/monitor">{{.i18n.Tr "admin.monitor"}}</a></li>
+ </ul>
+ </div>
</div> \ No newline at end of file