Browse Source

script presunut dolu pod april

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

23
mamweb/templates/base.html

@ -35,18 +35,6 @@
{# script specifický pro stránku #}
{% 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>
<body class='{{ LOCAL_TEST_PROD }}web{% if user.is_staff %} org-logged-in{% endif %}'>
@ -217,6 +205,17 @@
walkText(document.body);
</script>
{% 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 %}
</body>

Loading…
Cancel
Save