forked from mystiq/hydrogen-web
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>
|
</script>
|
||||||
<h1>View Gallery</h1>
|
<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>
|
<h2 name="login">Login</h2>
|
||||||
<div id="login" class="brawl"></div>
|
<div id="login" class="brawl"></div>
|
||||||
<script id="main" type="module">
|
<script id="main" type="module">
|
||||||
|
|
Loading…
Reference in a new issue