index.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {% extends 'layout.html' %}
  2. {% block content %}
  3. <div class="row justify-content-center mt-5">
  4. <div class="col-sm-12 col-md-8 col-lg-6">
  5. <div class="card shadow">
  6. <div class="card-body">
  7. {% if context.reset_url_error == True %}
  8. <div class="text-danger text-center">
  9. <i class="ri-alert-fill"></i> ILS Reset URL not valid. Please contact your system administrator.
  10. </div>
  11. {% else %}
  12. {% if context.reset == False %}
  13. <p class="lead">
  14. ILS passwords expire every 90 days. Be sure to complete this entire process to ensure your password is reset correctly.
  15. </p>
  16. <ol>
  17. <li class="mb-3">Provide your ILS account username.</li>
  18. <li class="mb-3">Click on the "Start ILS Password Reset" button to be directed to the Lynx Terminal web page.</li>
  19. <li>Log into the {{ context.domain }} terminal web page using your current credentials.</li>
  20. <li class="mb-3">Once logged in, click on the link to reset your password.</li>
  21. <li class="mb-3">Complete the required form to complete the password reset process.
  22. <br><b>Note:</b> <i>domain/user name</i> field needs to be in the following format: <div class="text-center"><code style="display:block; padding-top:10px; font-size:1.25em;">{{ context.domain }}/username</code></div></li>
  23. </ol>
  24. <div class="text-center">
  25. <form action="/" method="post">
  26. {% if context.error %}
  27. <div class="text-danger text-center">
  28. <i class="ri-alert-fill"></i> {{ context.error }}
  29. </div>
  30. {% endif %}
  31. <div class="mb-3 text-center mt-2">
  32. <input type="text" class="form-control" id="username" name="username" placeholder="ILS user account" required>
  33. </div>
  34. <div class="text-center mb-1">
  35. <button type="submit" class="btn btn-primary w-100">Start ILS Password Reset</button>
  36. </div>
  37. </form>
  38. </div>
  39. {% else %}
  40. <div class="text-center">
  41. <h3>Steps to complete</h3>
  42. <p>A new tab should have opened to the {{ context.domain }} terminal website. If not, click <a href="{{ context.reset_url }}" target="_blank">here</a> to open the terminal page to complete the following steps:</p>
  43. </div>
  44. <ol>
  45. <li class="mb-3">Log into the {{ context.domain }} terminal web page using your current credentials.</li>
  46. <li class="mb-3">Once logged in, click on the link to reset your password.</li>
  47. <li class="mb-3">Submit the required form to complete the password reset process.
  48. <br><b>Note:</b> <i>domain/user name</i> field needs to be in the following format: <div class="text-center"><code style="display:block; padding-top:10px; font-size:1.25em;">{{ context.domain }}/username</code></div></li>
  49. </ol>
  50. <p class="text-center">
  51. This window can be closed.
  52. </p>
  53. {% endif %}
  54. {% endif %}
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. {% endblock %}