Working on the styling some more.

This commit is contained in:
Scott Idem
2024-08-23 16:34:28 -04:00
parent 014d244019
commit 4fa8d0368f
18 changed files with 414 additions and 47 deletions

View File

@@ -26,7 +26,7 @@ export let lq__event_location_obj: any;
// export let lq_get__event_presenter_obj_li: any;
export let lq__event_session_obj: any;
// let load_event_session_obj = ({
// let load_event_session_obj = events_func.load_ae_obj_id__event_session({
// api_cfg: $ae_api,
// event_session_id: $events_loc.launcher.slct.event_session_id,
// inc_presenter_li: false,

View File

@@ -54,6 +54,35 @@ let ae_triggers: key_val = {};
<span
class="ae_menu__object_options flex flex-row items-center justify-around"
>
<!-- Button to toggle between the regular event session search view and managing event files -->
<button
type="button"
on:click={() => {
if ($events_loc.pres_mgmt.show_content__session_search_view == 'manage_files') {
$events_loc.pres_mgmt.show_content__session_search_view = null;
} else {
$events_loc.pres_mgmt.show_content__session_search_view = 'manage_files';
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
class:variant-filled-primary={$events_loc.pres_mgmt.show_content__session_search_view == 'manage_files'}
class:variant-glass-primary={$events_loc.pres_mgmt.show_content__session_search_view != 'manage_files'}
class:hidden={!$ae_loc.trusted_access}
title="Manage files for the session"
>
{#if $events_loc.pres_mgmt.show_content__session_search_view == 'manage_files'}
<span class="fas fa-users m-1"></span>
<!-- View Details -->
Session Presenters?
{:else}
<span class="fas fa-file-archive m-1"></span>
Session Files?
<!-- <span> -->
{$lq__event_obj?.file_count ? `(${$lq__event_obj?.file_count})` : ''}
<!-- </span> -->
{/if}
</button>
<!-- Button to toggle between showing and not showing the extended options menu -->
<button
type="button"
@@ -65,6 +94,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session_search == 'options'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session_search != 'options'}
class:hidden={!$ae_loc.trusted_access}
title="Options for the presenter"
>
@@ -89,6 +120,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session_search == 'help'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session_search != 'help'}
title="Help and information about the session search"
>
<span class="fas fa-question-circle m-1"></span>

View File

@@ -54,6 +54,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__event_reports == 'options'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__event_reports != 'options'}
class:hidden={!$ae_loc.trusted_access}
title="Options for the presenter"
>
@@ -78,6 +80,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__event_reports == 'help'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__event_reports != 'help'}
title="Help and information about the reports"
>
<span class="fas fa-question-circle mx-1"></span>

View File

@@ -60,16 +60,18 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
class:variant-filled-primary={$events_loc.pres_mgmt.show_content__presenter_view == 'manage_files'}
class:variant-glass-primary={$events_loc.pres_mgmt.show_content__presenter_view != 'manage_files'}
class:hidden={!$ae_loc.authenticated_access}
title="Manage files for the presenter"
>
{#if $events_loc.pres_mgmt.show_content__presenter_view == 'manage_files'}
<span class="fas fa-info m-1"></span>
<!-- View Details -->
Presenter Info
Presenter Info?
{:else}
<span class="fas fa-file-archive m-1"></span>
Presenter Files
Presenter Files?
<!-- <span> -->
{$lq__event_presenter_obj?.file_count ? `(${$lq__event_presenter_obj?.file_count})` : ''}
<!-- </span> -->
@@ -87,6 +89,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__presenter == 'options'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__presenter != 'options'}
class:hidden={!$ae_loc.trusted_access}
title="Options for the presenter"
>
@@ -111,8 +115,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button} transition-all hover:transition-all *:hover:inline"
class:variant-ghost-success={$events_loc.pres_mgmt.show_menu__presenter == 'help'}
class:variant-ringed-warning={true}
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__presenter == 'help'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__presenter != 'help'}
title="Help and information about the presenter"
>
<span class="fas fa-question-circle m-1"></span>

View File

@@ -41,7 +41,7 @@ let ae_triggers: key_val = {};
</span>
<span
class="ae_menu__object_options"
class="ae_menu__object_options flex flex-row items-center justify-around"
>
<!-- Button to toggle between the regular session view and managing session files -->
<button
@@ -54,16 +54,18 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
class:hidden={!$ae_loc.authenticated_access}
class:variant-filled-primary={$events_loc.pres_mgmt.show_content__session_view == 'manage_files'}
class:variant-glass-primary={$events_loc.pres_mgmt.show_content__session_view != 'manage_files'}
class:hidden={!$ae_loc.trusted_access}
title="Manage files for the session"
>
{#if $events_loc.pres_mgmt.show_content__session_view == 'manage_files'}
<span class="fas fa-users m-1"></span>
<!-- View Details -->
Session Presenters
Session Presenters?
{:else}
<span class="fas fa-file-archive m-1"></span>
Session Files
Session Files?
<!-- <span> -->
{$lq__event_session_obj?.file_count ? `(${$lq__event_session_obj?.file_count})` : ''}
<!-- </span> -->
@@ -80,6 +82,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session == 'options'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session != 'options'}
class:hidden={!$ae_loc.trusted_access}
title="Options for the session"
>
@@ -102,6 +106,8 @@ let ae_triggers: key_val = {};
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session == 'help'}
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session != 'help'}
title="Help and information about the session"
>
<span class="fas fa-question-circle m-1"></span>