Browse Source

script presunut dolu pod april

pull/62/head
ticvac 1 month ago
parent
commit
8dca676edc
  1. 23
      mamweb/templates/base.html

23
mamweb/templates/base.html

@ -35,18 +35,6 @@
{# script specifický pro stránku #} {# script specifický pro stránku #}
{% block script %}{% endblock %} {% block script %}{% endblock %}
<!-- Halloween 2024 -->
{% if halloween == 2024 %}
<script>
function printHalloween() {
console.log("Halloween 2024");
body = document.getElementsByTagName('body')[0];
body.style.fontFamily = 'GhoulFace';
}
window.onload = printHalloween;
</script>
{% endif %}
</head> </head>
<body class='{{ LOCAL_TEST_PROD }}web{% if user.is_staff %} org-logged-in{% endif %}'> <body class='{{ LOCAL_TEST_PROD }}web{% if user.is_staff %} org-logged-in{% endif %}'>
@ -218,6 +206,17 @@
</script> </script>
{% endif %} {% endif %}
{% if halloween == 2024 %}
<script>
function printHalloween() {
console.log("Halloween 2024");
body = document.getElementsByTagName('body')[0];
body.style.fontFamily = 'GhoulFace';
}
window.onload = printHalloween;
</script>
{% endif %}
{% block js %}{% endblock %} {% block js %}{% endblock %}
</body> </body>
</html> </html>

Loading…
Cancel
Save