delete.tmpl 2.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. {{template "org/base/header" .}}
  4. <div id="setting-wrapper" class="main-wrapper">
  5. <div id="org-setting" class="container clear">
  6. {{template "org/settings/nav" .}}
  7. <div class="grid-4-5 left">
  8. <div class="setting-content">
  9. {{template "ng/base/alert" .}}
  10. <div id="setting-content">
  11. <div id="user-profile-setting-content" class="panel panel-warning panel-radius">
  12. <p class="panel-header"><strong>{{.i18n.Tr "org.settings.delete_account"}}</strong></p>
  13. <div class="panel-body panel-content">
  14. <span class="alert alert-red alert-radius block"><i class="octicon octicon-alert"></i>{{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</span>
  15. <form id="delete-org-form" action="{{AppSubUrl}}/org/{{.Org.LowerName}}/settings/delete" method="post">
  16. {{.CsrfTokenHtml}}
  17. <p class="field">
  18. <span class="form-label"></span>
  19. <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>
  20. </p>
  21. </form>
  22. <div class="white-popup-block mfp-hide" id="delete-org-modal">
  23. <h1 class="text-red">{{.i18n.Tr "org.settings.delete_org_title"}}</h1>
  24. <p>{{.i18n.Tr "org.settings.delete_org_desc"}}</p>
  25. <br>
  26. <button class="btn btn-red btn-large btn-radius" id="delete-org-submit">{{.i18n.Tr "settings.continue"}}</button>
  27. <button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button>
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. {{template "ng/base/footer" .}}