diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-12-19 14:55:35 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-14 10:38:49 +0000 |
commit | b5a6187db01a997b6beea8dea4f21908b2be6091 (patch) | |
tree | b1660deea52a26f70017632af25f267f110f2944 /templates | |
parent | 0e80a90bebc12fe381892386f9ffd751edb38d7c (diff) |
Remove appcache (breaking showing reports from localStorage cache).
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/header.html | 5 | ||||
-rw-r--r-- | templates/web/base/offline/appcache.html | 14 | ||||
-rw-r--r-- | templates/web/base/offline/appcache_manifest.html | 16 | ||||
-rw-r--r-- | templates/web/oxfordshire/header.html | 5 |
4 files changed, 2 insertions, 38 deletions
diff --git a/templates/web/base/header.html b/templates/web/base/header.html index 74ec2d16a..b3d77b3a6 100644 --- a/templates/web/base/header.html +++ b/templates/web/base/header.html @@ -6,10 +6,7 @@ <!doctype html> <!--[if IE 8]> <html class="no-js ie8"[% html_att | safe %]><![endif]--> <!--[if IE 9]> <html class="no-js ie9"[% html_att | safe %]><![endif]--> -<!--[if gt IE 9]><!--><html class="no-js"[% html_att | safe %] -[% IF appcache ~%] - manifest="/offline/appcache.manifest" -[%~ END %]><!--<![endif]--> +<!--[if gt IE 9]><!--><html class="no-js"[% html_att | safe %]><!--<![endif]--> <head> <meta name="viewport" content="initial-scale=1.0"> diff --git a/templates/web/base/offline/appcache.html b/templates/web/base/offline/appcache.html deleted file mode 100644 index ed48b7a00..000000000 --- a/templates/web/base/offline/appcache.html +++ /dev/null @@ -1,14 +0,0 @@ -[% SET bodyclass = "fullwidthpage offlinepage" ~%] -[% INCLUDE 'header.html' appcache = 1 %] - -<h1>[% loc('Internet glitch') %]</h1> - -<p>[% loc('Sorry, we don’t have a good enough connection to fetch that page, or the -page wasn’t found or there was a server error. Please try again later.') %] -</p> - -<ul class="item-list item-list--reports" id="offline_list"></ul> - -<div id="offline_clear"></div> - -[% INCLUDE 'footer.html' %] diff --git a/templates/web/base/offline/appcache_manifest.html b/templates/web/base/offline/appcache_manifest.html deleted file mode 100644 index 93d26cb94..000000000 --- a/templates/web/base/offline/appcache_manifest.html +++ /dev/null @@ -1,16 +0,0 @@ -CACHE MANIFEST - -[% PROCESS 'common_scripts.html' ~%] - -CACHE: -[% version('/cobrands/' _ c.cobrand.asset_moniker _ '/base.css') %] -[% version('/cobrands/' _ c.cobrand.asset_moniker _ '/layout.css') %] -[% FOR script IN scripts ~%] - [%- script %] -[% END %] - -NETWORK: -* - -FALLBACK: -/ [% version('../templates/web/base/offline/appcache.html', '/offline/appcache') %] diff --git a/templates/web/oxfordshire/header.html b/templates/web/oxfordshire/header.html index 70d7e4b18..72cba2aec 100644 --- a/templates/web/oxfordshire/header.html +++ b/templates/web/oxfordshire/header.html @@ -1,10 +1,7 @@ <!doctype html> <!--[if IE 8]> <html class="no-js ie8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> -<!--[if gt IE 9]><!--><html class="no-js" lang="[% lang_code %]" -[% IF appcache ~%] - manifest="/offline/appcache.manifest" -[%~ END %]><!--<![endif]--> +<!--[if gt IE 9]><!--><html class="no-js" lang="[% lang_code %]"><!--<![endif]--> <head> <meta name="viewport" content="initial-scale=1.0"> |