base.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html lang="ru">
  3. <head>
  4. <meta charset="utf-8">
  5. <script type="text/javascript" src="qrc:///qtwebchannel/qwebchannel.js"></script>
  6. <link rel="stylesheet" href="{{ 'bootstrap/css/bootstrap.min.css'|staticfile }}">
  7. <link rel="stylesheet" href="{{ 'fontawesome/css/all.min.css'|staticfile }}">
  8. <link rel="stylesheet" href="{{ 'frontend/css/frontend.css'|staticfile }}">
  9. {% block css %}{% endblock css %}
  10. <title>{% block title %}{% endblock title %}</title>
  11. </head>
  12. <body>
  13. {% block content %}{% endblock content %}
  14. <script type="text/javascript">
  15. var Backend;
  16. window.onload = function() {
  17. new QWebChannel(qt.webChannelTransport, function(channel) {
  18. Backend = channel.objects.Backend;
  19. });
  20. }
  21. </script>
  22. <script type="text/javascript" src="{{ 'jquery/jquery-3.3.1.min.js'|staticfile }}"></script>
  23. <script type="text/javascript" src="{{ 'jquery/jquery.color.min.js'|staticfile }}"></script>
  24. <script type="text/javascript" src="{{ 'popper/popper.min.js'|staticfile }}"></script>
  25. <script type="text/javascript" src="{{ 'bootstrap/js/bootstrap.min.js'|staticfile }}"></script>
  26. <script type="text/javascript" src="{{ 'frontend/js/frontend.js'|staticfile }}"></script>
  27. <script type="text/javascript">
  28. $(document).ready(function() {
  29. });
  30. </script>
  31. {% block javascript %}{% endblock javascript %}
  32. </body>
  33. </html>