mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 07:04:25 +00:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
44 lines
1.5 KiB
Handlebars
44 lines
1.5 KiB
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content organization settings delete">
|
|
{{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 error header">
|
|
{{.i18n.Tr "org.settings.delete_account"}}
|
|
</h4>
|
|
<div class="ui attached error segment">
|
|
<div class="ui red message">
|
|
<p class="text left">{{svg "octicon-alert"}} {{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</p>
|
|
</div>
|
|
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
|
|
{{.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" autocomplete="off" 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>
|
|
</div>
|
|
|
|
<div class="ui small basic delete modal">
|
|
<div class="ui icon header">
|
|
{{svg "octicon-trashcan"}}
|
|
{{.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" .}}
|
|
</div>
|
|
{{template "base/footer" .}}
|