More clean up for IDAA. Mostly style related.
This commit is contained in:
@@ -32,7 +32,7 @@ let ae_promises: key_val = $state({});
|
||||
{#each $lq__archive_content_obj_li as idaa_archive_content_obj, index}
|
||||
|
||||
{#if idaa_archive_content_obj.group && idaa_archive_content_obj.group != $lq__archive_content_obj_li[index - 1]?.group}
|
||||
<div class="ae_row archive_content__group flex flex-row items-center justify-center">
|
||||
<div class="ae_row archive_content__group flex flex-row items-center justify-center bg-white rounded-lg p-2 w-full max-w-screen-lg">
|
||||
<button
|
||||
type="button"
|
||||
class="novi_btn novi_margin_sm btn btn-md btn-info variant-glass-secondary hover:variant-filled-secondary transition w-96"
|
||||
@@ -63,7 +63,7 @@ let ae_promises: key_val = $state({});
|
||||
{#if $idaa_sess.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group}
|
||||
|
||||
<div
|
||||
class="container archive archive_content_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 archive archive_content_obj border border-1 p-2 mb-2 space-y-2 w-full max-w-screen-lg flex flex-col items-center justify-center bg-white rounded-lg"
|
||||
class:dim={idaa_archive_content_obj.hide}
|
||||
class:bg-warning-100={!idaa_archive_content_obj?.enable}
|
||||
>
|
||||
|
||||
@@ -24,7 +24,7 @@ let { log_lvl = 0, lq__archive_obj, lq__archive_content_obj_li }: Props = $props
|
||||
</script>
|
||||
|
||||
|
||||
<section class="svelte_component ae_section ae_view archive_obj view__archive_obj" bind:clientHeight={$ae_loc.iframe_height_modal_body}>
|
||||
<section class="svelte_component ae_section ae_view archive_obj view__archive_obj bg-white rounded-lg p-2 m-2" bind:clientHeight={$ae_loc.iframe_height_modal_body}>
|
||||
|
||||
<header class="ae_header archive__header">
|
||||
<h2 class="archive__name h3">
|
||||
|
||||
@@ -23,14 +23,14 @@ onMount(() => {
|
||||
|
||||
{#if idaa_post_obj} <!-- This check for the idaa_post_obj is here in case the IDB entry is deleted. -->
|
||||
<div
|
||||
class="container bb_post post_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 bb_post post_obj border border-1 p-2 mb-2 space-y-2 w-full max-w-screen-lg flex flex-col items-center justify-center bg-white rounded-lg"
|
||||
class:dim={idaa_post_obj?.hide}
|
||||
class:bg-warning-100={!idaa_post_obj?.enable}
|
||||
class:hidden={(idaa_post_obj.hide && $idaa_loc.bb.qry__hidden != 'all') || (!idaa_post_obj.enable && $idaa_loc.bb.qry__enabled != 'all')}
|
||||
>
|
||||
|
||||
<header class="ae_header">
|
||||
<h3 class="post__title flex flex-row gap-2 items-center h3">
|
||||
<h3 class="post__title flex flex-row gap-2 items-center h3 border-b border-1 border-gray-200 w-full">
|
||||
<span class="post__title">
|
||||
<span class="fas fa-comment-alt m-1"></span>
|
||||
{@html idaa_post_obj.title}
|
||||
@@ -40,7 +40,7 @@ onMount(() => {
|
||||
</header>
|
||||
|
||||
<!-- {#if idaa_post_obj.content}<pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap reset_css">{@html idaa_post_obj.content}</pre>{/if} -->
|
||||
{#if idaa_post_obj.content}<div class="post__content w-full p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal reset_css">{@html idaa_post_obj.content}</div>{/if}
|
||||
{#if idaa_post_obj.content}<div class="post__content w-full p-2 bg-gray shadow-md rounded text-wrap text-sm font-normal reset_css">{@html idaa_post_obj.content}</div>{/if}
|
||||
|
||||
<div class="ae_options flex flex-row gap-2 items-center justify-center">
|
||||
<button
|
||||
|
||||
@@ -21,6 +21,8 @@ import { db_events } from "$lib/ae_events/db_events";
|
||||
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
|
||||
import Element_data_store from '$lib/element_data_store_v2.svelte';
|
||||
|
||||
import Comp__event_obj_qry from './ae_idaa_comp__event_obj_qry.svelte';
|
||||
import Comp__event_obj_li from './ae_idaa_comp__event_obj_li.svelte';
|
||||
import Comp__event_obj_id_edit from './ae_idaa_comp__event_obj_id_edit.svelte';
|
||||
@@ -296,7 +298,13 @@ if (browser) {
|
||||
bind:event_id_random_li={event_id_random_li}
|
||||
/>
|
||||
|
||||
<!-- <h1>Recovery Meetings {$lq_new__event_obj_li?.length}</h1> -->
|
||||
|
||||
<Element_data_store
|
||||
ds_code="recovery_meetings_info"
|
||||
ds_type="html"
|
||||
class_li="border border-1 rounded-lg bg-gray-100 p-2 max-w-screen-lg space-y-2"
|
||||
/>
|
||||
|
||||
|
||||
{#if $lq_new__event_obj_li && $lq_new__event_obj_li?.length }
|
||||
<Comp__event_obj_li
|
||||
|
||||
Reference in New Issue
Block a user