Format html files
Summary: Using the built-in VSCode formatter to make them all a little more consistent before making changes to them. Reviewed By: antonk52, nikoant Differential Revision: D34897393 fbshipit-source-id: 270e575a4e8b15ff31887a356516af7409315618
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bb3fe18c35
commit
af924b1c6a
@@ -1,6 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
@@ -10,7 +11,6 @@
|
|||||||
<title>Flipper</title>
|
<title>Flipper</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
#loading {
|
#loading {
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
z-index: 999999;
|
z-index: 999999;
|
||||||
@@ -35,10 +35,10 @@
|
|||||||
white-space: pre;
|
white-space: pre;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
<body>
|
||||||
<div id="root">
|
<div id="root">
|
||||||
<div id="loading">
|
<div id="loading">
|
||||||
Loading...
|
Loading...
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
<script src="/socket.io/socket.io.js"></script>
|
<script src="/socket.io/socket.io.js"></script>
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function () {
|
||||||
global.electronRequire = window.require;
|
global.electronRequire = window.require;
|
||||||
|
|
||||||
let suppressErrors = false;
|
let suppressErrors = false;
|
||||||
@@ -81,13 +81,13 @@
|
|||||||
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
|
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
|
||||||
try {
|
try {
|
||||||
if (JSON.parse(window.process.env.CONFIG).darkMode === 'dark') {
|
if (JSON.parse(window.process.env.CONFIG).darkMode === 'dark') {
|
||||||
document.getElementById('flipper-theme-import').href="themes/dark.css";
|
document.getElementById('flipper-theme-import').href = "themes/dark.css";
|
||||||
} else {
|
} else {
|
||||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
console.error("Failed to initialize theme", e);
|
console.error("Failed to initialize theme", e);
|
||||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
@@ -103,5 +103,6 @@
|
|||||||
init();
|
init();
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
@@ -15,7 +16,6 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
#loading {
|
#loading {
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
z-index: 999999;
|
z-index: 999999;
|
||||||
@@ -43,10 +43,10 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
<body>
|
||||||
<div id="root">
|
<div id="root">
|
||||||
<div id="loading">
|
<div id="loading">
|
||||||
Loading...
|
Loading...
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function () {
|
||||||
// FIXME: needed to make Metro work
|
// FIXME: needed to make Metro work
|
||||||
window.global = window;
|
window.global = window;
|
||||||
let suppressErrors = false;
|
let suppressErrors = false;
|
||||||
@@ -104,13 +104,13 @@
|
|||||||
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
|
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
|
||||||
try {
|
try {
|
||||||
if (window.flipperConfig.theme === 'dark') {
|
if (window.flipperConfig.theme === 'dark') {
|
||||||
document.getElementById('flipper-theme-import').href="themes/dark.css";
|
document.getElementById('flipper-theme-import').href = "themes/dark.css";
|
||||||
} else {
|
} else {
|
||||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
console.error("Failed to initialize theme", e);
|
console.error("Failed to initialize theme", e);
|
||||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
@@ -126,5 +126,6 @@
|
|||||||
init();
|
init();
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,11 +1,12 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<link id="flipper-theme-import" rel="stylesheet">
|
|
||||||
<link rel="icon" href="icon.png">
|
<link rel="icon" href="icon.png">
|
||||||
|
<link id="flipper-theme-import" rel="stylesheet">
|
||||||
<title>Flipper</title>
|
<title>Flipper</title>
|
||||||
<script>
|
<script>
|
||||||
window.flipperConfig = {
|
window.flipperConfig = {
|
||||||
@@ -15,7 +16,6 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
#loading {
|
#loading {
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
z-index: 999999;
|
z-index: 999999;
|
||||||
@@ -43,10 +43,10 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
<body>
|
||||||
<div id="root">
|
<div id="root">
|
||||||
<div id="loading">
|
<div id="loading">
|
||||||
Loading...
|
Loading...
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function () {
|
||||||
// FIXME: needed to make Metro work
|
// FIXME: needed to make Metro work
|
||||||
window.global = window;
|
window.global = window;
|
||||||
let suppressErrors = false;
|
let suppressErrors = false;
|
||||||
@@ -87,13 +87,13 @@
|
|||||||
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
|
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
|
||||||
try {
|
try {
|
||||||
if (window.flipperConfig.theme === 'dark') {
|
if (window.flipperConfig.theme === 'dark') {
|
||||||
document.getElementById('flipper-theme-import').href="themes/dark.css";
|
document.getElementById('flipper-theme-import').href = "themes/dark.css";
|
||||||
} else {
|
} else {
|
||||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
console.error("Failed to initialize theme", e);
|
console.error("Failed to initialize theme", e);
|
||||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
@@ -109,5 +109,6 @@
|
|||||||
init();
|
init();
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user