mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-18 16:01:05 +00:00
57 lines
No EOL
1.7 KiB
HTML
57 lines
No EOL
1.7 KiB
HTML
{{ define "title" }}{{.Team.Name}} · Profile{{ end }}
|
|
|
|
{{ define "content" }}
|
|
|
|
<div class="subhead">
|
|
<div class="container">
|
|
<ul class="nav nav-tabs pull-right">
|
|
<li>
|
|
<a href="/dashboard/team/{{.Team.Slug}}">Dashboard</a>
|
|
</li>
|
|
<li class="active">
|
|
<a href="/account/team/{{.Team.Slug}}/profile">Team Settings</a>
|
|
</li>
|
|
</ul> <!-- ./nav -->
|
|
<h1 class="user">
|
|
<img src="{{.Team.Image}}">
|
|
<span>{{.Team.Name}}</span>
|
|
</h1>
|
|
</div><!-- ./container -->
|
|
</div><!-- ./subhead -->
|
|
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<div class="col-xs-3">
|
|
<ul class="nav nav-pills nav-stacked">
|
|
<li><a href="/account/team/{{.Team.Slug}}/profile">Profile</a></li>
|
|
<li><a href="/account/team/{{.Team.Slug}}/members">Members</a></li>
|
|
<li class="active"><a href="/account/team/{{.Team.Slug}}/delete">Delete</a></li>
|
|
</ul>
|
|
</div><!-- ./col-xs-3 -->
|
|
|
|
<div class="col-xs-9" role="main" style="padding-left:20px;">
|
|
<div class="alert">Delete this Team account. <b>Warning</b> this action cannot be undone.</div>
|
|
|
|
<div class="col-xs-5">
|
|
<form action="/account/team/{{.Team.Slug}}/delete" method="POST" role="form">
|
|
<label>Enter your password to confim:</label>
|
|
<div>
|
|
<input class="form-control" type="password" name="password" value="" />
|
|
</div>
|
|
<div class="form-actions">
|
|
<input class="btn btn-danger" id="submitButton" type="submit" value="Delete Team" />
|
|
<a class="btn btn-default" href="/account/team/{{.Team.Slug}}/profile">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div><!-- ./col-xs-6 -->
|
|
|
|
</div><!-- ./col-xs-9 -->
|
|
</div><!-- ./row -->
|
|
|
|
</div><!-- ./container -->
|
|
{{ end }}
|
|
|
|
{{ define "script" }}
|
|
{{ end }} |