harness-drone/pkg/template/pages/user_delete.html

57 lines
1.6 KiB
HTML
Raw Normal View History

2014-02-07 10:10:01 +00:00
{{ define "title" }}{{.User.Name}} · Profile{{ end }}
{{ define "content" }}
<div class="subhead">
<div class="container">
<ul class="nav nav-tabs pull-right">
<li>
<a href="/dashboard">Dashboard</a>
</li>
<li class="active">
<a href="/account/user/profile">Settings</a>
</li>
</ul> <!-- ./nav -->
<h1 class="user">
<img src="{{.User.Image}}">
<span>{{.User.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/user/profile">Profile</a></li>
<li><a href="/account/user/password">Password</a></li>
<li><a href="/account/user/teams">Teams</a></li>
<li class="active"><a href="/account/user/delete">Delete</a></li>
</ul>
</div><!-- ./col-xs-3 -->
<div class="col-xs-9" role="main">
<div class="alert">Delete your account. <b>Warning</b> this action cannot be undone.</div>
<div class="col-xs-5">
<form action="/account/user/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" />
<a class="btn btn-default" href="/account/user/delete">Cancel</a>
</div>
</form>
</div><!-- ./col-xs-6 -->
</div><!-- ./col-xs-9 -->
</div><!-- ./row -->
</div><!-- ./container -->
{{ end }}
{{ define "script" }}
{{ end }}