delete.tmpl 2.1 KB

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