mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
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.
80 lines
3.7 KiB
80 lines
3.7 KiB
11 years ago
|
{{template "base/head" .}}
|
||
|
{{template "base/navbar" .}}
|
||
|
<div id="body-nav" class="org-nav org-nav-auto">
|
||
|
<div class="container clearfix">
|
||
|
<div id="org-nav-wrapper">
|
||
|
<ul class="nav nav-pills pull-right">
|
||
11 years ago
|
<li><a href="/org/{{.Org.Name}}/members"><i class="fa fa-users"></i>Members
|
||
|
<span class="label label-default">{{.Org.NumMembers}}</span></a>
|
||
11 years ago
|
</li>
|
||
11 years ago
|
<li class="active"><a href="/org/{{.Org.Name}}/teams"><i class="fa fa-tags"></i>Teams
|
||
|
<span class="label label-default">{{.Org.NumTeams}}</span></a>
|
||
11 years ago
|
</li>
|
||
|
</ul>
|
||
11 years ago
|
<img class="pull-left org-small-logo" src="{{.Org.AvatarLink}}?s=140" alt="" width="60"/>
|
||
11 years ago
|
<div id="org-nav-info">
|
||
11 years ago
|
<h2 class="org-name">{{.Org.FullName}}</h2>
|
||
11 years ago
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
11 years ago
|
|
||
11 years ago
|
<div id="body" class="container">
|
||
|
<div id="org">
|
||
11 years ago
|
<form action="/org/{{.Org.Name}}/teams/new" method="post" id="org-teams-create" class="form-horizontal card">
|
||
|
{{.CsrfTokenHtml}}
|
||
11 years ago
|
<h3>Create new team</h3>
|
||
11 years ago
|
{{template "base/alert" .}}
|
||
|
<div class="form-group{{if .Err_TeamName}} has-error has-feedback{{end}}">
|
||
11 years ago
|
<label class="col-md-2 control-label">Team Name<strong class="text-danger">*</strong></label>
|
||
|
<div class="col-md-8">
|
||
11 years ago
|
<input name="name" type="text" class="form-control" placeholder="Type your team name" value="{{.name}}" required="required">
|
||
11 years ago
|
<span class="help-block">You'll use this name to mention this team in conversations.</span>
|
||
|
</div>
|
||
|
</div>
|
||
11 years ago
|
|
||
|
<div class="form-group{{if .Err_Description}} has-error has-feedback{{end}}">
|
||
11 years ago
|
<label class="col-md-2 control-label">Description</label>
|
||
|
<div class="col-md-8">
|
||
11 years ago
|
<input name="desc" type="text" class="form-control" placeholder="Type your team description (optional)" value="{{.desc}}">
|
||
11 years ago
|
</div>
|
||
|
</div>
|
||
11 years ago
|
|
||
|
<div class="form-group{{if .Err_Permission}} has-error has-feedback{{end}}">
|
||
11 years ago
|
<label class="col-md-2 control-label">Permission</label>
|
||
|
<div class="col-md-8">
|
||
|
<div class="radio">
|
||
|
<label>
|
||
11 years ago
|
<input type="radio" name="permission" value="read" checked="">
|
||
|
<strong>Read Access</strong>
|
||
11 years ago
|
</label>
|
||
|
<p>This team will be able to view and clone its repositories.</p>
|
||
|
</div>
|
||
|
<div class="radio">
|
||
|
<label>
|
||
11 years ago
|
<input type="radio" name="permission" value="write">
|
||
|
<strong>Write Access</strong>
|
||
11 years ago
|
</label>
|
||
|
<p>This team will be able to read its repositories, as well as push to them.</p>
|
||
|
</div>
|
||
|
<div class="radio">
|
||
|
<label>
|
||
|
<input type="radio" name="permission" value="admin">
|
||
11 years ago
|
<strong>Admin Access</strong>
|
||
11 years ago
|
</label>
|
||
|
<p>This team will be able to push/pull to its repositories, as well as add other collaborators to them.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>
|
||
|
<div class="form-group">
|
||
|
<label class="col-md-2"> </label>
|
||
|
<div class="col-md-8">
|
||
|
<button class="btn btn-primary">Create team</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{template "base/footer" .}}
|