aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/branch.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-22 23:11:12 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-22 23:11:12 -0400
commit314193029a246c2498c6d54c085d57f7589c8dbe (patch)
tree302cacb210a972d8050dbf1882a89c5ace1e6218 /templates/repo/branch.tmpl
parent9c820730918443ca2b498dfa71b3131d73cec526 (diff)
downloadgitea-314193029a246c2498c6d54c085d57f7589c8dbe.tar.gz
gitea-314193029a246c2498c6d54c085d57f7589c8dbe.zip
Use constants to name template file
Diffstat (limited to 'templates/repo/branch.tmpl')
-rw-r--r--templates/repo/branch.tmpl42
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/repo/branch.tmpl b/templates/repo/branch.tmpl
new file mode 100644
index 0000000000..8d2d59d7fd
--- /dev/null
+++ b/templates/repo/branch.tmpl
@@ -0,0 +1,42 @@
+{{template "base/head" .}}
+{{template "base/navbar" .}}
+{{template "repo/nav" .}}
+{{template "repo/toolbar" .}}
+<div id="body" class="container">
+ <div id="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