последний веб

This commit is contained in:
Dmitry Borisenko
2022-09-15 12:22:39 +02:00
parent 27f5647e35
commit 6d49e7181e
6 changed files with 9 additions and 7 deletions

View File

@@ -17,7 +17,7 @@
{#if show}
<div class="grd-3col1">
{#if !layoutJson}
{#if layoutJson === []}
<Card title={"Ваша панель управления пуста, вначале добавьте новые элементы в конфигураторе!"} />
{/if}
{#each pages as pagesName, p}

View File

@@ -318,7 +318,7 @@
<Card title="Лог" class="z-50">
<div class="h-80 overflow-y-auto">
{#each coreMessages as message, i}
<div class={message.msg.toString().includes("[E]") ? "text-xs text-red-500" : "text-xs text-black"}>{message.msg}</div>
<div class={message.msg.toString().includes("[E]") || message.msg.toString().includes("[!]") ? "text-xs text-red-500" : "text-xs text-black"}>{message.msg}</div>
{/each}
</div>
</Card>