* Add octicon SVG sprite Signed-off-by: jolheiser <[email protected]> * Static prefix Signed-off-by: jolheiser <[email protected]> * SVG for all repo icons Signed-off-by: jolheiser <[email protected]> * make vendor Signed-off-by: jolheiser <[email protected]> * Swap out octicons Signed-off-by: jolheiser <[email protected]> * Move octicons to top of less imports Signed-off-by: jolheiser <[email protected]> * Fix JS Signed-off-by: jolheiser <[email protected]> * Definitely not a search/replace Signed-off-by: jolheiser <[email protected]> * Missed regex Signed-off-by: jolheiser <[email protected]> * Move to more generic calls and webpack Signed-off-by: jolheiser <[email protected]> * make svg -> make webpack Signed-off-by: jolheiser <[email protected]> * Remove svg-sprite Signed-off-by: jolheiser <[email protected]> * Update tests Signed-off-by: jolheiser <[email protected]> * Missed a test Signed-off-by: jolheiser <[email protected]> * Remove svg from makefile Signed-off-by: jolheiser <[email protected]> * Suggestions Signed-off-by: jolheiser <[email protected]> * Attempt to fix test Signed-off-by: jolheiser <[email protected]> * Update tests Signed-off-by: jolheiser <[email protected]> * Revert timetracking test Signed-off-by: jolheiser <[email protected]> * Swap .octicon for .svg in less Signed-off-by: jolheiser <[email protected]> * Add aria-hidden Signed-off-by: jolheiser <[email protected]> * Replace mega-octicon Signed-off-by: jolheiser <[email protected]> * Fix webpack globbing on Windows Signed-off-by: jolheiser <[email protected]> * Revert Co-Authored-By: silverwind <[email protected]> * Fix octions from upstream Signed-off-by: jolheiser <[email protected]> * Fix Vue and missed JS function Signed-off-by: jolheiser <[email protected]> * Add JS helper and PWA Signed-off-by: jolheiser <[email protected]> * Preload SVG Signed-off-by: jolheiser <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
44 lines
1.5 KiB
Cheetah
44 lines
1.5 KiB
Cheetah
{{template "base/head" .}}
|
|
<div class="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 warning header">
|
|
{{.i18n.Tr "org.settings.delete_account"}}
|
|
</h4>
|
|
<div class="ui attached warning segment">
|
|
<div class="ui red message">
|
|
<p class="text left">{{svg "octicon-alert" 16}} {{.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" 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">
|
|
<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" .}}
|
|
</div>
|
|
{{template "base/footer" .}}
|