New parameter to display a message at the top of the screen
This commit is contained in:
parent
f7da603dbe
commit
b604e98f64
3 changed files with 15 additions and 6 deletions
|
@ -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}
|
||||
|
|
Reference in a new issue