Work on help information for session search and session view
This commit is contained in:
@@ -12,6 +12,7 @@ import type { key_val } from '$lib/ae_stores';
|
||||
import { ae_util } from '$lib/ae_utils';
|
||||
import { api } from '$lib/api';
|
||||
import Element_ae_crud from '$lib/element_ae_crud.svelte';
|
||||
import Element_data_store from '$lib/element_data_store.svelte';
|
||||
|
||||
import { liveQuery } from "dexie";
|
||||
import { core_func } from '$lib/ae_core_functions';
|
||||
@@ -210,6 +211,40 @@ $: if ($events_trigger == 'load__event_session_obj_li' && $events_slct.event_id)
|
||||
>
|
||||
|
||||
|
||||
<div class="pres_mgmt__session_search_help flex flex-col items-center space-y-2">
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show_content__session_search_help = !$events_loc.pres_mgmt.show_content__session_search_help;
|
||||
}}
|
||||
class="btn btn-sm m-1 variant-soft-tertiary text-info-300 hover:text-info-800"
|
||||
title="Help and information about the session search"
|
||||
>
|
||||
<span class="fas fa-question-circle mx-1"></span>
|
||||
{#if $events_loc.pres_mgmt.show_content__session_search_help}
|
||||
Hide
|
||||
{:else}
|
||||
Show
|
||||
{/if}
|
||||
Help
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<Element_data_store
|
||||
ds_code="events__pres_mgmt__session_search_help"
|
||||
ds_name="Default: Events - Pres Mgmt Session Search Help"
|
||||
ds_type="html"
|
||||
for_type="event"
|
||||
for_id={$events_slct.event_id}
|
||||
class_li="bg-yellow-100 p-2 rounded-md border border-yellow-200"
|
||||
show_edit={false}
|
||||
show_edit_btn={true}
|
||||
hide={!$events_loc.pres_mgmt.show_content__session_search_help}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
{#if $events_slct.event_id && $event_obj}
|
||||
<h2 class="h3 text-center">{$event_obj.name}</h2>
|
||||
<h3 class="h4 text-center">Presentation Management Hub</h3>
|
||||
|
||||
Reference in New Issue
Block a user