From a5427163ced9f99044813058ddf62548debc673c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 May 2019 17:32:02 +0200 Subject: app: Use AJAX, not HTTP Refresh for auto-reload --- templates/layouts/default.html.ep | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/layouts') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 0e9f4c5..f256db6 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -17,7 +17,7 @@ % } - % my $av = 'v11'; # asset version + % my $av = 'v12'; # asset version %= stylesheet "/static/${av}/default.css" %= stylesheet "/static/${av}/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // stash('force_mobile'); @@ -58,7 +58,9 @@ Bitte eine Station aus der Liste auswählen % } +
%= content +
% if (not stash('hide_opts')) {
-- cgit v1.2.3