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.

106 lines
5.0 KiB

  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="body-nav" class="org-nav org-nav-auto">
  4. <div class="container clearfix">
  5. <div id="org-nav-wrapper">
  6. <ul class="nav nav-pills pull-right">
  7. <li><a href="#"><i class="fa fa-users"></i>Members
  8. <span class="label label-default">5</span></a>
  9. </li>
  10. <li class="active"><a href="#"><i class="fa fa-tags"></i>Teams
  11. <span class="label label-default">2</span></a>
  12. </li>
  13. </ul>
  14. <img class="pull-left org-small-logo" src="https://avatars3.githubusercontent.com/u/6656686?s=140" alt="" width="60"/>
  15. <div id="org-nav-info">
  16. <h2 class="org-name">Organization Name</h2>
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. <div id="body" class="container">
  22. <div id="org">
  23. <div id="org-team">
  24. <div id="org-team-card" class="col-md-3">
  25. <h3 class="title">Team name</h3>
  26. <p class="desc">team description</p>
  27. <hr/>
  28. <div class="meta">
  29. <div class="col-md-6">
  30. <a href="#"><span class="num"><strong>1</strong></span>
  31. <br/>Member</a>
  32. </div>
  33. <div class="col-md-6">
  34. <a href="#"><span class="num"><strong>1</strong></span>
  35. <br/>Repository</a>
  36. </div>
  37. </div>
  38. <hr style="width: 100%"/>
  39. <div class="action">
  40. <a href="#">
  41. <button class="btn btn-danger">Leave</button>
  42. </a>
  43. <a href="#">
  44. <button class="btn btn-success">Edit</button>
  45. </a>
  46. <a href="#">
  47. <button class="btn btn-default">Setting</button>
  48. </a>
  49. </div>
  50. <hr/>
  51. <p>This team grants <strong>Push, Read & Clone</strong> access: members can read from and push to the team's repositories.</p>
  52. </div>
  53. <div id="org-team-content" class="col-md-9">
  54. <div class="header">
  55. <div class="header-tab col-md-4">
  56. <div class="btn-group">
  57. <a class="btn btn-primary" href="#">Members</a>
  58. <a class="btn btn-default" href="#">Repositories</a>
  59. </div>
  60. </div>
  61. <form id="org-team-add-user-form" action="url" class="col-md-4 pull-right open" method="post">
  62. <input type="text" class="form-control" name="user" placeholder="add user to teams" id="org-team-add-user"/>
  63. <div class="dropdown-menu">
  64. <ul class="list-unstyled"></ul>
  65. </div>
  66. <input type="hidden" name="team" value="team-id"/>
  67. </form>
  68. </div>
  69. <div class="content" id="org-team-members">
  70. <div class="member">&nbsp;
  71. <div class="avatar col-md-1">
  72. <img src="https://avatars3.githubusercontent.com/u/2142787?s=140" alt="">
  73. </div>
  74. <div class="name col-md-4">
  75. <a href="#"><strong>fuxiaohei</strong><span class="nick">傅小黑</span></a>
  76. </div>
  77. <a class="remove btn btn-danger pull-right" href="#">Remove</a>
  78. </div>
  79. </div>
  80. <!---------------------- for ?member or ?repo ---------->
  81. <div class="header">
  82. <div class="header-tab col-md-4">
  83. <div class="btn-group">
  84. <a class="btn btn-default" href="#">Members</a>
  85. <a class="btn btn-primary" href="#">Repositories</a>
  86. </div>
  87. </div>
  88. <form id="org-team-add-repo-form" action="url" class="col-md-4 pull-right open" method="post">
  89. <input type="text" class="form-control" name="repo" placeholder="add repository to teams" id="org-team-add-repo"/>
  90. <div class="dropdown-menu">
  91. <ul class="list-unstyled"></ul>
  92. </div>
  93. <input type="hidden" name="team" value="team-id"/>
  94. </form>
  95. </div>
  96. <div class="content" id="org-team-repos">
  97. <div class="repo">
  98. <a href="#" class="repo-name"><i class="fa fa-book"></i> repo-name</a>
  99. <a class="remove btn btn-danger pull-right" href="#">Remove</a>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. {{template "base/footer" .}}