fix: use static template

Fix_link_to_HSWAW
Dariusz Niemczyk 2024-01-12 18:56:08 +01:00
rodzic d1b9beca6d
commit ee2c93908a
Nie znaleziono w bazie danych klucza dla tego podpisu
2 zmienionych plików z 17 dodań i 7 usunięć

Wyświetl plik

@ -1,9 +1,11 @@
{% load static %}
<!DOCTYPE html>
<style>
@font-face {
font-family: "Press Start 2P";
src: url("static/fonts/pressstart2p-regular-webfont.woff2") format("woff2"),
url("static/fonts/pressstart2p-regular-webfont.woff") format("woff");
src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"),
url("{% fonts/pressstart2p-regular-webfont.woff %}") format("woff");
font-weight: normal;
font-style: normal;
}
@ -24,6 +26,7 @@
font-family: "Press Start 2P", cursive;
box-sizing: border-box;
}
#app {
padding: 1rem;
background: black;
@ -35,20 +38,25 @@
text-shadow: 0px 0px var(--glowSize);
font-size: 6rem;
flex-direction: column;
.txt {
font-size: 1.8rem;
}
}
@keyframes blink {
0% {
opacity: 0;
}
49% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 1;
}
@ -61,8 +69,9 @@
}
</style>
<html lang="en">
<div id="app">
<div>500</div>
<div class="txt">Something went wrong...<span class="blink">_</span></div>
</div>
<div id="app">
<div>500</div>
<div class="txt">Something went wrong...<span class="blink">_</span></div>
</div>
</html>

Wyświetl plik

@ -1,3 +1,4 @@
{% if category and category.icon_id %}
<div class="containericon" title="{{ category.name }}"><img src="/static/icons/{{ category.icon_id }}.svg" /></div>
<div class="containericon" title="{{ category.name }}"><img src="{% static /icons/{{ category.icon_id }}.svg %}" />
</div>
{% endif %}