2015-09-06 17:25:08 +02:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="organization settings delete">
|
2015-12-07 23:30:52 +01:00
|
|
|
{{template "org/header" .}}
|
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui grid">
|
|
|
|
{{template "org/settings/navbar" .}}
|
|
|
|
<div class="twelve wide column content">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<h4 class="ui top attached warning header">
|
|
|
|
{{.i18n.Tr "org.settings.delete_account"}}
|
|
|
|
</h4>
|
|
|
|
<div class="ui attached warning segment">
|
|
|
|
<div class="ui red message">
|
|
|
|
<p class="text left"><i class="octicon octicon-alert"></i> {{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</p>
|
|
|
|
</div>
|
2018-03-23 15:10:42 +01:00
|
|
|
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
|
2015-12-07 23:30:52 +01:00
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<input class="fake" type="password">
|
|
|
|
<div class="inline required field {{if .Err_Password}}error{{end}}">
|
|
|
|
<label for="password">{{.i18n.Tr "password"}}</label>
|
|
|
|
<input id="password" name="password" type="password" autofocus required>
|
|
|
|
</div>
|
|
|
|
<div class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
|
|
|
{{.i18n.Tr "org.settings.confirm_delete_account"}}
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-09-06 17:25:08 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui small basic delete modal">
|
2015-12-07 23:30:52 +01:00
|
|
|
<div class="ui icon header">
|
|
|
|
<i class="trash icon"></i>
|
|
|
|
{{.i18n.Tr "org.settings.delete_org_title"}}
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p>{{.i18n.Tr "org.settings.delete_org_desc"}}</p>
|
|
|
|
</div>
|
|
|
|
{{template "base/delete_modal_actions" .}}
|
2014-08-14 08:12:21 +02:00
|
|
|
</div>
|
2015-12-07 23:30:52 +01:00
|
|
|
{{template "base/footer" .}}
|