0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 13:54:22 +01:00
gitea/templates/user/delete.tmpl

38 lines
1.9 KiB
Cheetah
Raw Normal View History

2014-02-20 03:45:43 +01:00
{{template "base/head" .}}
{{template "base/navbar" .}}
2014-03-25 11:44:37 +01:00
<div id="body" class="container" data-page="user">
2014-04-11 00:09:57 +02:00
{{template "user/setting_nav" .}}
2014-03-25 11:44:37 +01:00
<div id="user-setting-container" class="col-md-9">
<h4>Delete Account</h4>
2014-04-10 22:36:50 +02:00
{{template "base/alert" .}}
{{if not .Flash.ErrorMsg}}<p class="alert alert-danger">The operation will delete your account permanently. Sorry to see you go, but we know you'll back soon.</p>{{end}}
<div class="form-group">
2014-03-25 11:44:37 +01:00
<button type="submit" class="btn btn-danger btn-lg" href="#delete-account-modal" id="delete-account" data-toggle="modal">Delete Account</button>
</div>
</div>
2014-04-10 22:36:50 +02:00
<div class="modal fade" id="delete-account-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
2014-03-25 11:44:37 +01:00
<form action="/user/delete" method="post" class="modal-content" id="user-delete">
2014-03-22 18:44:02 +01:00
{{.CsrfTokenHtml}}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">Delete Account</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label>Make sure your are owner of this account. Please enter your password.<strong class="text-danger">*</strong></label>
<input name="password" class="form-control" type="password" placeholder="Type your account password" required="required">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="submit" class="btn btn-danger">Delete</button>
2014-03-11 04:41:38 +01:00
</div>
</form>
</div>
2014-03-11 04:41:38 +01:00
</div>
</div>
2014-02-20 03:45:43 +01:00
{{template "base/footer" .}}