app.twig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {#
  2. /**
  3. * Public Printer Control System
  4. *
  5. * Copyright © 2018 - 2019, Aaron Speer, aaron.speerfamily.ie ajamesspeer@gmail.com.
  6. * All Rights Reserved.
  7. */
  8. #}
  9. <!DOCTYPE html>
  10. <!--
  11. /**
  12. * Public Printer Control System
  13. *
  14. * Copyright © 2018 - 2019, Aaron Speer, aaron.speerfamily.ie ajamesspeer@gmail.com.
  15. * All Rights Reserved.
  16. */
  17. -->
  18. <html lang="en">
  19. <head>
  20. <title>{{name}} Print</title>
  21. <meta charset="utf-8">
  22. <meta name="viewport" content="width=device-width, initial-scale=1">
  23. <link rel="stylesheet" href="/assets/style.css">
  24. <link rel="stylesheet" href="/assets/yetibootstrap.min.css" media="bogus">
  25. <link rel="shortcut icon" type="image/x-icon" href="/assets/favicon.ico">
  26. </head>
  27. <body>
  28. {% include "templates/partials/navigation.twig" %}
  29. <div class="container">
  30. {% block content %}{% endblock %}
  31. </div>
  32. <div class="footer">
  33. <p class="text-muted"><br>Powered By Public Printer Control System<br>
  34. Copyright <a href="https://aaron.speerfamily.ie">Aaron Speer</a>, © 2016-{{ "now"|date("Y") }},<br>
  35. </div>
  36. <link rel="stylesheet" href="/assets/yetibootstrap.min.css">
  37. <script src="/assets/jquery.min.js"></script>
  38. <script src="/assets/bootstrap.min.js"></script>
  39. {% block js %}{% endblock %}
  40. {% if config["https"] %}
  41. <script>
  42. var host = "{{ config["host"] }}";
  43. if ((host == window.location.host) && (window.location.protocol != "https:"))
  44. window.location.protocol = "https";
  45. </script>
  46. {% endif %}
  47. </body>
  48. </html>