diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-02 13:47:33 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-02 13:47:33 -0400 |
commit | 755eec745fa324fdd13078f0147638f8731652ba (patch) | |
tree | 3c04a98d64e128d2ce8887cc20ed361f04010052 /templates/repo/sidebar.tmpl | |
parent | 669552e255fb98021b779918394c65792fe6f1d2 (diff) | |
download | gitea-755eec745fa324fdd13078f0147638f8731652ba.tar.gz gitea-755eec745fa324fdd13078f0147638f8731652ba.zip |
Finish new repo settings page
Diffstat (limited to 'templates/repo/sidebar.tmpl')
-rw-r--r-- | templates/repo/sidebar.tmpl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl new file mode 100644 index 0000000000..39d999cabc --- /dev/null +++ b/templates/repo/sidebar.tmpl @@ -0,0 +1,28 @@ +<div id="repo-sidebar" class="right grid-1-5"> + <ul class="menu menu-vertical" id="repo-sidebar-nav"> + <li> + <a class="radius" href="{{.RepoLink}}/issues"><i class="octicon octicon-issue-opened"></i>Issues<span class="num right label label-blue label-radius">{{.Repository.NumOpenIssues}}</span></a> + </li> + <li> + <a class="radius" href="{{.RepoLink}}/pulls"><i class="octicon octicon-git-pull-request"></i>Pull Requests<span class="num right label label-blue label-radius">{{.Repository.NumOpenPulls}}</span></a> + </li> + <li class="border-bottom"></li> + <li class="head">{{if .IsViewBranch}}{{.BranchName}}{{else}}{{ShortSha .BranchName}}{{end}}</li> + <li> + <a class="radius" href="{{.RepoLink}}/commits/{{.BranchName}}"><i class="octicon octicon-history"></i>Commits <span class="num right label label-gray label-radius">{{.CommitsCount}}</span></a> + </li> + <li> + <a class="radius" href="{{.RepoLink}}/branches"><i class="octicon octicon-git-branch"></i>Branches<span class="num right label label-gray label-radius">{{.BrancheCount}}</span></a> + </li> + <li> + <a class="radius" href="{{.RepoLink}}/releases"><i class="octicon octicon-tag"></i>Releases <span class="num right label label-gray label-radius">{{.Repository.NumTags}}</span></a> + </li> + <li> + <a class="radius" href="#"><i class="octicon octicon-organization"></i>contributors <span class="num right label label-gray label-radius">43</span></a> + </li> + <li class="border-bottom"></li> + <li> + <a class="radius" href="{{.RepoLink}}/settings"><i class="octicon octicon-tools"></i>settings</a> + </li> + </ul> +</div>
\ No newline at end of file |