forked from wiktor/spejstore-new
fix: use static template
This commit is contained in:
parent
d1b9beca6d
commit
ee2c93908a
|
@ -1,9 +1,11 @@
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Press Start 2P";
|
font-family: "Press Start 2P";
|
||||||
src: url("static/fonts/pressstart2p-regular-webfont.woff2") format("woff2"),
|
src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"),
|
||||||
url("static/fonts/pressstart2p-regular-webfont.woff") format("woff");
|
url("{% fonts/pressstart2p-regular-webfont.woff %}") format("woff");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
@ -24,6 +26,7 @@
|
||||||
font-family: "Press Start 2P", cursive;
|
font-family: "Press Start 2P", cursive;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background: black;
|
background: black;
|
||||||
|
@ -35,20 +38,25 @@
|
||||||
text-shadow: 0px 0px var(--glowSize);
|
text-shadow: 0px 0px var(--glowSize);
|
||||||
font-size: 6rem;
|
font-size: 6rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.txt {
|
.txt {
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
49% {
|
49% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
@ -61,8 +69,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<div>500</div>
|
<div>500</div>
|
||||||
<div class="txt">Something went wrong...<span class="blink">_</span></div>
|
<div class="txt">Something went wrong...<span class="blink">_</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{% if category and category.icon_id %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue