summaryrefslogtreecommitdiffstats
path: root/templates/repo/branches.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-17 17:14:31 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-17 17:14:31 +0800
commit3a3ac1f0f32d44330d513cfea9ca3560bc41671e (patch)
treeac2fde773dbe1fdd96ab801a93402295756ae987 /templates/repo/branches.tmpl
parent24d91ecda8c819a33f326ff724559456bcae6d71 (diff)
downloadgitea-3a3ac1f0f32d44330d513cfea9ca3560bc41671e.tar.gz
gitea-3a3ac1f0f32d44330d513cfea9ca3560bc41671e.zip
repo branch page ui
Diffstat (limited to 'templates/repo/branches.tmpl')
-rw-r--r--templates/repo/branches.tmpl42
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/repo/branches.tmpl b/templates/repo/branches.tmpl
new file mode 100644
index 0000000000..63e77ab924
--- /dev/null
+++ b/templates/repo/branches.tmpl
@@ -0,0 +1,42 @@
+{{template "base/head" .}}
+{{template "base/navbar" .}}
+{{template "repo/nav" .}}
+{{template "repo/toolbar" .}}
+<div id="gogs-body" class="container">
+ <div id="gogs-source">
+ <div class="panel panel-default branch-box info-box">
+ <div class="panel-heading info-head">
+ <h4>Branches</h4>
+ </div>
+ <table class="panel-footer table branch-list table table-hover">
+ <thead>
+ <tr>
+ <th class="name"></th>
+ <th class="behind">Behind</th>
+ <th class="ahead">Ahead</th>
+ <th class="date">Last Commit</th>
+ <th class="action"></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr class="branch-main">
+ <td class="name" colspan="3">
+ <a href="#"><strong>BranchName</strong></a>
+ <button class="btn btn-primary btn-sm">base branch</button>
+ </td>
+ <td class="date">3 years ago</td>
+ <td class="action"></td>
+ </tr>
+ <tr>
+ <td class="name"><a href="#"><strong>BranchName</strong></a></td>
+ <td class="behind">102 <span class="graph" style="width: 100%"></span></td>
+ <td class="ahead"><span class="graph" style="width: 4%"></span>4</td>
+ <td class="date">3 years ago</td>
+ <td class="action"><a class="btn btn-info btn-sm" href="#">compare</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+{{template "base/footer" .}} \ No newline at end of file