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

59 lines
1.4 KiB

  1. {% load hc_extras %}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <title>Continue to {% site_name %}</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. </head>
  9. <body>
  10. <form id="form-auto" method="post">{% csrf_token %}</form>
  11. <script>
  12. document.getElementById("form-auto").submit();
  13. </script>
  14. <style>
  15. body {
  16. font-family: Arial;
  17. text-align: center;
  18. margin: 10em;
  19. }
  20. input {
  21. display: inline-block;
  22. margin-bottom: 0;
  23. font-weight: normal;
  24. text-align: center;
  25. vertical-align: middle;
  26. touch-action: manipulation;
  27. cursor: pointer;
  28. background-image: none;
  29. border: 1px solid transparent;
  30. white-space: nowrap;
  31. padding: 10px 16px;
  32. font-size: 18px;
  33. line-height: 1.3333333;
  34. border-radius: 6px;
  35. color: #ffffff;
  36. background-color: #22bc66;
  37. border-color: #1ea65a;
  38. }
  39. </style>
  40. <noscript>
  41. <p>You are about to log into {% site_name %}.</p>
  42. <p>Please press the button below to continue:</p>
  43. <br />
  44. <form id="form" method="post">
  45. {% csrf_token %}
  46. <input
  47. id="submit-btn"
  48. type="submit"
  49. class="btn btn-lg btn-primary"
  50. value="Continue to {% site_name %}">
  51. </form>
  52. </noscript>
  53. </body>
  54. </html>