hydrogen-web/index.html

66 lines
1.7 KiB
HTML
Raw Normal View History

2019-02-07 03:34:39 +05:30
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
2019-02-28 03:53:40 +05:30
<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-07 03:34:39 +05:30
</head>
<body>
2019-02-11 01:55:29 +05:30
<p id="syncstatus"></p>
<div><button id="stopsync">stop syncing</button></div>
2019-02-27 03:15:58 +05:30
<div id="container"></div>
<script type="module">
import main from "./src/main.js";
2019-02-11 01:55:29 +05:30
const label = document.getElementById("syncstatus");
2019-02-27 03:15:58 +05:30
const button = document.getElementById("stopsync");
const container = document.getElementById("container");
//import("./src/main.js").then(main => {
2019-02-27 03:15:58 +05:30
main(label, button, container);
//});
2019-02-11 01:55:29 +05:30
</script>
2019-02-07 03:34:39 +05:30
</body>
2019-02-27 03:15:58 +05:30
</html>