mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 21:37:48 +01:00
Add offline page
This commit is contained in:
parent
004d6efea1
commit
92709cca8d
1 changed files with 47 additions and 0 deletions
47
pwa/offline.html
Normal file
47
pwa/offline.html
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
<!--
|
||||||
|
This Source Code Form is subject to the terms of the GNU General Public License:
|
||||||
|
|
||||||
|
Copyright (C) 2021-2023 POKETUBE (https://codeberg.org/Ashley/poketube)
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see https://www.gnu.org/licenses/.
|
||||||
|
-->
|
||||||
|
<!DOCTYPE html><html>
|
||||||
|
<head>
|
||||||
|
<title>PokeTube</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="error-page">
|
||||||
|
<div id="error-page-content" align="center">
|
||||||
|
<h1 style="color:#fff;font-family:'PokeTube Flex',sans-serif;font-weight:900;white-space:yes;font-style: italic;font-size: 45px;" align="center">Oh no ;-;</h1>
|
||||||
|
<h3>Looks like you're offline, check your internet connection and try again.</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
body{
|
||||||
|
background:#111;
|
||||||
|
margin: auto;
|
||||||
|
transform: translateY(13em)
|
||||||
|
}
|
||||||
|
p,a,h3{
|
||||||
|
text-align:center;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
nav,error-page,div{
|
||||||
|
justify-content: center;
|
||||||
|
background: #111
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in a new issue