Cleaned up links. Added links in the Launcher to go back to the session search, location view, and session view.
This commit is contained in:
@@ -296,6 +296,7 @@ console.log(`BROWSER Events - [event_id] launcher +layout.svelte start`);
|
|||||||
|
|
||||||
<Drawer
|
<Drawer
|
||||||
bgColor="bg-blue"
|
bgColor="bg-blue"
|
||||||
|
class="bg-orange-100 opacity-75 hover:opacity-95 transition-all duration-1000"
|
||||||
placement="left"
|
placement="left"
|
||||||
transitionType="fly"
|
transitionType="fly"
|
||||||
transitionParams={
|
transitionParams={
|
||||||
@@ -367,12 +368,30 @@ console.log(`BROWSER Events - [event_id] launcher +layout.svelte start`);
|
|||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="grid grid-cols-2 gap-4">
|
<div class="grid grid-cols-2 gap-4">
|
||||||
<button
|
<a href="/events/{$events_slct.event_id}" class="btn btn-sm variant-soft-primary hover:variant-filled-primary">
|
||||||
class="btn btn-sm variant-ghost-tertiary hover:variant-filled-tertiary"
|
<span class="fas fa-arrow-left m-1"></span>
|
||||||
>Test 1</button>
|
Session Search
|
||||||
<button
|
</a>
|
||||||
class="btn btn-sm variant-ghost-tertiary hover:variant-filled-tertiary"
|
{#if $events_slct?.event_location_id}
|
||||||
>Test 2</button>
|
<a href="/events/{$events_slct.event_id}/location/{$events_slct.event_location_id}"
|
||||||
|
class="btn btn-sm variant-soft-primary hover:variant-filled-primary">
|
||||||
|
<span class="fas fa-arrow-left m-1"></span>
|
||||||
|
View Selected Location
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
{#if $events_slct?.event_session_id}
|
||||||
|
<a href="/events/{$events_slct.event_id}/session/{$events_slct.event_session_id}"
|
||||||
|
class="btn btn-sm variant-soft-primary hover:variant-filled-primary">
|
||||||
|
<span class="fas fa-arrow-left m-1"></span>
|
||||||
|
View Selected Session
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
<!-- <button
|
||||||
|
class="btn btn-sm variant-ghost-tertiary hover:variant-filled-tertiary"
|
||||||
|
>Test 1</button> -->
|
||||||
|
<!-- <button
|
||||||
|
class="btn btn-sm variant-ghost-tertiary hover:variant-filled-tertiary"
|
||||||
|
>Test 2</button> -->
|
||||||
</div>
|
</div>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ let ae_triggers: key_val = {};
|
|||||||
<span
|
<span
|
||||||
class="ae_menu__navigation_options flex flex-row items-center justify-around"
|
class="ae_menu__navigation_options flex flex-row items-center justify-around"
|
||||||
>
|
>
|
||||||
<a href="/events_pres_mgmt/event/{$lq__event_location_obj?.event_id_random}" class="{ae_snip.classes__events_pres_mgmt_menu__button}">
|
<a href="/events/{$lq__event_location_obj?.event_id_random}" class="{ae_snip.classes__events_pres_mgmt_menu__button}">
|
||||||
<span class="fas fa-arrow-left m-1"></span>
|
<span class="fas fa-arrow-left m-1"></span>
|
||||||
Back to Session Search
|
Back to Session Search
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export let events__session_search: boolean = false; // event_id
|
|||||||
class="ae_menu__navigation_options flex flex-row items-center justify-around"
|
class="ae_menu__navigation_options flex flex-row items-center justify-around"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="/events_pres_mgmt/event/{events__session_search}"
|
href="/events/{events__session_search}"
|
||||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||||
class:hidden={!events__session_search}
|
class:hidden={!events__session_search}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ let lq__event_presentation_obj = liveQuery(
|
|||||||
api_cfg: $ae_api,
|
api_cfg: $ae_api,
|
||||||
for_obj_type: link_to_type,
|
for_obj_type: link_to_type,
|
||||||
for_obj_id: link_to_id,
|
for_obj_id: link_to_id,
|
||||||
log_lvl: 1,
|
log_lvl: log_lvl,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
class="btn btn-sm p-1 m-1 variant-soft-tertiary hover:variant-ghost-warning transition hover:transition-all *:hover:inline"
|
class="btn btn-sm p-1 m-1 variant-soft-tertiary hover:variant-ghost-warning transition hover:transition-all *:hover:inline"
|
||||||
@@ -255,7 +255,7 @@ let lq__event_presentation_obj = liveQuery(
|
|||||||
api_cfg: $ae_api,
|
api_cfg: $ae_api,
|
||||||
// user_id: $ae_loc.user_id,
|
// user_id: $ae_loc.user_id,
|
||||||
data_kv: person_data,
|
data_kv: person_data,
|
||||||
log_lvl: 1,
|
log_lvl: log_lvl,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log('new_person_obj:', new_person_obj);
|
console.log('new_person_obj:', new_person_obj);
|
||||||
@@ -265,7 +265,7 @@ let lq__event_presentation_obj = liveQuery(
|
|||||||
api_cfg: $ae_api,
|
api_cfg: $ae_api,
|
||||||
event_presenter_id: event_presenter_obj.event_presenter_id_random,
|
event_presenter_id: event_presenter_obj.event_presenter_id_random,
|
||||||
data_kv: {person_id_random: new_person_obj.person_id_random},
|
data_kv: {person_id_random: new_person_obj.person_id_random},
|
||||||
log_lvl: 1,
|
log_lvl: log_lvl
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
class:hidden={!$ae_loc.edit_mode}
|
class:hidden={!$ae_loc.edit_mode}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export let pres_mgmt__session_search: boolean = false; // event_id
|
|||||||
class="ae_menu__navigation_options flex flex-row items-center justify-around"
|
class="ae_menu__navigation_options flex flex-row items-center justify-around"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="/events_pres_mgmt/event/{event_id}"
|
href="/events/{event_id}"
|
||||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||||
class:hidden={!pres_mgmt__session_search}
|
class:hidden={!pres_mgmt__session_search}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user