settings: Can display a global message on all pages
This commit is contained in:
parent
e9dd35f8ac
commit
750db69b06
3 changed files with 34 additions and 0 deletions
|
|
@ -156,6 +156,11 @@
|
|||
|
||||
<!--Styles /-->
|
||||
|
||||
{#if $settings.globaltopmessage}
|
||||
<div class={'position-fixed w-100 text-center fw-bolder p-0 alert alert-' + ($settings.globaltopmessagevariant?$settings.globaltopmessagevariant:'primary')} style="z-index:1024; border-radius:0">
|
||||
{$settings.globaltopmessage}
|
||||
</div>
|
||||
{/if}
|
||||
<Header />
|
||||
<slot></slot>
|
||||
|
||||
|
|
|
|||
Reference in a new issue