You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
2.4 KiB

10 years ago
  1. <div id="gogs-body-nav" class="gogs-repo-nav">
  2. <div class="container">
  3. <div class="gogs-repo-btns pull-right">
  4. <div class="btn-group" id="gogs-repo-clone">
  5. <button type="button" class="btn btn-default"><i class="fa fa-download"></i>Clone</button>
  6. <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
  7. <span class="caret"></span>
  8. <span class="sr-only">Toggle Dropdown</span>
  9. </button>
  10. <div class="dropdown-menu" role="menu">
  11. <div data-val="down-http">http link</div>
  12. <div data-val="down-git">git link</div>
  13. </div>
  14. </div>
  15. <div class="btn-group" id="gogs-repo-watching">
  16. <button type="button" class="btn btn-default"><i class="fa fa-eye"></i>Watch {x}</button>
  17. <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
  18. <span class="caret"></span>
  19. <span class="sr-only">Toggle Dropdown</span>
  20. </button>
  21. <div class="dropdown-menu" role="menu">
  22. <div class="dropdown-item" data-val="not-watching">
  23. <h4 role="presentation" class="dropdown-header">Not Watching</h4>
  24. <p class="description">You only receive notifications for conversations in which you participate or are @mentioned.</p>
  25. <p class="divider"></p>
  26. </div>
  27. <div class="dropdown-item" data-val="watching">
  28. <h4 role="presentation" class="dropdown-header">Watching</h4>
  29. <p class="description">You receive notifications for all conversations in this repository.</p>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="btn-group">
  34. <button type="button" class="btn btn-default"><i class="fa fa-star"></i>Star&nbsp;&nbsp;{{.Repository.NumStars}}</button>
  35. </div>
  36. <div class="btn-group">
  37. <button type="button" class="btn btn-default"><i class="fa fa-code-fork"></i>Fork&nbsp;&nbsp;{{.Repository.NumForks}}</button>
  38. </div>
  39. </div>
  40. <h3><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3>
  41. </div>
  42. </div>