2014-08-14 14:12:21 +08:00
|
|
|
{{template "ng/base/head" .}}
|
|
|
|
{{template "ng/base/header" .}}
|
2014-08-23 20:24:02 +08:00
|
|
|
{{template "org/base/header" .}}
|
2014-08-14 14:12:21 +08:00
|
|
|
<div id="setting-wrapper" class="main-wrapper">
|
|
|
|
<div id="org-setting" class="container clear">
|
|
|
|
{{template "org/settings/nav" .}}
|
|
|
|
<div class="grid-4-5 left">
|
|
|
|
<div class="setting-content">
|
|
|
|
{{template "ng/base/alert" .}}
|
|
|
|
<div id="setting-content">
|
|
|
|
<div id="user-profile-setting-content" class="panel panel-warning panel-radius">
|
|
|
|
<p class="panel-header"><strong>{{.i18n.Tr "org.settings.delete_account"}}</strong></p>
|
|
|
|
<div class="panel-body panel-content">
|
|
|
|
<span class="alert alert-red alert-radius block"><i class="octicon octicon-alert"></i>{{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</span>
|
2014-09-28 13:38:25 +08:00
|
|
|
<form id="delete-org-form" action="{{AppSubUrl}}/org/{{.Org.LowerName}}/settings/delete" method="post">
|
2014-08-14 14:12:21 +08:00
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<p class="field">
|
|
|
|
<span class="form-label"></span>
|
2014-09-28 13:38:25 +08:00
|
|
|
<button class="btn btn-red btn-large btn-radius" id="delete-org-btn" href="#delete-org-modal">{{.i18n.Tr "org.settings.confirm_delete_account"}}</button>
|
2014-08-14 14:12:21 +08:00
|
|
|
</p>
|
|
|
|
</form>
|
2014-09-28 13:38:25 +08:00
|
|
|
<div class="white-popup-block mfp-hide" id="delete-org-modal">
|
|
|
|
<h1 class="text-red">{{.i18n.Tr "org.settings.delete_org_title"}}</h1>
|
|
|
|
<p>{{.i18n.Tr "org.settings.delete_org_desc"}}</p>
|
|
|
|
<br>
|
|
|
|
<button class="btn btn-red btn-large btn-radius" id="delete-org-submit">{{.i18n.Tr "settings.continue"}}</button>
|
|
|
|
<button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button>
|
|
|
|
</div>
|
2014-08-14 14:12:21 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "ng/base/footer" .}}
|