2019-02-06 23:04:39 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-02-27 23:23:40 +01:00
|
|
|
<style type="text/css">
|
|
|
|
#container {
|
|
|
|
height: 80vh;
|
|
|
|
border: 1px solid black;
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionView {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ListView {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionView > .ListView {
|
|
|
|
height: 100%;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
border-right: 1px solid black;
|
|
|
|
list-style: none;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionView > .ListView > li {
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid grey;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionView > .RoomView {
|
|
|
|
padding: 10px;
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionView > .RoomView > .ListView {
|
|
|
|
flex: 1;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
</style>
|
2019-02-06 23:04:39 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-02-10 21:25:29 +01:00
|
|
|
<p id="syncstatus"></p>
|
|
|
|
<div><button id="stopsync">stop syncing</button></div>
|
2019-02-26 22:45:58 +01:00
|
|
|
<div id="container"></div>
|
2019-02-16 02:53:02 +01:00
|
|
|
<script type="module">
|
|
|
|
import main from "./src/main.js";
|
2019-02-10 21:25:29 +01:00
|
|
|
const label = document.getElementById("syncstatus");
|
2019-02-26 22:45:58 +01:00
|
|
|
const button = document.getElementById("stopsync");
|
|
|
|
const container = document.getElementById("container");
|
2019-02-16 02:53:02 +01:00
|
|
|
|
|
|
|
//import("./src/main.js").then(main => {
|
2019-02-26 22:45:58 +01:00
|
|
|
main(label, button, container);
|
2019-02-16 02:53:02 +01:00
|
|
|
//});
|
2019-02-10 21:25:29 +01:00
|
|
|
</script>
|
2019-02-06 23:04:39 +01:00
|
|
|
</body>
|
2019-02-26 22:45:58 +01:00
|
|
|
</html>
|