id_v1_login.tmpl 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Login</title>
  5. <link rel="stylesheet" text="text/css" href="/static/style.css">
  6. </head>
  7. <body>
  8. <div>
  9. <div class="content-box">
  10. <h1>Login</h1>
  11. <form action="login" method="POST">
  12. <table class="content-table">
  13. {{ #each error_msg }}
  14. <tr>
  15. <td colspan="3">
  16. <div class="error-msg">{{ this }}</div>
  17. </td>
  18. </tr>
  19. {{ /each }}
  20. {{ #each info_msg }}
  21. <tr>
  22. <td colspan="3">
  23. <div class="info-msg">{{ this }}</div>
  24. </td>
  25. </tr>
  26. {{ /each }}
  27. <tr>
  28. {{{ challenge }}}
  29. <td>
  30. <input type="submit" value=">" />
  31. </td>
  32. </tr>
  33. <tr>
  34. <td colspan="3">
  35. <input type="hidden" name="redirect" value="{{ redirect }}" />
  36. <input type="submit" name="reset" value="Start over" />
  37. </td>
  38. </tr>
  39. </table>
  40. </form>
  41. <ul>
  42. {{ #if show_gh_login }}
  43. <li><a href="{{ gh_login_url }}">Log in with GitHub</a></li>
  44. {{ /if }}
  45. </ul>
  46. </div>
  47. <div class="footer">
  48. Copyright &copy; Kestrel 2024. Released under the terms of the 4-clause BSD license.
  49. </div>
  50. </div>
  51. </body>
  52. </html>