Create testing specific vite config, add multi font support, bugfixes
This commit is contained in:
parent
48e585d4ec
commit
0041ec3d9a
12 changed files with 73 additions and 17 deletions
|
@ -105,7 +105,6 @@
|
|||
setupObserver();
|
||||
|
||||
const connectEventSource = () => {
|
||||
console.log('Connecting to EventSource');
|
||||
const evtSource = new EventSource(`${PUBLIC_BASE_URL}/events`);
|
||||
|
||||
evtSource.addEventListener('status', (e) => {
|
||||
|
|
|
@ -114,9 +114,13 @@
|
|||
<CardHeader>
|
||||
<div class="float-end">
|
||||
<small>
|
||||
<button type="button" on:click={showAll}>{$_('section.settings.showAll')}</button>
|
||||
<button type="button" on:click={showAll} id="showAllBtn"
|
||||
>{$_('section.settings.showAll')}</button
|
||||
>
|
||||
|
|
||||
<button type="button" on:click={hideAll}>{$_('section.settings.hideAll')}</button>
|
||||
<button type="button" on:click={hideAll} id="hideAllBtn"
|
||||
>{$_('section.settings.hideAll')}</button
|
||||
>
|
||||
</small>
|
||||
</div>
|
||||
<CardTitle>{$_('section.settings.title')}</CardTitle>
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
<hr />
|
||||
{#if $status.data}
|
||||
<section class={lightMode ? 'lightMode' : 'darkMode'} style="position: relative;">
|
||||
{#if $status.isUpdating === false && $status.isFake === false}
|
||||
{#if $status.isUpdating === false && ($status.isFake ?? false) === false}
|
||||
<div class="connection-lost-overlay">
|
||||
<div class="overlay-content">
|
||||
<i class="bi bi-wifi-off"></i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue