You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

delete.tmpl 1.5 kB

Add Octicon SVG spritemap (#10107) * Add octicon SVG sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Static prefix Signed-off-by: jolheiser <john.olheiser@gmail.com> * SVG for all repo icons Signed-off-by: jolheiser <john.olheiser@gmail.com> * make vendor Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap out octicons Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move octicons to top of less imports Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix JS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Definitely not a search/replace Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed regex Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move to more generic calls and webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * make svg -> make webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg-sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed a test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg from makefile Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Attempt to fix test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert timetracking test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap .octicon for .svg in less Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add aria-hidden Signed-off-by: jolheiser <john.olheiser@gmail.com> * Replace mega-octicon Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix webpack globbing on Windows Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert Co-Authored-By: silverwind <me@silverwind.io> * Fix octions from upstream Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix Vue and missed JS function Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add JS helper and PWA Signed-off-by: jolheiser <john.olheiser@gmail.com> * Preload SVG Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {{template "base/head" .}}
  2. <div class="organization settings delete">
  3. {{template "org/header" .}}
  4. <div class="ui container">
  5. <div class="ui grid">
  6. {{template "org/settings/navbar" .}}
  7. <div class="twelve wide column content">
  8. {{template "base/alert" .}}
  9. <h4 class="ui top attached warning header">
  10. {{.i18n.Tr "org.settings.delete_account"}}
  11. </h4>
  12. <div class="ui attached warning segment">
  13. <div class="ui red message">
  14. <p class="text left">{{svg "octicon-alert" 16}} {{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</p>
  15. </div>
  16. <form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
  17. {{.CsrfTokenHtml}}
  18. <input class="fake" type="password">
  19. <div class="inline required field {{if .Err_Password}}error{{end}}">
  20. <label for="password">{{.i18n.Tr "password"}}</label>
  21. <input id="password" name="password" type="password" autofocus required>
  22. </div>
  23. <div class="ui red button delete-button" data-type="form" data-form="#delete-form">
  24. {{.i18n.Tr "org.settings.confirm_delete_account"}}
  25. </div>
  26. </form>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="ui small basic delete modal">
  33. <div class="ui icon header">
  34. <i class="trash icon"></i>
  35. {{.i18n.Tr "org.settings.delete_org_title"}}
  36. </div>
  37. <div class="content">
  38. <p>{{.i18n.Tr "org.settings.delete_org_desc"}}</p>
  39. </div>
  40. {{template "base/delete_modal_actions" .}}
  41. </div>
  42. {{template "base/footer" .}}