mirror of https://github.com/gogits/gogs.git
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.
51 lines
2.4 KiB
51 lines
2.4 KiB
{{template "base/head" .}} |
|
{{template "base/navbar" .}} |
|
{{template "repo/nav" .}} |
|
{{template "repo/toolbar" .}} |
|
<div id="body" class="container"> |
|
<div id="user-setting-nav" class="col-md-2 repo-setting-nav"> |
|
<ul class="list-group"> |
|
<li class="list-group-item"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li> |
|
<li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/collaboration">Collaborators</a></li> |
|
<!--<li class="list-group-item"><a href="#">Notifications</a></li>--> |
|
</ul> |
|
</div> |
|
|
|
<div id="repo-setting-container" class="col-md-10"> |
|
{{template "base/alert" .}} |
|
<div class="panel panel-default"> |
|
<div class="panel-heading"> |
|
Collaborators |
|
</div> |
|
<div class="panel-body"> |
|
<ul id="repo-collab-list" class="list-unstyled"> |
|
<li>No Collaborators</li> |
|
<li class="collab"> |
|
<a href="/{{.Owner.Name}}/{{.Repository.Name}}/remove_member?name=" class="remove-collab pull-right"><i class="fa fa-times"></i></a> |
|
<a class="member" href="#"> |
|
<img alt="无闻" class="pull-left avatar" src="https://avatars2.githubusercontent.com/u/2946214?s=140"> |
|
<strong class="access-member-fullname">无闻</strong><br/> |
|
Unknwon |
|
</a> |
|
</li> |
|
</ul> |
|
</div> |
|
<div class="panel-footer"> |
|
<form action="/{{.Owner.Name}}/{{.Repository.Name}}/collaboration" method="post" class="form-horizontal" id="repo-collab-form"> |
|
{{.CsrfTokenHtml}} |
|
<div class="form-group" style="margin-bottom: 0"> |
|
<div class="col-md-4"> |
|
<input type="text" name="collaborator" class="form-control dropdown-toggle" id="repo-collaborator" required="required" data-toggle="dropdown"/> |
|
<div class="dropdown-menu"> |
|
<ul class="list-unstyled"></ul> |
|
</div> |
|
</div> |
|
<button class="col-md-2 btn btn-primary">Add collaborator</button> |
|
</div> |
|
</form> |
|
</div> |
|
</div> |
|
|
|
</div> |
|
</div> |
|
{{template "base/footer" .}} |