From 8695b61e3787009df59d7fc9a013bb4a1522d630 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 14 Mar 2016 11:17:46 +0100 Subject: move static files into separate subdirectory for easy static serving --- templates/display.html.ep | 4 ++-- templates/exception.html.ep | 2 +- templates/infoscreen.html.ep | 8 ++++---- templates/main.html.ep | 6 +++--- templates/not_found.html.ep | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/display.html.ep b/templates/display.html.ep index e65fdc9..4cf52a2 100644 --- a/templates/display.html.ep +++ b/templates/display.html.ep @@ -3,8 +3,8 @@ <%= $title %> - %= stylesheet '/display.css' - %= javascript '/jquery-2.1.1.min.js' + %= stylesheet '/static/display.css' + %= javascript '/static/jquery-2.1.1.min.js' diff --git a/templates/exception.html.ep b/templates/exception.html.ep index ca66d7c..cbbc963 100644 --- a/templates/exception.html.ep +++ b/templates/exception.html.ep @@ -4,7 +4,7 @@ vrr-infoscreen - %= stylesheet '/main.css' + %= stylesheet '/static/main.css' diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 7cdd870..0778d1f 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -8,12 +8,12 @@ % } - %= stylesheet '/infoscreen.css' + %= stylesheet '/static/infoscreen.css' % if ($self->browser->mobile) { - %= stylesheet '/mobile.css' + %= stylesheet '/static/mobile.css' % } - %= javascript '/jquery-2.1.1.min.js' - %= javascript '/collapse.js' + %= javascript '/static/jquery-2.1.1.min.js' + %= javascript '/static/collapse.js' diff --git a/templates/main.html.ep b/templates/main.html.ep index 75c8791..cb18d93 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -4,9 +4,9 @@ <%= $title %> - %= stylesheet '/main.css' - %= javascript '/jquery-2.1.1.min.js' - %= javascript '/image.js' + %= stylesheet '/static/main.css' + %= javascript '/static/jquery-2.1.1.min.js' + %= javascript '/static/image.js' diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep index 27cabc1..35ab355 100644 --- a/templates/not_found.html.ep +++ b/templates/not_found.html.ep @@ -4,7 +4,7 @@ vrr-infoscreen - %= stylesheet '/main.css' + %= stylesheet '/static/main.css' -- cgit v1.2.3