Upload index.html
Browse files- static/index.html +17 -0
static/index.html
CHANGED
|
@@ -4,6 +4,18 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
| 6 |
<title>VoiceOfML Search</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
<link rel="stylesheet" href="/static/style.css">
|
| 8 |
</head>
|
| 9 |
<body class="dark">
|
|
@@ -221,6 +233,11 @@
|
|
| 221 |
<!-- Toast -->
|
| 222 |
<div id="toast" class="toast" style="display:none"></div>
|
| 223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
<script src="/static/app.js"></script>
|
| 225 |
</body>
|
| 226 |
</html>
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
| 6 |
<title>VoiceOfML Search</title>
|
| 7 |
+
|
| 8 |
+
<!-- PWA -->
|
| 9 |
+
<link rel="manifest" href="/manifest.json">
|
| 10 |
+
<meta name="theme-color" content="#1a1c1e">
|
| 11 |
+
<meta name="mobile-web-app-capable" content="yes">
|
| 12 |
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
| 13 |
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
| 14 |
+
<meta name="apple-mobile-web-app-title" content="VoiceOfML">
|
| 15 |
+
<link rel="apple-touch-icon" href="/icons/icon-192.png">
|
| 16 |
+
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png">
|
| 17 |
+
<link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512.png">
|
| 18 |
+
|
| 19 |
<link rel="stylesheet" href="/static/style.css">
|
| 20 |
</head>
|
| 21 |
<body class="dark">
|
|
|
|
| 233 |
<!-- Toast -->
|
| 234 |
<div id="toast" class="toast" style="display:none"></div>
|
| 235 |
|
| 236 |
+
<script>
|
| 237 |
+
if ("serviceWorker" in navigator) {
|
| 238 |
+
navigator.serviceWorker.register("/sw.js", { scope: "/" });
|
| 239 |
+
}
|
| 240 |
+
</script>
|
| 241 |
<script src="/static/app.js"></script>
|
| 242 |
</body>
|
| 243 |
</html>
|