Guest User

Untitled

a guest
Aug 22nd, 2019
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. {% load static %}
  4. {% load crispy_forms_tags %}
  5. <head>
  6. <link rel="shortcut icon" href="{% static 'favicon-32x32.png' %}">
  7. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  9. <meta charset="UTF-8">
  10. {# Sets page ready for mobile use#}
  11. <title>Log-In</title>
  12. <style>
  13. html,body{
  14. height:100%;
  15. }
  16.  
  17. .flex-fill {
  18. flex:1;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  24. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  25. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  26. <div class="container-fluid d-flex h-100 flex-column">
  27. <div class="row h-100 border">
  28. <div class="col-sm-5 my auto"></div>
  29. <div class="col-sm-2 my-auto">
  30. <h2 class="text-center">Login</h2>
  31. <div>
  32. <form class="text-center" method="post">
  33. {% csrf_token %}
  34. {{ form | crispy}}
  35. <button class="btn btn-primary" type="submit">Login</button>
  36. </form>
  37. </div>
  38. <div class="text-center">
  39. <a href={% url 'password_reset' %}>Forgot my Password</a>
  40. </div>
  41. <div class="text-center">
  42. <a class="btn btn-secondary text-center border" href="https://www.texasakpsi.com">Return to Website</a>
  43. </div>
  44. </div>
  45. <div class="col-sm-5 my auto"></div>
  46. </div>
  47. </div>
  48. </body>
  49. </html>
RAW Paste Data