mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Add service worker and offline page (needed to install the webapp on mobile devices)
This commit is contained in:
41
resources/views/errors/Offline.twig
Normal file
41
resources/views/errors/Offline.twig
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<base href="{{ route('index') }}/">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Firefly III | Offline</title>
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="v2/plugins/local-fonts/gf-source.css" nonce="{{ JS_NONCE }}">
|
||||
<link rel="stylesheet" href="v2/css/app.css" nonce="{{ JS_NONCE }}">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="error-page">
|
||||
<h2 class="headline text-danger"><span class="fas fa-unlink"></span></h2>
|
||||
|
||||
<div class="error-content">
|
||||
<h3><span class="fas fa-exclamation-triangle text-danger"></span> Offline</h3>
|
||||
<p>
|
||||
{{ trans('errors.offline_header') }}
|
||||
</p>
|
||||
<p>
|
||||
{{ trans('errors.offline_unreachable') }}
|
||||
</p>
|
||||
<p>
|
||||
{{ trans('errors.offline_github')|raw }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user