delete.tmpl 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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"><i class="octicon octicon-alert"></i> {{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</p>
  15. </div>
  16. <form class="ui form" 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" .}}