diff options
Diffstat (limited to 'templates/web/base/offline')
-rw-r--r-- | templates/web/base/offline/appcache.html | 13 | ||||
-rw-r--r-- | templates/web/base/offline/manifest.html | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/templates/web/base/offline/appcache.html b/templates/web/base/offline/appcache.html new file mode 100644 index 000000000..ba54b229a --- /dev/null +++ b/templates/web/base/offline/appcache.html @@ -0,0 +1,13 @@ +[% INCLUDE 'header.html' appcache = 1 bodyclass = "fullwidthpage" %] + +<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/manifest.html b/templates/web/base/offline/manifest.html new file mode 100644 index 000000000..93d26cb94 --- /dev/null +++ b/templates/web/base/offline/manifest.html @@ -0,0 +1,16 @@ +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') %] |