Improve offline page
Summary: The previous offline page suggested launching Flipper from terminal by running a command. Although this works, guidance can be simplified by just instructing users to launch Flipper from within the Applications folder. Reviewed By: aigoncharov Differential Revision: D50833741 fbshipit-source-id: 5a41090a66ee62c30cfc35edd69de51ed9cbbab9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6bec2d659e
commit
560a50485c
@@ -36,36 +36,6 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.console {
|
||||
font-family: 'Fira Mono';
|
||||
width: 600px;
|
||||
height: 250px;
|
||||
box-sizing: border-box;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.console header {
|
||||
border-top-left-radius: 15px;
|
||||
border-top-right-radius: 15px;
|
||||
background-color: #9254de;
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.console .consolebody {
|
||||
border-bottom-left-radius: 15px;
|
||||
border-bottom-right-radius: 15px;
|
||||
box-sizing: border-box;
|
||||
padding: 0px 10px;
|
||||
height: calc(100% - 40px);
|
||||
overflow: scroll;
|
||||
background-color: #000;
|
||||
color: white;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
background-color: #9254de;
|
||||
color: white;
|
||||
@@ -107,17 +77,7 @@
|
||||
<p>
|
||||
Flipper will automatically reload once the connection is re-established.
|
||||
</p>
|
||||
<p>If is taking a bit longer than it should, you can manually start Flipper.</p>
|
||||
<p>From the terminal, please run:</p>
|
||||
|
||||
<div class="console">
|
||||
<header>
|
||||
<p>shell</p>
|
||||
</header>
|
||||
<div class="consolebody">
|
||||
<p>> open -a 'Flipper' --args '--server'</p>
|
||||
</div>
|
||||
</div>
|
||||
<p>Note: if is taking a bit longer than it should, you can manually start Flipper by launching it from the <b>Applications</b> folder.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// OFFLINE_VERSION is used as an update marker so that on subsequent installations
|
||||
// the newer version of the file gets updated.
|
||||
// eslint-disable-next-line header/header, no-unused-vars
|
||||
const OFFLINE_VERSION = 1.1;
|
||||
const OFFLINE_VERSION = 1.2;
|
||||
const CACHE_NAME = 'offline';
|
||||
const OFFLINE_URL = 'offline.html';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user