Various changes after call with IDAA. Mainly style changes.

This commit is contained in:
Scott Idem
2025-01-08 15:25:30 -05:00
parent b64f4b01ad
commit aa893b5ea6
8 changed files with 34 additions and 21 deletions

View File

@@ -40,7 +40,7 @@ onMount(() => {
{#if idaa_event_obj} <!-- This check for the idaa_event_obj is here in case the IDB entry is deleted. -->
<div
class="container recovery_meeting event_obj border border-1 rounded p-2 mb-2 space-y-2 w-full max-w-screen-lg flex flex-col items-center justify-center"
class="container recovery_meeting event_obj border border-1 rounded-lg p-2 mb-2 space-y-2 w-full max-w-screen-lg flex flex-col items-center justify-center bg-white"
class:hidden={(idaa_event_obj?.hide || !idaa_event_obj?.enable) && !$ae_loc.trusted_access}
class:dim={idaa_event_obj?.hide}
class:bg-warning-100={!idaa_event_obj?.enable}
@@ -53,7 +53,7 @@ onMount(() => {
{idaa_event_obj?.name}
</h3>
<span>
<span class="flex flex-row flex-wrap gap-1 items-center justify-center">
<span class="badge badge-info variant-glass-tertiary">
{#if idaa_event_obj?.physical && idaa_event_obj?.virtual}
<span class="fas fa-home m-1"></span> F2F and <span class="fas fa-laptop m-1"></span> Virtual
@@ -96,7 +96,7 @@ onMount(() => {
$idaa_sess.recovery_meetings.show__modal_view = true;
$idaa_sess.recovery_meetings.show__modal_edit = false;
}}
class="novi_btn btn btn-primary btn-md variant-ghost-primary hover:variant-filled-primary transition"
class="novi_btn btn btn-secondary btn-md variant-ghost-primary hover:variant-filled-primary transition"
title={`Open to see details: ${idaa_event_obj?.name}`}
>
<span class="fas fa-envelope-open m-1"></span>
@@ -121,7 +121,7 @@ onMount(() => {
$idaa_sess.recovery_meetings.show__modal_view = false;
$idaa_sess.recovery_meetings.show__modal_edit = true;
}}
class="novi_btn btn btn-warning btn-sm variant-ghost-warning hover:variant-filled-warning transition"
class="novi_btn btn btn-tertiary btn-sm variant-ghost-warning hover:variant-filled-warning transition"
title={`Edit meeting: ${idaa_event_obj?.name}`}
>
<span class="fas fa-edit m-1"></span>
@@ -253,12 +253,12 @@ onMount(() => {
</div>
{/if}
{#if $ae_loc.trusted_access}
{#if (idaa_event_obj?.contact_li_json && idaa_event_obj?.contact_li_json.length && !idaa_event_obj?.contact_li_json[0].full_name)}
<div class="event__contact ae_warning">Required: No primary contact information was found!</div>
{/if}
{#if !idaa_event_obj?.external_person_id}
<div class="event__contact ae_warning bg-warning-100">Warning: Not linked to a Novi record!</div>
{/if}
{#if (idaa_event_obj?.contact_li_json && idaa_event_obj?.contact_li_json.length && !idaa_event_obj?.contact_li_json[0].full_name)}
<div class="event__contact ae_warning">Required: No primary contact information was found!</div>
{/if}
{#if !idaa_event_obj?.external_person_id}
<div class="event__contact ae_warning bg-warning-100">Warning: Not linked to a Novi record!</div>
{/if}
{/if}
</div>

View File

@@ -211,10 +211,10 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
bind:value={$idaa_loc.recovery_meetings.qry__fulltext_str}
>
</div> -->
<div class="ae_group flex flex-row gap-2 w-full items-center justify-center">
<div class="ae_group flex flex-row flex-wrap gap-2 w-full items-center justify-center">
<button
type="button"
class="novi_btn btn btn-sm variant-ghost-warning hover:variant-filled-warning transition-all"
class="novi_btn novi_smallest btn btn-sm variant-ghost-secondary hover:variant-filled-secondary transition-all *:hover:inline"
on:click={() => {
$idaa_loc.recovery_meetings.qry__fulltext_str = '';
// $idaa_trig.event_li_qry = true;
@@ -225,7 +225,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
<!-- <span class="fas fa-backspace"></span> -->
<!-- <span class="fas fa-broom"></span> -->
<span class="fas fa-remove-format"></span>
<!-- Clear text -->
<span class="hidden">Clear Text</span>
</button>
<input
type="search"
@@ -287,7 +287,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
</fieldset>
<fieldset class="flex flex-row flex-wrap gap-4 w-full items-center justify-center">
<div class="legend inline-block">
<div class="legend inline-block text-sm">
Type?
</div>
<!-- <div class="ae_row ae_flex_justify_around ae_width_100"> -->
@@ -518,7 +518,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
$idaa_sess.recovery_meetings.show__modal_view = false;
$idaa_sess.recovery_meetings.show__modal_edit = true;
}}
class="novi_btn btn btn-warning btn-sm variant-ghost-warning hover:variant-filled-warning transition text-xs"
class="novi_btn btn btn-tertiary btn-sm variant-ghost-warning hover:variant-filled-warning transition text-xs"
disabled={!$ae_loc.authenticated_access}
>
<span class="fas fa-plus m-1"></span> Create New Meeting