Lots of style clean up for buttons in Novi. Various bug fixes. Clean up of initial recovery meeting loading.

This commit is contained in:
Scott Idem
2024-12-24 11:18:37 -05:00
parent 47394d67ca
commit f89183685a
17 changed files with 92 additions and 122 deletions

View File

@@ -234,7 +234,7 @@ if (browser) {
$idaa_sess.archives.show__modal_view__archive_id = $idaa_slct.archive_id;
$idaa_sess.archives.show__modal_edit__archive_id = false;
}}
class="btn btn-sm variant-ghost-warning hover:variant-filled-warning transition"
class="novi_btn btn btn-sm variant-ghost-warning hover:variant-filled-warning transition"
title={`View meeting: ${$lq__archive_obj?.name}`}
>
<span class="fas fa-eye m-1"></span> View
@@ -301,7 +301,7 @@ if (browser) {
$idaa_sess.archives.show__modal_view__archive_content_id = $idaa_slct.archive_content_id;
$idaa_sess.archives.show__modal_edit__archive_content_id = false;
}}
class="btn btn-sm variant-ghost-warning hover:variant-filled-warning transition"
class="novi_btn btn btn-sm variant-ghost-warning hover:variant-filled-warning transition"
title={`View meeting: ${$lq__archive_content_obj?.name}`}
>
<span class="fas fa-eye m-1"></span> View
@@ -344,46 +344,8 @@ if (browser) {
<!-- Modal: Archive Content ID media player -->
<!-- {#if $lq__archive_content_obj?.name} -->
{#if $idaa_slct.archive_content_id && $idaa_sess.archives.show__modal_view__archive_content_id}
<Modal_media_player
lq__archive_content_obj={lq__archive_content_obj}
/>
{/if}
{#if 1==2}
<Modal
bind:open={$idaa_sess.archives.show__modal_view__archive_content_id}
title="{$lq__archive_content_obj?.name} - {$lq__archive_content_obj?.archive_content_id}"
autoclose={true}
onclose={() => {
// We want to cancel the inline edit if the modal is closed
// $idaa_sess.archives.show__inline_edit__archive_content_id = false;
}}
outsideclose={true}
placement="top-center"
size="xl"
class="top-center bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y"
>
{#snippet header()}
<div class="flex flex-row items-center justify-between w-full">
<h3 class="text-lg font-semibold">
<span class="text-sm text-gray-500">
Viewing:
</span>
{$idaa_slct.archive_content_obj?.name} - {$lq__archive_content_obj?.archive_content_id}</h3>
</div>
{/snippet}
<Media_player
<Modal_media_player
lq__archive_content_obj={lq__archive_content_obj}
/>
{$lq__archive_content_obj?.archive_content_id}
</Modal>
{/if}
{/if}