Wrapping up for the day. Lots of improvements. More menu options for location and device related.

This commit is contained in:
Scott Idem
2024-10-16 18:48:14 -04:00
parent 590d274910
commit 63fea17472
13 changed files with 482 additions and 236 deletions

View File

@@ -503,12 +503,14 @@ async function handle_qry__event_session(
<section
class="
ae_events_pres_mgmt_event
md:container h-full mx-auto
md:container
flex flex-col gap-1
py-1 px-2 pb-16
items-center
min-w-100
w-3/4
justify-start
mx-auto
py-1 px-2 pb-16
h-full
min-w-full
max-w-max
"
>
@@ -516,19 +518,35 @@ async function handle_qry__event_session(
xl:bg-green-200 -->
{#if $lq__event_obj}
<header>
<h2 class="h3 text-center hidden md:block">{$lq__event_obj?.name}</h2>
<h3 class="h4 text-center">Presentations - Reports</h3>
</header>
{/if}
<Event_reports_page_menu
data={data}
lq__event_obj={lq__event_obj}
/>
{#if !$lq__event_obj}
<div>
<span class="fas fa-spinner fa-spin m-1"></span>
<span>Loading event information...</span>
</div>
{:else}
<h2 class="h2 text-center rounded-md p-1 px-2 bg-gray-300 flex flex-row gap-0.25 items-center justify-between w-full">
<span
class="flex flex-row gap-1 items-center"
>
<span class="fas fa-chart-line m-1"></span>
Reports
</span>
<!-- Reports for: -->
{#if $lq__event_obj?.cfg_json?.short_name}
{@html $lq__event_obj?.cfg_json.short_name ?? ae_snip.html__not_set}
{:else}
{@html $lq__event_obj?.name ?? ae_snip.html__not_set}
{/if}
</h2>
<div class="variant-ghost-success my-2 p-2 rounded-md flex flex-row flex-wrap gap-1 items-center justify-center">
@@ -933,6 +951,8 @@ async function handle_qry__event_session(
{/if}
{/if}
</section>

View File

@@ -32,8 +32,7 @@ let ae_triggers: key_val = {};
hide={!$ae_loc.authenticated_access}
event_id={$lq__event_obj?.event_id}
ae_core={$ae_loc.administrator_access}
events__locations={$ae_loc.administrator_access}
events__reports={$ae_loc.trusted_access}
events__locations={$ae_loc.trusted_access}
events__session_search={$events_slct.event_id}
/>