diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-06-09 12:48:19 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-06-09 12:48:19 +0200 |
commit | 0ebe2d78893a925874b86e038eac11acff70a251 (patch) | |
tree | 138f78fcea49aae0d28c65f052ce3ae3b85ab00a | |
parent | 15b98bd1ffec98d168c7eceef5d321333e32aad9 (diff) |
move css and js assets to separate directories
-rw-r--r-- | public/static/css/default.css (renamed from public/static/default.css) | 0 | ||||
-rw-r--r-- | public/static/css/jquery-ui.min.css (renamed from public/static/jquery-ui.min.css) | 0 | ||||
-rw-r--r-- | public/static/css/material-icons.css (renamed from public/static/material-icons.css) | 0 | ||||
-rw-r--r-- | public/static/css/mobile.css (renamed from public/static/mobile.css) | 0 | ||||
-rw-r--r-- | public/static/js/autocomplete.js (renamed from public/static/autocomplete.js) | 0 | ||||
-rw-r--r-- | public/static/js/collapse.js (renamed from public/static/collapse.js) | 0 | ||||
-rw-r--r-- | public/static/js/dbf.min.js (renamed from public/static/dbf.min.js) | 0 | ||||
-rw-r--r-- | public/static/js/geolocation.js (renamed from public/static/geolocation.js) | 0 | ||||
-rw-r--r-- | public/static/js/geolocation.min.js (renamed from public/static/geolocation.min.js) | 0 | ||||
-rw-r--r-- | public/static/js/jquery-3.4.1.min.js (renamed from public/static/jquery-3.4.1.min.js) | 0 | ||||
-rw-r--r-- | public/static/js/jquery-ui.min.js (renamed from public/static/jquery-ui.min.js) | 0 | ||||
-rw-r--r-- | public/static/js/marquee.js (renamed from public/static/marquee.js) | 0 | ||||
-rw-r--r-- | public/static/js/marquee.min.js (renamed from public/static/marquee.min.js) | 0 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 24 |
14 files changed, 12 insertions, 12 deletions
diff --git a/public/static/default.css b/public/static/css/default.css index aca2dba..aca2dba 100644 --- a/public/static/default.css +++ b/public/static/css/default.css diff --git a/public/static/jquery-ui.min.css b/public/static/css/jquery-ui.min.css index a2cf45a..a2cf45a 100644 --- a/public/static/jquery-ui.min.css +++ b/public/static/css/jquery-ui.min.css diff --git a/public/static/material-icons.css b/public/static/css/material-icons.css index 7b120b3..7b120b3 100644 --- a/public/static/material-icons.css +++ b/public/static/css/material-icons.css diff --git a/public/static/mobile.css b/public/static/css/mobile.css index a0fe99e..a0fe99e 100644 --- a/public/static/mobile.css +++ b/public/static/css/mobile.css diff --git a/public/static/autocomplete.js b/public/static/js/autocomplete.js index 7aa762a..7aa762a 100644 --- a/public/static/autocomplete.js +++ b/public/static/js/autocomplete.js diff --git a/public/static/collapse.js b/public/static/js/collapse.js index e7d0fe0..e7d0fe0 100644 --- a/public/static/collapse.js +++ b/public/static/js/collapse.js diff --git a/public/static/dbf.min.js b/public/static/js/dbf.min.js index ad1fac7..ad1fac7 100644 --- a/public/static/dbf.min.js +++ b/public/static/js/dbf.min.js diff --git a/public/static/geolocation.js b/public/static/js/geolocation.js index 06537c4..06537c4 100644 --- a/public/static/geolocation.js +++ b/public/static/js/geolocation.js diff --git a/public/static/geolocation.min.js b/public/static/js/geolocation.min.js index 29587be..29587be 100644 --- a/public/static/geolocation.min.js +++ b/public/static/js/geolocation.min.js diff --git a/public/static/jquery-3.4.1.min.js b/public/static/js/jquery-3.4.1.min.js index a1c07fd..a1c07fd 100644 --- a/public/static/jquery-3.4.1.min.js +++ b/public/static/js/jquery-3.4.1.min.js diff --git a/public/static/jquery-ui.min.js b/public/static/js/jquery-ui.min.js index e7082c3..e7082c3 100644 --- a/public/static/jquery-ui.min.js +++ b/public/static/js/jquery-ui.min.js diff --git a/public/static/marquee.js b/public/static/js/marquee.js index b64c630..b64c630 100644 --- a/public/static/marquee.js +++ b/public/static/js/marquee.js diff --git a/public/static/marquee.min.js b/public/static/js/marquee.min.js index 5c54357..5c54357 100644 --- a/public/static/marquee.min.js +++ b/public/static/js/marquee.min.js diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 7b689be..46ce984 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -18,28 +18,28 @@ % } % my $av = 'v15'; # asset version - %= stylesheet "/static/${av}/default.css" - %= stylesheet "/static/${av}/material-icons.css" - %= stylesheet "/static/${av}/jquery-ui.min.css" + %= stylesheet "/static/${av}/css/default.css" + %= stylesheet "/static/${av}/css/material-icons.css" + %= stylesheet "/static/${av}/css/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // stash('force_mobile'); % if ($force_mobile) { - %= stylesheet "/static/${av}/mobile.css" + %= stylesheet "/static/${av}/css/mobile.css" % } %if (stash('load_marquee')) { - %= javascript '/static/jquery-3.4.1.min.js' - %= javascript "/static/${av}/jquery-ui.min.js" - %= javascript "/static/${av}/dbf.min.js" - %= javascript "/static/${av}/marquee.min.js" + %= javascript '/static/js/jquery-3.4.1.min.js' + %= javascript "/static/${av}/js/jquery-ui.min.js" + %= javascript "/static/${av}/js/dbf.min.js" + %= javascript "/static/${av}/js/marquee.min.js" %= javascript begin $(function () { $('marquee').marquee() }); % end % } else { - %= javascript '/static/jquery-3.4.1.min.js', defer => undef - %= javascript "/static/${av}/jquery-ui.min.js", defer => undef - %= javascript "/static/${av}/dbf.min.js", defer => undef + %= javascript '/static/js/jquery-3.4.1.min.js', defer => undef + %= javascript "/static/${av}/js/jquery-ui.min.js", defer => undef + %= javascript "/static/${av}/js/dbf.min.js", defer => undef % } % if (stash('with_geolocation')) { - %= javascript "/static/${av}/geolocation.min.js", defer => undef + %= javascript "/static/${av}/js/geolocation.min.js", defer => undef % } </head> <body style="<%= (stash('hide_opts') ? 'margin: 0; padding: 0;' : q{}) %> |