index.html 3.6 KB

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