2015-09-06 23:25:08 +08:00
|
|
|
{{template "base/head" .}}
|
2023-02-02 06:56:10 +08:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content organization settings delete">
|
2015-12-08 06:30:52 +08: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" .}}
|
2020-10-05 04:54:22 +08:00
|
|
|
<h4 class="ui top attached error header">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{.locale.Tr "org.settings.delete_account"}}
|
2015-12-08 06:30:52 +08:00
|
|
|
</h4>
|
2020-10-05 04:54:22 +08:00
|
|
|
<div class="ui attached error segment">
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui red message">
|
2022-06-28 04:58:46 +08:00
|
|
|
<p class="text left">{{svg "octicon-alert"}} {{.locale.Tr "org.settings.delete_prompt" | Str2html}}</p>
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
2018-03-23 22:10:42 +08:00
|
|
|
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
|
2015-12-08 06:30:52 +08:00
|
|
|
{{.CsrfTokenHtml}}
|
2021-03-01 22:33:05 +08:00
|
|
|
<div class="inline required field {{if .Err_OrgName}}error{{end}}">
|
2022-06-28 04:58:46 +08:00
|
|
|
<label for="org_name">{{.locale.Tr "org.org_name_holder"}}</label>
|
2021-03-01 22:33:05 +08:00
|
|
|
<input id="org_name" name="org_name" value="" autocomplete="off" autofocus required>
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
2023-03-14 11:34:09 +08:00
|
|
|
<button class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{.locale.Tr "org.settings.confirm_delete_account"}}
|
2023-03-14 11:34:09 +08:00
|
|
|
</button>
|
2015-12-08 06:30:52 +08:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-09-06 23:25:08 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui small basic delete modal">
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui icon header">
|
2021-03-22 12:04:19 +08:00
|
|
|
{{svg "octicon-trash"}}
|
2022-06-28 04:58:46 +08:00
|
|
|
{{.locale.Tr "org.settings.delete_org_title"}}
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
2022-06-28 04:58:46 +08:00
|
|
|
<p>{{.locale.Tr "org.settings.delete_org_desc"}}</p>
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
|
|
|
{{template "base/delete_modal_actions" .}}
|
2014-08-14 14:12:21 +08:00
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
{{template "base/footer" .}}
|