add status bar to view gallery for design
This commit is contained in:
parent
22821af346
commit
d0f09c5334
1 changed files with 13 additions and 0 deletions
|
@ -24,6 +24,19 @@
|
|||
}
|
||||
</script>
|
||||
<h1>View Gallery</h1>
|
||||
<h2 name="session-status">Session Status</h2>
|
||||
<div id="session-status" class="brawl"></div>
|
||||
<script id="main" type="module">
|
||||
import {SessionStatusView} from "./session/SessionStatusView.js";
|
||||
const view = new SessionStatusView(vm({
|
||||
isShown: true,
|
||||
statusLabel: "Doing something something",
|
||||
isWaiting: true,
|
||||
isConnectNowShown: true,
|
||||
connectNow: () => alert("connecting now")
|
||||
}));
|
||||
document.getElementById("login").appendChild(view.mount());
|
||||
</script>
|
||||
<h2 name="login">Login</h2>
|
||||
<div id="login" class="brawl"></div>
|
||||
<script id="main" type="module">
|
||||
|
|
Reference in a new issue