summaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-08-20 17:37:38 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-08-20 17:37:38 +0200
commit9d09737ac16b1f3715c38f57830b41a3269d85d9 (patch)
tree69c8cd1fe4c3ac07481e5a8bc611b1d5466a7949 /cgi/templates
parent67293b98b51c7287e7bd93715d3324b2bc64b529 (diff)
do not use inline js as well
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/main.html.ep13
1 files changed, 1 insertions, 12 deletions
diff --git a/cgi/templates/main.html.ep b/cgi/templates/main.html.ep
index cc93bed..8f42291 100644
--- a/cgi/templates/main.html.ep
+++ b/cgi/templates/main.html.ep
@@ -5,6 +5,7 @@
<meta charset="utf-8">
%= stylesheet '/main.css'
%= javascript '/jquery-2.1.1.min.js'
+ %= javascript '/image.js'
</head>
<body>
@@ -164,17 +165,5 @@ shorten destination names</li>
v<%= $version %>
</div>
-%= javascript begin
-function reloadDisplay() {
- d = new Date();
- $("#display").attr("src", "../<%= $city %>/<%= $stop %>.<%= $frontend %>?<%= $params %>&r="+d.getTime())
- setTimeout('reloadDisplay()', 60000);
-}
-
-setTimeout('reloadDisplay()', 60000);
-% end
-
</body>
-
-
</html>