New parameter to display a message at the top of the screen

This commit is contained in:
nemunaire 2023-03-07 02:53:47 +01:00
parent f7da603dbe
commit b604e98f64
3 changed files with 15 additions and 6 deletions

View file

@ -29,6 +29,11 @@
<title>ЕРІТА: MCQ and others courses related stuff</title>
</svelte:head>
{#if $user && $user.banner}
<div class="bg-danger text-white text-center py-1 fw-bolder">
{$user.banner}
</div>
{/if}
{#if isSRS}
<div style="position: fixed; bottom: 20px; right: 20px; z-index: -1; background-image: url('img/srstamps.png'); background-size: cover; width: 125px; height: 125px;"></div>
{/if}