branch.tmpl 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. {{template "repo/nav" .}}
  4. {{template "repo/toolbar" .}}
  5. <div id="body" class="container">
  6. <div id="source">
  7. <div class="panel panel-default branch-box info-box">
  8. <div class="panel-heading info-head">
  9. <h4>Branches</h4>
  10. </div>
  11. <table class="panel-footer table branch-list table table-hover">
  12. <thead>
  13. <tr>
  14. <th class="name"></th>
  15. <th class="behind">Behind</th>
  16. <th class="ahead">Ahead</th>
  17. <th class="date">Last Commit</th>
  18. <th class="action"></th>
  19. </tr>
  20. </thead>
  21. <tbody>
  22. <tr class="branch-main">
  23. <td class="name" colspan="3">
  24. <a href="#"><strong>BranchName</strong></a>
  25. <button class="btn btn-primary btn-sm">base branch</button>
  26. </td>
  27. <td class="date">3 years ago</td>
  28. <td class="action"></td>
  29. </tr>
  30. <tr>
  31. <td class="name"><a href="#"><strong>BranchName</strong></a></td>
  32. <td class="behind">102 <span class="graph" style="width: 100%"></span></td>
  33. <td class="ahead"><span class="graph" style="width: 4%"></span>4</td>
  34. <td class="date">3 years ago</td>
  35. <td class="action"><a class="btn btn-info btn-sm" href="#">compare</a></td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. </div>
  42. {{template "base/footer" .}}