Still working on upgrading to Tailwind CSS v4 an dSkeleton v3.....
This commit is contained in:
@@ -124,7 +124,7 @@ onMount(() => {
|
||||
ds_type="html"
|
||||
for_type="event"
|
||||
for_id={$lq__event_obj?.event_id}
|
||||
class_li="w-full max-w-screen-lg text-lg text-blue-500 font-bold text-center p-1 m-auto border border-blue-200 rounded-md bg-blue-100 space-y-2"
|
||||
class_li="w-full max-w-(--breakpoint-lg) text-lg text-blue-500 font-bold text-center p-1 m-auto border border-blue-200 rounded-md bg-blue-100 space-y-2"
|
||||
hide={!$ae_loc.manager_access || $events_loc.pres_mgmt.hide__locations_msg}
|
||||
show_edit={false}
|
||||
show_edit_btn={true}
|
||||
|
||||
@@ -71,7 +71,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
log_lvl: log_lvl,
|
||||
})
|
||||
}}
|
||||
class="btn btn-sm variant-soft-warning hover:variant-filled-warning"
|
||||
class="btn btn-sm preset-tonal-warning hover:preset-filled-warning-500"
|
||||
>
|
||||
<span class="fas fa-plus mx-1"></span>
|
||||
Add Location
|
||||
@@ -159,7 +159,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
<span class="links">
|
||||
<a
|
||||
href="/events/{event_location_obj?.event_id}/location/{event_location_obj?.event_location_id_random}"
|
||||
class="btn btn-sm variant-glass-secondary hover:variant-filled-secondary transition-all hover:transition-all *:hover:inline text-xs"
|
||||
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
|
||||
title="View this location"
|
||||
>
|
||||
<span class="fas fa-map-marker-alt m-1"></span>
|
||||
@@ -168,7 +168,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
|
||||
<a
|
||||
href="/event/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id_random}"
|
||||
class="btn btn-sm variant-glass-secondary hover:variant-filled-secondary transition-all hover:transition-all *:hover:inline text-xs"
|
||||
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
|
||||
title="The legacy launcher that not actively being developed. Use with the native launcher for oral sessions."
|
||||
>
|
||||
<span class="fas fa-paper-plane m-1"></span>
|
||||
@@ -177,7 +177,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
|
||||
<a
|
||||
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id_random}"
|
||||
class="btn btn-sm variant-ghost-tertiary hover:variant-filled-secondary transition-all hover:transition-all *:hover:inline text-xs"
|
||||
class="btn btn-sm preset-tonal-tertiary border border-tertiary-500 hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
|
||||
title="The new launcher that is actively being developed. Do not use with the native launcher."
|
||||
>
|
||||
<span class="fas fa-plane m-1"></span>
|
||||
@@ -201,8 +201,8 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm variant-ghost-surface hover:variant-filled-surface transition-all hover:transition-all *:hover:inline text-xs"
|
||||
class:variant-glass-warning={$events_loc.pres_mgmt?.location_kv[event_location_obj.event_location_id]?.collapse}
|
||||
class="btn btn-sm preset-tonal-surface border border-surface-500 hover:preset-filled-surface-500 transition-all hover:transition-all *:hover:inline text-xs"
|
||||
class:preset-tonal-warning={$events_loc.pres_mgmt?.location_kv[event_location_obj.event_location_id]?.collapse}
|
||||
>
|
||||
{#if $events_loc.pres_mgmt.location_kv && $events_loc.pres_mgmt.location_kv[event_location_obj.event_location_id]?.collapse}
|
||||
<!-- <span class="fas fa-minus mx-1"></span> -->
|
||||
@@ -268,7 +268,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
$events_slct.event_location_id = event_location_obj.event_location_id_random;
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm variant-soft-surface hover:variant-filled-surface text-xs"
|
||||
class="btn btn-sm preset-tonal-surface hover:preset-filled-surface-500 text-xs"
|
||||
>
|
||||
{#if $events_sess.pres_mgmt.show_content__location_description == event_location_obj.event_location_id_random}
|
||||
<span class="fas fa-eye-slash mx-1"></span>
|
||||
|
||||
@@ -53,8 +53,8 @@ export let lq__event_obj: any;
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__location == 'options'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__location != 'options'}
|
||||
class:preset-filled-secondary-500={$events_loc.pres_mgmt.show_menu__location == 'options'}
|
||||
class:preset-tonal-secondary={$events_loc.pres_mgmt.show_menu__location != 'options'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Options for the location"
|
||||
>
|
||||
@@ -77,8 +77,8 @@ export let lq__event_obj: any;
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__location == 'help'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__location != 'help'}
|
||||
class:preset-filled-secondary-500={$events_loc.pres_mgmt.show_menu__location == 'help'}
|
||||
class:preset-tonal-secondary={$events_loc.pres_mgmt.show_menu__location != 'help'}
|
||||
title="Help and information about the location"
|
||||
>
|
||||
<span class="fas fa-question-circle m-1"></span>
|
||||
@@ -112,8 +112,8 @@ export let lq__event_obj: any;
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm"
|
||||
class:variant-ghost-success={$events_loc.pres_mgmt?.show_content__location_devices_sessions== 'sessions'}
|
||||
class:variant-ghost-warning={$events_loc.pres_mgmt?.show_content__location_devices_sessions== 'devices'}
|
||||
class:preset-tonal-success border border-success-500={$events_loc.pres_mgmt?.show_content__location_devices_sessions== 'sessions'}
|
||||
class:preset-tonal-warning border border-warning-500={$events_loc.pres_mgmt?.show_content__location_devices_sessions== 'devices'}
|
||||
title="Show the session list or device list."
|
||||
>
|
||||
{#if $events_loc.pres_mgmt.show_content__location_devices_sessions == 'sessions'}
|
||||
@@ -132,8 +132,8 @@ export let lq__event_obj: any;
|
||||
$events_loc.pres_mgmt.hide__device_code = !$events_loc.pres_mgmt.hide__device_code;
|
||||
}}
|
||||
class="btn btn-sm"
|
||||
class:variant-ghost-success={!$events_loc.pres_mgmt?.hide__device_code}
|
||||
class:variant-ghost-warning={$events_loc.pres_mgmt?.hide__device_code}
|
||||
class:preset-tonal-success border border-success-500={!$events_loc.pres_mgmt?.hide__device_code}
|
||||
class:preset-tonal-warning border border-warning-500={$events_loc.pres_mgmt?.hide__device_code}
|
||||
title="Show or hide the device code."
|
||||
>
|
||||
{#if !$events_loc.pres_mgmt.hide__device_code}
|
||||
@@ -152,8 +152,8 @@ export let lq__event_obj: any;
|
||||
$events_loc.pres_mgmt.hide__location_code = !$events_loc.pres_mgmt.hide__location_code;
|
||||
}}
|
||||
class="btn btn-sm"
|
||||
class:variant-ghost-success={!$events_loc.pres_mgmt?.hide__location_code}
|
||||
class:variant-ghost-warning={$events_loc.pres_mgmt?.hide__location_code}
|
||||
class:preset-tonal-success border border-success-500={!$events_loc.pres_mgmt?.hide__location_code}
|
||||
class:preset-tonal-warning border border-warning-500={$events_loc.pres_mgmt?.hide__location_code}
|
||||
title="Show or hide the location code."
|
||||
>
|
||||
{#if !$events_loc.pres_mgmt.hide__location_code}
|
||||
@@ -172,8 +172,8 @@ export let lq__event_obj: any;
|
||||
$events_loc.pres_mgmt.hide__session_code = !$events_loc.pres_mgmt.hide__session_code;
|
||||
}}
|
||||
class="btn btn-sm"
|
||||
class:variant-ghost-success={!$events_loc.pres_mgmt?.hide__session_code}
|
||||
class:variant-ghost-warning={$events_loc.pres_mgmt?.hide__session_code}
|
||||
class:preset-tonal-success border border-success-500={!$events_loc.pres_mgmt?.hide__session_code}
|
||||
class:preset-tonal-warning border border-warning-500={$events_loc.pres_mgmt?.hide__session_code}
|
||||
title="Show or hide the session code."
|
||||
>
|
||||
{#if !$events_loc.pres_mgmt.hide__session_code}
|
||||
@@ -207,7 +207,7 @@ export let lq__event_obj: any;
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show_menu__location = !$events_loc.pres_mgmt.show_menu__location;
|
||||
}}
|
||||
class="btn btn-sm mx-1 variant-ghost-error hover:variant-filled-error"
|
||||
class="btn btn-sm mx-1 preset-tonal-error border border-error-500 hover:preset-filled-error-500"
|
||||
class:hidden={!$events_loc.pres_mgmt.show_menu__location}
|
||||
title="Collapse the expanded menu"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user