summaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/layouts/default.html.ep5
-rw-r--r--cgi/templates/multi.html.ep2
-rw-r--r--cgi/templates/single.html.ep2
3 files changed, 9 insertions, 0 deletions
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
index 8d4db7c..3ab805b 100644
--- a/cgi/templates/layouts/default.html.ep
+++ b/cgi/templates/layouts/default.html.ep
@@ -180,6 +180,11 @@
}
</style>
+ %= javascript 'jquery-1.9.1.min.js'
+ %= javascript 'marquee.js'
+ %= javascript begin
+ $(function () { $('marquee').marquee() });
+ % end
</head>
<body>
diff --git a/cgi/templates/multi.html.ep b/cgi/templates/multi.html.ep
index 530de01..8201867 100644
--- a/cgi/templates/multi.html.ep
+++ b/cgi/templates/multi.html.ep
@@ -33,7 +33,9 @@
% if ($departure->{info}) {
<div class="info">
+<marquee behaviour="scroll" scrollamount="1" direction="left">
%= $departure->{info}
+</marquee>
</div>
% }
diff --git a/cgi/templates/single.html.ep b/cgi/templates/single.html.ep
index 916c5b5..413ffeb 100644
--- a/cgi/templates/single.html.ep
+++ b/cgi/templates/single.html.ep
@@ -26,7 +26,9 @@
</div>
% if ($departure->{info}) {
<div class="s_info">
+<marquee behaviour="scroll" scrollamount="1" direction="left">
%= $departure->{info}
+</marquee>
</div>
% }
</div> <!-- s_display -->