summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorroot <root@lalalizard.com>2012-12-14 11:38:03 -0500
committerroot <root@lalalizard.com>2012-12-14 11:38:03 -0500
commit4c1b8e7696ce133efd46e6b35b2ee9a5d1074e06 (patch)
treead7fa9647dfd91fb2ae69adacb2f4abb9bbc94f8 /frontend
parentea7397ef1565f247b2eae2faf55f390392b45ef3 (diff)
fix static_prefix
Diffstat (limited to 'frontend')
-rw-r--r--frontend/templates/directory.html6
-rw-r--r--frontend/templates/topvideos.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/frontend/templates/directory.html b/frontend/templates/directory.html
index 00383ef..c133796 100644
--- a/frontend/templates/directory.html
+++ b/frontend/templates/directory.html
@@ -116,7 +116,7 @@ li span.score
}
.cloudleft
{
- background-image: url(/bgz/cloudz1.png);
+ background-image: url({{STATIC_PREFIX}}/bgz/cloudz1.png);
position: fixed;
bottom: 0;
left: 0;
@@ -128,7 +128,7 @@ li span.score
}
.cloudright
{
- background-image: url(/bgz/cloudz2.png);
+ background-image: url({{STATIC_PREFIX}}/bgz/cloudz2.png);
position: fixed;
bottom: 0;
right: 0;
@@ -217,7 +217,7 @@ h2
</head>
<body>
<section id="logo">
- <a href="/"><img src="http://scannerjammer.fm/img/scanjam-title.gif" width="347" height="44" id="scanjam" border="0" /></a>
+ <a href="/"><img src="{{STATIC_PREFIX}}img/scanjam-title.gif" width="347" height="44" id="scanjam" border="0" /></a>
<h1 id="header">high score directory</h1>
</section>
<section id="logobg"></section>
diff --git a/frontend/templates/topvideos.html b/frontend/templates/topvideos.html
index b070577..edc512e 100644
--- a/frontend/templates/topvideos.html
+++ b/frontend/templates/topvideos.html
@@ -102,11 +102,11 @@ background-image: -moz-linear-gradient(
<script type="text/javascript">
serverHost = "{{ SERVER_HOST }}"
serverPort = {{ SERVER_PORT }}
-var todayVideoQueue = {{ top_today }}
+var todayVideoQueue = {{ top_today|safe }}
var todayVideoQueueTitle = "Today"
-var yesterdayVideoQueue = {{ top_yesterday }}
+var yesterdayVideoQueue = {{ top_yesterday|safe }}
var yesterdayVideoQueueTitle = "Yesterday"
-var topVideoQueue = {{ top_alltime }}
+var topVideoQueue = {{ top_alltime|safe }}
var topVideoQueueTitle = "All Time"
</script>
<script type="text/javascript" src="{{ STATIC_PREFIX }}js/jquery-1.5.2.min.js"></script>