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.

30 lines
1.1 KiB

4 years ago
  1. {% extends "bootstrap/base.html" %}
  2. {% block title %}IT'S COMING{% endblock %}
  3. {% block styles %}
  4. {{super()}}
  5. <link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
  6. {% if countdown is defined or final_countdown is defined %}
  7. <link rel="stylesheet" href="{{url_for('.static', filename='final_clock.css')}}">
  8. <link rel="stylesheet" href="{{url_for('.static', filename='glitch.css')}}">
  9. {% endif %}
  10. {% endblock %}
  11. {% block content %}
  12. <div class="crt" style="margin: auto; overflow: hidden;">
  13. <div id="clockdiv" class="wrap">
  14. <div id='glitch' class="glitch" data-text=""><span class="days"></span><span class="colon">:</span><span class="hours"></span><span class="colon">:</span><span class="minutes"></span><span class="colon">:</span><span class="seconds"></span></div>
  15. </div>
  16. </div>
  17. <br>
  18. {% endblock %}
  19. {% block scripts %}
  20. {{ super () }}
  21. {% if final_countdown is defined %}
  22. <script>
  23. const deadline = '{{ final_countdown['timestamp'] }}';
  24. const tripName = '{{ final_countdown['name'] }}';
  25. </script>
  26. <script src="{{url_for('.static', filename='final_clock.js')}}"></script>
  27. {% endif %}
  28. {% endblock %}