Added ability to upload files individually to get the % uploaded. Added show/hide of manage files for sessions and presenters. Other clean up.

This commit is contained in:
Scott Idem
2024-08-13 16:42:10 -04:00
parent d5dbeeabf7
commit 00fcd8e747
9 changed files with 227 additions and 67 deletions

View File

@@ -46,6 +46,33 @@ let ae_triggers: key_val = {};
<span
class="ae_menu__object_options flex flex-row items-center justify-around"
>
<!-- Button to toggle between the regular presenter view and managing presenter files -->
<button
type="button"
on:click={() => {
if ($events_loc.pres_mgmt.show_content__presenter_view == 'manage_files') {
$events_loc.pres_mgmt.show_content__presenter_view = null;
} else {
$events_loc.pres_mgmt.show_content__presenter_view = 'manage_files';
}
}}
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
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
{:else}
<span class="fas fa-file-archive m-1"></span>
Presenter Files
<!-- <span> -->
{$lq__event_presenter_obj?.file_count ? `(${$lq__event_presenter_obj?.file_count})` : ''}
<!-- </span> -->
{/if}
</button>
<button
type="button"
on:click={() => {