/
client.html
46 lines (44 loc) · 993 Bytes
/
client.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
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
font-size: large;
cursor: pointer;
}
.collapsed div {
display: none;
}
.passed h1 {
color: green;
}
.failed h1 {
color: red;
}
.test div {
font-family: 'Courier New', Courier, monospace;
font-size: medium;
border-left: 2px solid grey;
padding-left: 10px;
}
.result {
font-weight: bold;
}
.stack {
color: grey;
font-size: smaller;
}
</style>
</head>
<body>
<div id="tests"></div>
<script type="module">
const url = '<?= spreadsheet.url ?>';
import { display } from "./test";
display(document.getElementById('tests'));
//import "../types.ts";
//import "../sheet-navigation.ts";
import "../client.ts";
</script>
</body>
</html>