Last minute clean up before LCI.
This commit is contained in:
@@ -168,9 +168,9 @@ import Comp__pres_mgmt_menu_nav from '../ae_comp__events_menu_nav.svelte';
|
||||
</div>
|
||||
|
||||
{#if $ae_loc.authenticated_access}
|
||||
<div
|
||||
class="flex flex-col gap-1 items-end justify-center"
|
||||
>
|
||||
<div
|
||||
class="flex flex-col gap-1 items-end justify-center"
|
||||
>
|
||||
<!-- Max presenters select options -->
|
||||
<span
|
||||
class="flex flex-row gap-1 items-center justify-around"
|
||||
@@ -244,136 +244,150 @@ import Comp__pres_mgmt_menu_nav from '../ae_comp__events_menu_nav.svelte';
|
||||
<option value={500}>500</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Toggle between the showing hidden sessions -->
|
||||
<!-- qry_hidden = all, not_hidden, hidden -->
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
if ($events_loc.pres_mgmt.qry_hidden == 'all') {
|
||||
$events_loc.pres_mgmt.qry_hidden = 'not_hidden';
|
||||
} else {
|
||||
$events_loc.pres_mgmt.qry_hidden = 'all';
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
title="Toggle between showing hidden sessions"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.qry_hidden == 'all' ? 'fa-toggle-on' : 'fa-toggle-off'} m-1"></span>
|
||||
{#if $events_loc.pres_mgmt.qry_hidden == 'all'}
|
||||
<span class="grow">
|
||||
<span class="fas fa-eye-slash m-1"></span>
|
||||
Hide Hidden Sessions
|
||||
</span>
|
||||
{:else}
|
||||
<span class="grow">
|
||||
<span class="fas fa-eye m-1"></span>
|
||||
Show Hidden Sessions?
|
||||
</span>
|
||||
{/if}
|
||||
</button>
|
||||
|
||||
<!-- Toggle between the showing disabled sessions -->
|
||||
<!-- qry_enabled = all, enabled -->
|
||||
{#if $ae_loc.manager_access}
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
if ($events_loc.pres_mgmt.qry_enabled == 'all') {
|
||||
$events_loc.pres_mgmt.qry_enabled = 'enabled';
|
||||
} else {
|
||||
$events_loc.pres_mgmt.qry_enabled = 'all';
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
title="Toggle between showing disabled sessions"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.qry_enabled == 'all' ? 'fa-toggle-on' : 'fa-toggle-off'} m-1"></span>
|
||||
{#if $events_loc.pres_mgmt.qry_enabled == 'all'}
|
||||
<span class="grow">
|
||||
<span class="fas fa-ban m-1"></span>
|
||||
Hide Disabled Sessions
|
||||
</span>
|
||||
{:else}
|
||||
<span class="grow">
|
||||
<span class="fas fa-check-circle m-1"></span>
|
||||
Show Disabled Sessions?
|
||||
</span>
|
||||
{/if}
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if $ae_loc.authenticated_access}
|
||||
<div class="flex flex-col gap-1 items-center">
|
||||
|
||||
<!-- Button to toggle between showing and not showing the launcher and location links -->
|
||||
{#if $events_loc.pres_mgmt.show__launcher_link || $events_loc.pres_mgmt.show__location_link}
|
||||
<button
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.show__launcher_link = false;
|
||||
$events_loc.pres_mgmt.show__launcher_link_legacy = false;
|
||||
$events_loc.pres_mgmt.show__location_link = false;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface"
|
||||
>
|
||||
<span class="fas fa-toggle-on m-1"></span>
|
||||
Showing Links
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.show__launcher_link = true;
|
||||
$events_loc.pres_mgmt.show__launcher_link_legacy = true;
|
||||
$events_loc.pres_mgmt.show__location_link = true;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface_outlined"
|
||||
>
|
||||
<span class="fas fa-toggle-off m-1"></span>
|
||||
Show Links?
|
||||
</button>
|
||||
{/if}
|
||||
<!-- Show/Hide launcher links (new version) -->
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__launcher_link = !$events_loc.pres_mgmt.hide__launcher_link;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.hide__launcher_link ? 'fa-toggle-off' : 'fa-toggle-on'} m-1"></span>
|
||||
<span class="grow">
|
||||
<span class="fas fa-plane m-1"></span>
|
||||
{$events_loc.pres_mgmt.hide__launcher_link ? 'Show Launcher Links' : 'Hide Launcher Links?'}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<!-- Button to toggle between showing and not showing the launcher and location links -->
|
||||
{#if !$events_loc.pres_mgmt?.hide__session_li_poc_field}
|
||||
<button
|
||||
disabled={!$ae_loc.authenticated_access}
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__session_li_poc_field = true;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface"
|
||||
>
|
||||
<span class="fas fa-toggle-on m-1"></span>
|
||||
Showing POC
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
disabled={!$ae_loc.authenticated_access}
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__session_li_poc_field = false;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface_outlined"
|
||||
>
|
||||
<span class="fas fa-toggle-off m-1"></span>
|
||||
Show POC?
|
||||
</button>
|
||||
{/if}
|
||||
<!-- Show/Hide launcher links (legacy version) -->
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__launcher_link_legacy = !$events_loc.pres_mgmt.hide__launcher_link_legacy;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.hide__launcher_link_legacy ? 'fa-toggle-off' : 'fa-toggle-on'} m-1"></span>
|
||||
<span class="grow">
|
||||
<span class="fas fa-paper-plane m-1"></span>
|
||||
{$events_loc.pres_mgmt.hide__launcher_link_legacy ? 'Show Launcher Links' : 'Hide Legacy Launcher Links?'}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<!-- Show/Hide location (room) links -->
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__location_link = !$events_loc.pres_mgmt.hide__location_link;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.hide__location_link ? 'fa-toggle-off' : 'fa-toggle-on'} m-1"></span>
|
||||
<span class="grow">
|
||||
<span class="fas fa-map-marker-alt m-1"></span>
|
||||
{$events_loc.pres_mgmt.hide__location_link ? 'Show Location Links' : 'Hide Location Links?'}
|
||||
</span>
|
||||
<!-- Hide={$events_loc.pres_mgmt.hide__location_link} -->
|
||||
</button>
|
||||
|
||||
<!-- Show/Hide the Location (room) column in tables and lists -->
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__session_li_location_field = !$events_loc.pres_mgmt.hide__session_li_location_field;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
title="Toggle showing the Location column in session lists and tables"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.hide__session_li_location_field ? 'fa-toggle-off' : 'fa-toggle-on'} m-1"></span>
|
||||
<span class="grow">
|
||||
<!-- <span class="fas fa-door-open m-1"></span> -->
|
||||
{$events_loc.pres_mgmt.hide__session_li_location_field ? 'Show Location Column' : 'Hide Location Column?'}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<!-- Show/Hide the POC column in tables and lists -->
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
$events_loc.pres_mgmt.hide__session_li_poc_field = !$events_loc.pres_mgmt.hide__session_li_poc_field;
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface justify-between w-full text-center"
|
||||
title="Toggle showing the POC column in session lists and tables"
|
||||
>
|
||||
<span class="fas {$events_loc.pres_mgmt.hide__session_li_poc_field ? 'fa-toggle-off' : 'fa-toggle-on'} m-1"></span>
|
||||
<span class="grow">
|
||||
<!-- <span class="fas fa-user-tie m-1"></span> -->
|
||||
{$events_loc.pres_mgmt.hide__session_li_poc_field ? 'Show POC Column' : 'Hide POC Column?'}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<!-- Button to toggle between the showing hidden sessions -->
|
||||
{#if $events_loc.pres_mgmt.qry_hidden == 'all'}
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
if ($events_loc.pres_mgmt.qry_hidden == 'all') {
|
||||
$events_loc.pres_mgmt.qry_hidden = 'not_hidden';
|
||||
} else {
|
||||
$events_loc.pres_mgmt.qry_hidden = 'all';
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface"
|
||||
title="Hide sessions marked as hidden?"
|
||||
>
|
||||
<span class="fas fa-eye-slash m-1"></span>
|
||||
Hide Sessions?
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
if ($events_loc.pres_mgmt.qry_hidden == 'all') {
|
||||
$events_loc.pres_mgmt.qry_hidden = 'not_hidden';
|
||||
} else {
|
||||
$events_loc.pres_mgmt.qry_hidden = 'all';
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface_outlined"
|
||||
title="Show all (hidden) sessions?"
|
||||
>
|
||||
<span class="fas fa-eye m-1"></span>
|
||||
Show All (Hidden) Sessions?
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
{#if $ae_loc.manager_access}
|
||||
{#if $events_loc.pres_mgmt.qry_enabled == 'all'}
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
if ($events_loc.pres_mgmt.qry_enabled == 'all') {
|
||||
$events_loc.pres_mgmt.qry_enabled = 'enabled';
|
||||
} else {
|
||||
$events_loc.pres_mgmt.qry_enabled = 'all';
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface"
|
||||
title="Hide disabled sessions?"
|
||||
>
|
||||
<span class="fas fa-eye-slash m-1"></span>
|
||||
Hide Disabled Sessions?
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
if ($events_loc.pres_mgmt.qry_enabled == 'all') {
|
||||
$events_loc.pres_mgmt.qry_enabled = 'enabled';
|
||||
} else {
|
||||
$events_loc.pres_mgmt.qry_enabled = 'all';
|
||||
}
|
||||
}}
|
||||
class="btn btn-sm ae_btn_surface_outlined"
|
||||
title="Show disabled sessions?"
|
||||
>
|
||||
<span class="fas fa-eye m-1"></span>
|
||||
Show All (Disabled) Sessions?
|
||||
</button>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user