summaryrefslogtreecommitdiffstats
path: root/templates/repo/branch.tmpl
blob: 8d2d59d7fd68a5a9e868bc6387a013e835add1c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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" .}}