From 67293b98b51c7287e7bd93715d3324b2bc64b529 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 20 Aug 2014 17:22:57 +0200 Subject: Do not use inline CSS, update jquery while at it --- cgi/templates/display.html.ep | 59 +----------- cgi/templates/infoscreen.html.ep | 188 +-------------------------------------- cgi/templates/main.html.ep | 67 +------------- 3 files changed, 8 insertions(+), 306 deletions(-) (limited to 'cgi/templates') diff --git a/cgi/templates/display.html.ep b/cgi/templates/display.html.ep index 02f974c..e65fdc9 100644 --- a/cgi/templates/display.html.ep +++ b/cgi/templates/display.html.ep @@ -3,62 +3,11 @@ <%= $title %> - - + %= stylesheet '/display.css' + %= javascript '/jquery-2.1.1.min.js' - +
% for my $d (@{$departures}) { diff --git a/cgi/templates/infoscreen.html.ep b/cgi/templates/infoscreen.html.ep index f94e47f..47c435c 100644 --- a/cgi/templates/infoscreen.html.ep +++ b/cgi/templates/infoscreen.html.ep @@ -7,192 +7,8 @@ % } - + %= stylesheet '/infoscreen.css' + %= javascript '/jquery-2.1.1.min.js' diff --git a/cgi/templates/main.html.ep b/cgi/templates/main.html.ep index b2fb7ea..cc93bed 100644 --- a/cgi/templates/main.html.ep +++ b/cgi/templates/main.html.ep @@ -3,71 +3,8 @@ <%= $title %> - - %= javascript '/jquery-1.10.2.min.js' + %= stylesheet '/main.css' + %= javascript '/jquery-2.1.1.min.js' -- cgit v1.2.3