More work on IDAA styles

This commit is contained in:
Scott Idem
2025-06-23 14:47:37 -04:00
parent e93c70e0e4
commit 1ad1251931
2 changed files with 18 additions and 17 deletions

View File

@@ -347,13 +347,14 @@ function add_activity_log(
</svelte:head> </svelte:head>
<section <div
class=" class="
ae_idaa__recovery_meetings ae_idaa__recovery_meetings
container h-full mx-auto container h-full mx-auto
flex flex-col gap-1 flex flex-col flex-wrap gap-1
py-1 px-2 pb-16 py-1 px-2 pb-16
items-center items-center
justify-center
min-w-full min-w-full
max-w-max max-w-max
" "
@@ -367,7 +368,7 @@ function add_activity_log(
<Element_data_store <Element_data_store
ds_code="recovery_meetings_info" ds_code="recovery_meetings_info"
ds_type="html" ds_type="html"
class_li="border border rounded-lg bg-gray-100 p-2 max-w-(--breakpoint-lg) space-y-2" class_li="border border-red rounded-lg bg-gray-100 p-2 max-w-(--breakpoint-lg) space-y-2"
show_edit_btn={true} show_edit_btn={true}
/> />
@@ -381,7 +382,7 @@ function add_activity_log(
{/if} {/if}
</section> </div>
<!-- Modal: Event (Recovery Meeting) edit ID --> <!-- Modal: Event (Recovery Meeting) edit ID -->

View File

@@ -189,7 +189,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
</script> </script>
<section class="ae_section ae_options filters_and_search flex flex-col gap-1 my-2 p-2 border rounded-md items-center justify-center bg-gray-200 border-gray-300 dark:bg-gray-800 dark:border-gray-700"> <section class="ae_section ae_options filters_and_search flex flex-col flex-wrap gap-1 my-2 p-2 border rounded-md items-center justify-center bg-gray-200 border-gray-300 dark:bg-gray-800 dark:border-gray-700">
<!-- <div class="ae_info recovery_meetings_info note"> <!-- <div class="ae_info recovery_meetings_info note">
{@html $idaa_loc.recovery_meetings.ds.recovery_meetings_info} {@html $idaa_loc.recovery_meetings.ds.recovery_meetings_info}
@@ -199,7 +199,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
on:submit|preventDefault={() => { on:submit|preventDefault={() => {
$idaa_trig.event_li_qry = true; $idaa_trig.event_li_qry = true;
}} }}
class="search_form flex flex-col gap-1 w-full" class="search_form flex flex-col flex-wrap gap-1 items-center justify-center w-full max-w-xl"
> >
<!-- <div class="ae_group"> <!-- <div class="ae_group">
@@ -259,9 +259,9 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
</button> </button>
</div> </div>
<fieldset class="flex flex-row flex-wrap gap-4 w-full items-center justify-center"> <fieldset class="flex flex-row flex-wrap gap-4 w-full max-w-xl items-center justify-start">
<div class="legend inline-block"> <span class="text-sm font-semibold">
Location?</div> Location?</span>
<!-- <div class="ae_row ae_flex_justify_around ae_width_md"> --> <!-- <div class="ae_row ae_flex_justify_around ae_width_md"> -->
<label class="flex flex-row gap-1 items-center justify-center"> <label class="flex flex-row gap-1 items-center justify-center">
Virtual Virtual
@@ -270,7 +270,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
type="checkbox" type="checkbox"
bind:checked={$idaa_loc.recovery_meetings.qry__virtual} bind:checked={$idaa_loc.recovery_meetings.qry__virtual}
on:change={() => {$idaa_trig.event_li_qry = true;}} on:change={() => {$idaa_trig.event_li_qry = true;}}
class="checkbox" class="checkbox inline"
> >
</label> </label>
<label class="flex flex-row gap-1 items-center justify-center"> <label class="flex flex-row gap-1 items-center justify-center">
@@ -280,14 +280,14 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
type="checkbox" type="checkbox"
bind:checked={$idaa_loc.recovery_meetings.qry__physical} bind:checked={$idaa_loc.recovery_meetings.qry__physical}
on:change={() => {$idaa_trig.event_li_qry = true;}} on:change={() => {$idaa_trig.event_li_qry = true;}}
class="checkbox" class="checkbox inline"
> >
</label> </label>
<!-- </div> --> <!-- </div> -->
</fieldset> </fieldset>
<fieldset class="flex flex-row flex-wrap gap-4 w-full items-center justify-center"> <fieldset class="flex flex-row flex-wrap gap-4 w-full max-w-xl items-center justify-start">
<div class="legend inline-block text-sm"> <div class="text-sm font-semibold">
Type? Type?
</div> </div>
<!-- <div class="ae_row ae_flex_justify_around ae_width_100"> --> <!-- <div class="ae_row ae_flex_justify_around ae_width_100"> -->
@@ -366,11 +366,11 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
<div>Error: {error.message}</div> <div>Error: {error.message}</div>
{/await} --> {/await} -->
<div class="ae_group ae_row flex flex-row flex-wrap gap-2 w-full items-center justify-center"> <div class="ae_group ae_row flex flex-row flex-wrap gap-2 w-full max-w-full items-center justify-center">
<!-- Max events select options --> <!-- Max events select options -->
<span <span
class="flex flex-row gap-1 items-center justify-around" class="flex flex-row gap-1 items-start justify-start"
> >
<label <label
class="text-sm w-32 text-right" class="text-sm w-32 text-right"
@@ -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_view = false;
$idaa_sess.recovery_meetings.show__modal_edit = true; $idaa_sess.recovery_meetings.show__modal_edit = true;
}} }}
class="novi_btn btn btn-tertiary btn-sm preset-tonal-warning border border-warning-500 hover:preset-filled-warning-500 transition text-xs" class="novi_btn btn btn-sm btn-tertiary preset-tonal-warning border border-warning-500 hover:preset-filled-warning-500 transition text-xs"
disabled={!$ae_loc.authenticated_access} disabled={!$ae_loc.authenticated_access}
> >
<span class="fas fa-plus m-1"></span> Create New Meeting <span class="fas fa-plus m-1"></span> Create New Meeting
@@ -546,7 +546,7 @@ if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings
}); });
}} }}
class="novi_btn btn btn-sm preset-tonal-warning border border-warning-500 hover:preset-filled-warning-500 transition w-42 mb-1 export_data_btn text-xs" class="novi_btn export_data_btn btn btn-sm preset-tonal-warning border border-warning-500 hover:preset-filled-warning-500 transition text-xs"
title={`Download sponsorship data for ${$ae_loc.account_name}`} title={`Download sponsorship data for ${$ae_loc.account_name}`}
> >
{#await ae_promises.download__events_export} {#await ae_promises.download__events_export}