forked from btclock/webui
Making it work for ESP32
This commit is contained in:
parent
287d04bc97
commit
ac33a596c7
8 changed files with 80 additions and 19 deletions
|
@ -13,4 +13,6 @@ export const load: LayoutLoad = async () => {
|
|||
await waitLocale()
|
||||
}
|
||||
|
||||
export const prerender = true;
|
||||
export const prerender = true;
|
||||
export const ssr = false;
|
||||
export const csr = true;
|
|
@ -93,7 +93,7 @@
|
|||
<hr>
|
||||
{#if $status.data}
|
||||
<Rendered status="{$status}"></Rendered>
|
||||
Screen cycle: <span on:click="{toggleTimer($status.timerRunning)}">{#if $status.timerRunning}⏵ running{:else}⏸ stopped{/if}</span>
|
||||
Screen cycle: <a style="cursor: pointer" on:click="{toggleTimer($status.timerRunning)}">{#if $status.timerRunning}⏵ running{:else}⏸ stopped{/if}</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<hr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue