-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LayoutControls, splitBottom to url params
fixes #63
- Loading branch information
Showing
3 changed files
with
47 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<script lang="ts"> | ||
import Heartrate from "./components/Heartrate.svelte"; | ||
import type { LayoutTheme } from "./models/LayoutConf"; | ||
import { fixedPlayerNames, hideGameData } from './stores/ConfStore'; | ||
import { themestore } from "./stores/ThemeStore"; | ||
export let theme: LayoutTheme = $themestore; | ||
</script> | ||
<div class="col"> | ||
<div style="height: 65px; width: 300px;"> | ||
<Heartrate /> | ||
</div> | ||
<div> | ||
Current theme: {theme.name} | ||
</div> | ||
<div> | ||
<label> | ||
<input type="checkbox" bind:checked={$fixedPlayerNames}> | ||
Fixed player names | ||
</label> | ||
</div> | ||
<div> | ||
<label> | ||
<input type="checkbox" bind:checked={$hideGameData}> | ||
Hide game data | ||
</label> | ||
</div> | ||
</div> | ||
|
||
<div class="col"> | ||
<h1>Extra controls</h1> | ||
<div> | ||
<slot /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters