Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (90 loc) · 2.73 KB
/
Copy pathindex.html
File metadata and controls
103 lines (90 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Chrome, Opera, and Firefox OS -->
<meta name="theme-color" content="#3a3f51" />
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#3a3f51" />
<!-- Android/Apple Phone -->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="format-detection" content="telephone=no">
<meta name="description" content="Sonarr" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/Content/Images/Icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/Content/Images/Icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/Content/Images/Icons/favicon-16x16.png"
/>
<link rel="manifest" href="/Content/manifest.json" crossorigin="use-credentials" />
<link
rel="mask-icon"
href="/Content/Images/Icons/safari-pinned-tab.svg"
color="#00ccff"
/>
<link
rel="shortcut icon"
type="image/ico"
href="/favicon.ico"
data-no-hash
/>
<meta
name="msapplication-config"
content="/Content/browserconfig.xml"
/>
<link rel="stylesheet" type="text/css" href="/Content/Fonts/fonts.css">
<script>
window.Sonarr = {
urlBase: '__URL_BASE__'
};
var theme = '_THEME_';
var defaultDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
var finalTheme =
theme === 'dark' || (theme === 'auto' && defaultDark) ? 'dark' : 'light';
document.documentElement.style.setProperty('--pageBackground', finalTheme === 'dark' ? 'oklch(24% 0.014 260)' : 'oklch(97% 0.010 260)');
</script>
__MINI_PROFILER__
<title>Sonarr</title>
<!--
The super basic styling for .root will live here,
saves fighting with CSS Modules for ~10 lines
-->
<style>
html {
background-color: var(--pageBackground);
}
.root {
overflow: hidden;
height: 100%; /* needed for proper layout */
}
@media only screen and (max-width: 768px) {
.root {
display: flex;
flex-direction: column;
overflow: clip;
min-height: 100%;
height: auto;
}
}
</style>
</head>
<body>
<div id="portal-root"></div>
<div id="root" class="root"></div>
<script type="module" src="/frontend/src/index.ts" data-no-hash></script>
</body>
</html>