Extract some modules

This commit is contained in:
Ingvar Stepanyan
2021-07-21 14:37:57 +00:00
parent 5e54c25c55
commit 70a35d1b70
5 changed files with 447 additions and 436 deletions

47
ui/index.html Normal file
View File

@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<link
rel="stylesheet"
href="https://unpkg.com/purecss@2.0.6/build/pure-min.css"
crossorigin="anonymous"
/>
<style>
.center-parent {
display: flex;
height: 100vh;
}
.center {
margin: auto;
}
#capture {
width: 20ch;
}
#config {
overflow-y: auto;
max-height: 100vh;
}
#config label {
max-width: 40%;
}
#config select {
max-width: 50%;
}
</style>
<script type="importmap">
{
"imports": {
"preact": "https://unpkg.com/preact/dist/preact.module.js",
"preact/debug": "https://unpkg.com/preact/debug/dist/debug.module.js",
"preact/devtools": "https://unpkg.com/preact@10.5.14/devtools/dist/devtools.module.js"
}
}
</script>
<script type="module" src="index.js"></script>
</head>
</html>