17 lines
1.3 KiB
HTML
17 lines
1.3 KiB
HTML
{{define "admin-left-menu.html" -}}
|
|
<div id="admin-left-menu" class="ui inverted vertical left fixed menu">
|
|
<div class="item">
|
|
<div class="ui inverted header">RepoStats</div>
|
|
<div class="menu">
|
|
<a class="{{if eq .current_url "/admin/gitee"}}active {{end}}item" target="_self" href="/admin/gitee">Gitee 配置</a>
|
|
<!-- <a class="{{if eq .current_url "/admin/github"}}active {{end}}item" target="_self" href="/admin/github">Github 配置</a> -->
|
|
<a class="{{if eq .current_url "/admin/grafana"}}active {{end}}item" target="_self" href="/admin/grafana">Grafana 配置</a>
|
|
<a class="{{if eq .current_url "/admin/repos"}}active {{end}}item" target="_self" href="/admin/repos">代码仓库列表</a>
|
|
<a class="{{if eq .current_url "/admin/issues"}}active {{end}}item" target="_self" href="/admin/issues">Issues 配置</a>
|
|
<a class="{{if eq .current_url "/admin/commits"}}active {{end}}item" target="_self" href="/admin/commits">Commit 列表</a>
|
|
<a class="{{if eq .current_url "/admin/prs"}}active {{end}}item" target="_self" href="/admin/prs">Pull Request 列表</a>
|
|
</div>
|
|
</div>
|
|
<a class="item" target="_self" href="javascript:sign_out()">安全退出</a>
|
|
</div><!--end of left-menu-->
|
|
{{end -}} |