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>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
@@ -10,7 +11,6 @@
|
||||
<title>Flipper</title>
|
||||
|
||||
<style>
|
||||
|
||||
#loading {
|
||||
-webkit-app-region: drag;
|
||||
z-index: 999999;
|
||||
@@ -35,10 +35,10 @@
|
||||
white-space: pre;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root">
|
||||
<div id="loading">
|
||||
Loading...
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script>
|
||||
(function() {
|
||||
(function () {
|
||||
global.electronRequire = window.require;
|
||||
|
||||
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)
|
||||
try {
|
||||
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 {
|
||||
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);
|
||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
||||
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||
}
|
||||
|
||||
function init() {
|
||||
@@ -103,5 +103,6 @@
|
||||
init();
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,6 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
@@ -15,7 +16,6 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
||||
#loading {
|
||||
-webkit-app-region: drag;
|
||||
z-index: 999999;
|
||||
@@ -43,10 +43,10 @@
|
||||
left: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root">
|
||||
<div id="loading">
|
||||
Loading...
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
(function () {
|
||||
// FIXME: needed to make Metro work
|
||||
window.global = window;
|
||||
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)
|
||||
try {
|
||||
if (window.flipperConfig.theme === 'dark') {
|
||||
document.getElementById('flipper-theme-import').href="themes/dark.css";
|
||||
document.getElementById('flipper-theme-import').href = "themes/dark.css";
|
||||
} 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);
|
||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
||||
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||
}
|
||||
|
||||
function init() {
|
||||
@@ -126,5 +126,6 @@
|
||||
init();
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,11 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link id="flipper-theme-import" rel="stylesheet">
|
||||
<link rel="icon" href="icon.png">
|
||||
<link id="flipper-theme-import" rel="stylesheet">
|
||||
<title>Flipper</title>
|
||||
<script>
|
||||
window.flipperConfig = {
|
||||
@@ -15,7 +16,6 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
||||
#loading {
|
||||
-webkit-app-region: drag;
|
||||
z-index: 999999;
|
||||
@@ -43,10 +43,10 @@
|
||||
left: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root">
|
||||
<div id="loading">
|
||||
Loading...
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
(function () {
|
||||
// FIXME: needed to make Metro work
|
||||
window.global = window;
|
||||
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)
|
||||
try {
|
||||
if (window.flipperConfig.theme === 'dark') {
|
||||
document.getElementById('flipper-theme-import').href="themes/dark.css";
|
||||
document.getElementById('flipper-theme-import').href = "themes/dark.css";
|
||||
} 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);
|
||||
document.getElementById('flipper-theme-import').href="themes/light.css";
|
||||
document.getElementById('flipper-theme-import').href = "themes/light.css";
|
||||
}
|
||||
|
||||
function init() {
|
||||
@@ -109,5 +109,6 @@
|
||||
init();
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user