mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
add status bar to view gallery for design
This commit is contained in:
parent
22821af346
commit
d0f09c5334
@ -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 New Issue
Block a user