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.

37 lines
1.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
  1. {% import "bootstrap/wtf.html" as wtf %}
  2. {% extends "bootstrap/base.html" %}
  3. {% block title %}Manage your Technical Incompetence account{% endblock %}
  4. {% block styles %}
  5. {{super()}}
  6. <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
  7. {% endblock %}
  8. {% block navbar %}
  9. <nav class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
  10. <div class="navbar-brand">Technical Incompetence Account</div>
  11. </nav>
  12. {% endblock %}
  13. {% block content %}
  14. <div class="container" style="margin-top: 15px">
  15. <div class="jumbotron">
  16. <h1>Sign in for our awesome service</h1>
  17. <p>Forgot your password? Too bad! We don't have emails working yet!</p>
  18. </div>
  19. <div class="col-md-12">
  20. {% if error is defined %}
  21. <div id="error-alert" class="alert alert-danger" role="alert">
  22. {{ error }}
  23. </div>
  24. {% endif %}
  25. {# <form role="form" action="{{ url_for('auth.login') }}" method="post">
  26. {{ form.csrf_token }}
  27. <div class="form-group">{{ form.username.label }}: {{ form.username() }}</div><br>
  28. <div class="form-group">{{ form.password.label }}: {{ form.password() }}</div><br>
  29. <button type="submit" class="btn btn-primary">Log In</button>
  30. </form> #}
  31. {{wtf.quick_form(form, novalidate=True)}}
  32. </div>
  33. {% endblock %}