diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-03-14 11:17:46 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-03-14 11:17:46 +0100 |
commit | 8695b61e3787009df59d7fc9a013bb4a1522d630 (patch) | |
tree | 883e260a2fdad1b6f39eefbb9bcd815ac7eb8715 | |
parent | 5fab5f4516b7c01c7e6b920f9d9f6280275e929d (diff) |
move static files into separate subdirectory for easy static serving
-rw-r--r-- | public/static/VRRR.ttf (renamed from public/VRRR.ttf) | bin | 139372 -> 139372 bytes | |||
-rw-r--r-- | public/static/collapse.js (renamed from public/collapse.js) | 0 | ||||
-rw-r--r-- | public/static/display.css (renamed from public/display.css) | 2 | ||||
-rw-r--r-- | public/static/image.js (renamed from public/image.js) | 0 | ||||
-rw-r--r-- | public/static/infoscreen.css (renamed from public/infoscreen.css) | 0 | ||||
-rw-r--r-- | public/static/jquery-2.1.1.min.js (renamed from public/jquery-2.1.1.min.js) | 0 | ||||
-rw-r--r-- | public/static/main.css (renamed from public/main.css) | 0 | ||||
-rw-r--r-- | public/static/mobile.css (renamed from public/mobile.css) | 0 | ||||
-rw-r--r-- | templates/display.html.ep | 4 | ||||
-rw-r--r-- | templates/exception.html.ep | 2 | ||||
-rw-r--r-- | templates/infoscreen.html.ep | 8 | ||||
-rw-r--r-- | templates/main.html.ep | 6 | ||||
-rw-r--r-- | templates/not_found.html.ep | 2 |
13 files changed, 12 insertions, 12 deletions
diff --git a/public/VRRR.ttf b/public/static/VRRR.ttf Binary files differindex e532b93..e532b93 100644 --- a/public/VRRR.ttf +++ b/public/static/VRRR.ttf diff --git a/public/collapse.js b/public/static/collapse.js index d38b30a..d38b30a 100644 --- a/public/collapse.js +++ b/public/static/collapse.js diff --git a/public/display.css b/public/static/display.css index 44fd4a6..f874bf2 100644 --- a/public/display.css +++ b/public/static/display.css @@ -1,6 +1,6 @@ @font-face { font-family: VRRR; - src: url('/VRRR.ttf'); + src: url('/static/VRRR.ttf'); } body { diff --git a/public/image.js b/public/static/image.js index 40bc37d..40bc37d 100644 --- a/public/image.js +++ b/public/static/image.js diff --git a/public/infoscreen.css b/public/static/infoscreen.css index 617413c..617413c 100644 --- a/public/infoscreen.css +++ b/public/static/infoscreen.css diff --git a/public/jquery-2.1.1.min.js b/public/static/jquery-2.1.1.min.js index e5ace11..e5ace11 100644 --- a/public/jquery-2.1.1.min.js +++ b/public/static/jquery-2.1.1.min.js diff --git a/public/main.css b/public/static/main.css index 8ecda96..8ecda96 100644 --- a/public/main.css +++ b/public/static/main.css diff --git a/public/mobile.css b/public/static/mobile.css index efa6023..efa6023 100644 --- a/public/mobile.css +++ b/public/static/mobile.css 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 @@ <head> <title><%= $title %></title> <meta charset="utf-8"> - %= stylesheet '/display.css' - %= javascript '/jquery-2.1.1.min.js' + %= stylesheet '/static/display.css' + %= javascript '/static/jquery-2.1.1.min.js' </head> <body style="color: #<%= join(q{}, map { sprintf('%02x', $_) } @{$color} ) %>; font-size: <%= $scale * 100 %>%;"> 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 @@ <title>vrr-infoscreen</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - %= stylesheet '/main.css' + %= stylesheet '/static/main.css' </head> <body> 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 @@ <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/> % } - %= 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' </head> <body> 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><%= $title %></title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - %= 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' </head> <body> 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 @@ <title>vrr-infoscreen</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - %= stylesheet '/main.css' + %= stylesheet '/static/main.css' </head> <body> |