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.

41 lines
1.2 KiB

4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
4 years ago
3 years ago
4 years ago
  1. {% import "bootstrap/wtf.html" as wtf %}
  2. {% extends "bootstrap/base.html" %}
  3. {% block title %}Technical Incompetence Link Shortener{% endblock %}
  4. {% block styles %}
  5. {{super()}}
  6. <link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
  7. {% endblock %}
  8. {% block navbar %}
  9. {% include "fragments/navbar.j2" %}
  10. {% endblock %}
  11. {% block content %}
  12. <iframe id="apps" src="https://technicalincompetence.club/frame" width="305" height="400" class="shadow-lg overlay-frame" style="display: none;"></iframe>
  13. <div id="overlay" style="display: none;" onclick="showApps();"></div>
  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. {{wtf.quick_form(form, novalidate=True)}}
  26. </div>
  27. {% endblock %}
  28. {% block scripts %}
  29. {{ super () }}
  30. <script>
  31. function showApps () {
  32. $("#apps").toggle();
  33. $("#overlay").toggle();
  34. }
  35. </script>
  36. {% endblock %}