mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
46 lines
899 B
HTML
46 lines
899 B
HTML
{% extends "base.html" %}
|
|
{% load static %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "Offline" %}{% endblock %}
|
|
|
|
{% block extra_head %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div style="text-align: center">
|
|
|
|
<h1 class="">Offline</h1>
|
|
<br/>
|
|
|
|
<span>{% trans 'You are currently offline!' %}</span>
|
|
<span>{% trans 'This app does not (yet) support offline functionality. Please make sure to re-establish a network connection.' %}</span>
|
|
<br/>
|
|
<br/>
|
|
<i class="fas fa-search fa-8x"></i>
|
|
<br/>
|
|
<br/>
|
|
|
|
|
|
<br/>
|
|
<br/>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block script %}
|
|
|
|
<script type="application/javascript">
|
|
|
|
caches.open('html').then(productsRuntimeCache => {
|
|
|
|
productsRuntimeCache.keys().then(keys => {
|
|
console.log(keys)
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
{% endblock %} |