-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (36 loc) · 1.25 KB
/
index.html
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
<!DOCTYPE html>
<!--
SPDX-FileCopyrightText: Copyright 2022-2024 EDF (Électricité de France S.A.)
SPDX-License-Identifier: BSD-3-Clause
See README for all details on copyright, authorship and license.
-->
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- avoid errors from 404'ing favicon.ico -->
<link rel="icon" href="icon.svg" />
<!-- make this a PWA -->
<link rel="manifest" href="manifest.json" />
<title>CoAP/ACE Proof-of-Concept demo</title>
<!-- Salute the hat of the history of mobile browsers -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<script type="module">
window.indicate_panic_happened = function() {
// See main.rs's `extern "C"` declaration for documentation
let crashreport = document.getElementById("crashreport");
if (!crashreport) return;
crashreport.style.display = "block";
}
navigator.serviceWorker
.register('./service_worker.js');
import init from './coap-ace-poc-webapp.js';
await init();
</script>
</head>
<body>
<noscript>
<p>This web application essentially requires JavaScript to be enabled.</p>
</noscript>
</body>
</html>