summaryrefslogtreecommitdiffstats
path: root/templates/admin/nav.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-21 01:48:10 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-21 01:48:10 -0400
commitf6596f11c4aacd3c7c30098f7ffe79e936d21583 (patch)
treeaad5d5017b03d530e6c69ea474266fecea86d0e2 /templates/admin/nav.tmpl
parent369ddf76a8ae6916ab72f1fa26c81b44c456c6ea (diff)
downloadgitea-f6596f11c4aacd3c7c30098f7ffe79e936d21583.tar.gz
gitea-f6596f11c4aacd3c7c30098f7ffe79e936d21583.zip
All configuration reload-able
Diffstat (limited to 'templates/admin/nav.tmpl')
-rw-r--r--templates/admin/nav.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/admin/nav.tmpl b/templates/admin/nav.tmpl
new file mode 100644
index 0000000000..bb704ee3fb
--- /dev/null
+++ b/templates/admin/nav.tmpl
@@ -0,0 +1,8 @@
+<div id="gogs-user-setting-nav" class="col-md-3">
+ <ul class="list-group" data-init="tabs">
+ <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 .PageIsConfig}} active{{end}}"><a href="/admin/config"><i class="fa fa-cogs fa-lg"></i> Configuration</a></li>
+ </ul>
+</div> \ No newline at end of file