mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 18:31:00 +00:00
57 lines
No EOL
1.6 KiB
HTML
57 lines
No EOL
1.6 KiB
HTML
{{ 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 }} |