Done for the night.
This commit is contained in:
@@ -383,7 +383,7 @@ async function handle_search__event_presenter(
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Sessions without files uploaded -->
|
<!-- Sessions without files uploaded -->
|
||||||
<!-- <button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
disabled={!$ae_loc.administrator_access}
|
disabled={!$ae_loc.administrator_access}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
@@ -406,12 +406,12 @@ async function handle_search__event_presenter(
|
|||||||
class="btn btn-sm variant-ghost-success hover:variant-filled-success transition-all mx-1"
|
class="btn btn-sm variant-ghost-success hover:variant-filled-success transition-all mx-1"
|
||||||
title="Show sessions without files uploaded."
|
title="Show sessions without files uploaded."
|
||||||
>
|
>
|
||||||
{#if $events_sess.pres_mgmt.status_rpt__presenters_agree == 'loading'}
|
{#if $events_sess.pres_mgmt?.show_report == 'session_no_files' && $events_sess.pres_mgmt.status_rpt[$events_sess.pres_mgmt?.show_report] == 'loading'}
|
||||||
<span class="fas fa-spinner fa-spin"></span>
|
<span class="fas fa-spinner fa-spin"></span>
|
||||||
{/if}
|
{/if}
|
||||||
<span class="fas fa-clipboard-list m-1"></span>
|
<span class="fas fa-clipboard-list m-1"></span>
|
||||||
Sessions without Files
|
Sessions without Files
|
||||||
</button> -->
|
</button>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -437,64 +437,7 @@ async function handle_search__event_presenter(
|
|||||||
{#if $events_sess.pres_mgmt.show_report == 'presenters_agree' && event_presenter_id_random_li?.length > 0}
|
{#if $events_sess.pres_mgmt.show_report == 'presenters_agree' && event_presenter_id_random_li?.length > 0}
|
||||||
<!-- <div class="overflow-x-auto"> -->
|
<!-- <div class="overflow-x-auto"> -->
|
||||||
<h3 class="h4 text-center">Presenters Agreed</h3>
|
<h3 class="h4 text-center">Presenters Agreed</h3>
|
||||||
<label
|
|
||||||
class="text-sm"
|
|
||||||
for="qry_limit__presenters">Max results:
|
|
||||||
|
|
||||||
<!-- <input
|
|
||||||
type="number"
|
|
||||||
id="qry_limit__presenters"
|
|
||||||
bind:value={$events_sess.pres_mgmt.qry_limit__presenters}
|
|
||||||
on:change={() => {
|
|
||||||
handle_search__event_presenter({
|
|
||||||
api_cfg: $ae_api,
|
|
||||||
event_id: $events_slct.event_id,
|
|
||||||
agree: true,
|
|
||||||
biography: null,
|
|
||||||
ft_search_str: '',
|
|
||||||
lk_search_str: '',
|
|
||||||
params: {
|
|
||||||
'qry__enabled': 'enabled',
|
|
||||||
'qry__hidden': 'not_hidden',
|
|
||||||
'qry__limit': $events_sess.pres_mgmt.qry_limit__presenters,},
|
|
||||||
try_cache: false,
|
|
||||||
log_lvl: log_lvl,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
class="input max-w-16 text-sm"
|
|
||||||
placeholder="Max number of presenters to show"
|
|
||||||
> -->
|
|
||||||
|
|
||||||
<select
|
|
||||||
id="qry_limit__presenters"
|
|
||||||
bind:value={$events_sess.pres_mgmt.qry_limit__presenters}
|
|
||||||
on:change={() => {
|
|
||||||
handle_search__event_presenter({
|
|
||||||
api_cfg: $ae_api,
|
|
||||||
event_id: $events_slct.event_id,
|
|
||||||
agree: true,
|
|
||||||
biography: null,
|
|
||||||
ft_search_str: '',
|
|
||||||
lk_search_str: '',
|
|
||||||
params: {
|
|
||||||
'qry__enabled': 'enabled',
|
|
||||||
'qry__hidden': 'not_hidden',
|
|
||||||
'qry__limit': $events_sess.pres_mgmt.qry_limit__presenters,},
|
|
||||||
try_cache: false,
|
|
||||||
log_lvl: log_lvl,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
class="select max-w-16 text-sm"
|
|
||||||
>
|
|
||||||
<option value={25}>25</option>
|
|
||||||
<option value={50}>50</option>
|
|
||||||
<option value={75}>75</option>
|
|
||||||
<option value={100}>100</option>
|
|
||||||
<option value={200}>200</option>
|
|
||||||
<option value={500}>500</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
</label>
|
|
||||||
<Comp_event_presenter_obj_tbl
|
<Comp_event_presenter_obj_tbl
|
||||||
bind:event_presenter_id_random_li={event_presenter_id_random_li}
|
bind:event_presenter_id_random_li={event_presenter_id_random_li}
|
||||||
show_presentation_fields={true}
|
show_presentation_fields={true}
|
||||||
@@ -506,63 +449,7 @@ async function handle_search__event_presenter(
|
|||||||
<!-- Show presenters with bios -->
|
<!-- Show presenters with bios -->
|
||||||
{#if $events_sess.pres_mgmt.show_report == 'presenters_biography' && event_presenter_id_random_li?.length > 0}
|
{#if $events_sess.pres_mgmt.show_report == 'presenters_biography' && event_presenter_id_random_li?.length > 0}
|
||||||
<h3 class="h4 text-center">Presenters with Bios</h3>
|
<h3 class="h4 text-center">Presenters with Bios</h3>
|
||||||
<label
|
|
||||||
class="text-sm"
|
|
||||||
for="qry_limit__presenters">Max results:
|
|
||||||
|
|
||||||
<!-- <input
|
|
||||||
type="number"
|
|
||||||
bind:value={$events_sess.pres_mgmt.qry_limit__presenters}
|
|
||||||
on:change={() => {
|
|
||||||
handle_search__event_presenter({
|
|
||||||
api_cfg: $ae_api,
|
|
||||||
event_id: $events_slct.event_id,
|
|
||||||
agree: null,
|
|
||||||
biography: true,
|
|
||||||
ft_search_str: '',
|
|
||||||
lk_search_str: '',
|
|
||||||
params: {
|
|
||||||
'qry__enabled': 'enabled',
|
|
||||||
'qry__hidden': 'not_hidden',
|
|
||||||
'qry__limit': $events_sess.pres_mgmt.qry_limit__presenters,},
|
|
||||||
try_cache: false,
|
|
||||||
log_lvl: log_lvl,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
class="input max-w-16 text-sm"
|
|
||||||
placeholder="Max number of presenters to show"
|
|
||||||
> -->
|
|
||||||
|
|
||||||
<select
|
|
||||||
id="qry_limit__presenters"
|
|
||||||
bind:value={$events_sess.pres_mgmt.qry_limit__presenters}
|
|
||||||
on:change={() => {
|
|
||||||
handle_search__event_presenter({
|
|
||||||
api_cfg: $ae_api,
|
|
||||||
event_id: $events_slct.event_id,
|
|
||||||
agree: true,
|
|
||||||
biography: null,
|
|
||||||
ft_search_str: '',
|
|
||||||
lk_search_str: '',
|
|
||||||
params: {
|
|
||||||
'qry__enabled': 'enabled',
|
|
||||||
'qry__hidden': 'not_hidden',
|
|
||||||
'qry__limit': $events_sess.pres_mgmt.qry_limit__presenters,},
|
|
||||||
try_cache: false,
|
|
||||||
log_lvl: log_lvl,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
class="select max-w-16 text-sm"
|
|
||||||
>
|
|
||||||
<option value={25}>25</option>
|
|
||||||
<option value={50}>50</option>
|
|
||||||
<option value={75}>75</option>
|
|
||||||
<option value={100}>100</option>
|
|
||||||
<option value={200}>200</option>
|
|
||||||
<option value={500}>500</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
</label>
|
|
||||||
<Comp_event_presenter_obj_tbl
|
<Comp_event_presenter_obj_tbl
|
||||||
bind:event_presenter_id_random_li={event_presenter_id_random_li}
|
bind:event_presenter_id_random_li={event_presenter_id_random_li}
|
||||||
show_presentation_fields={true}
|
show_presentation_fields={true}
|
||||||
@@ -574,62 +461,7 @@ async function handle_search__event_presenter(
|
|||||||
<!-- Show recently uploaded files -->
|
<!-- Show recently uploaded files -->
|
||||||
{#if $events_sess.pres_mgmt.show_report == 'recent_files' && event_file_id_random_li?.length > 0}
|
{#if $events_sess.pres_mgmt.show_report == 'recent_files' && event_file_id_random_li?.length > 0}
|
||||||
<h3 class="h4 text-center">Recent File Uploads</h3>
|
<h3 class="h4 text-center">Recent File Uploads</h3>
|
||||||
<label
|
|
||||||
class="text-sm"
|
|
||||||
for="qry_limit__files">Max results:
|
|
||||||
|
|
||||||
<!-- <input
|
|
||||||
type="number"
|
|
||||||
id="qry_limit__files"
|
|
||||||
bind:value={$events_sess.pres_mgmt.qry_limit__files}
|
|
||||||
on:change={() => {
|
|
||||||
handle_search__event_file({
|
|
||||||
api_cfg: $ae_api,
|
|
||||||
event_id: $events_slct.event_id,
|
|
||||||
created_on: null,
|
|
||||||
ft_search_str: '',
|
|
||||||
lk_search_str: '',
|
|
||||||
params: {
|
|
||||||
'qry__enabled': 'enabled',
|
|
||||||
'qry__hidden': 'not_hidden',
|
|
||||||
'qry__limit': $events_sess.pres_mgmt.qry_limit__files,},
|
|
||||||
try_cache: false,
|
|
||||||
log_lvl: log_lvl,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
class="input max-w-16 text-sm"
|
|
||||||
placeholder="Max number of files to show"
|
|
||||||
> -->
|
|
||||||
|
|
||||||
<select
|
|
||||||
id="qry_limit__files"
|
|
||||||
bind:value={$events_sess.pres_mgmt.qry_limit__files}
|
|
||||||
on:change={() => {
|
|
||||||
handle_search__event_file({
|
|
||||||
api_cfg: $ae_api,
|
|
||||||
event_id: $events_slct.event_id,
|
|
||||||
created_on: null,
|
|
||||||
ft_search_str: '',
|
|
||||||
lk_search_str: '',
|
|
||||||
params: {
|
|
||||||
'qry__enabled': 'enabled',
|
|
||||||
'qry__hidden': 'not_hidden',
|
|
||||||
'qry__limit': $events_sess.pres_mgmt.qry_limit__files,},
|
|
||||||
try_cache: false,
|
|
||||||
log_lvl: log_lvl,
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
class="select max-w-16 text-sm"
|
|
||||||
>
|
|
||||||
<option value={25}>25</option>
|
|
||||||
<option value={50}>50</option>
|
|
||||||
<option value={75}>75</option>
|
|
||||||
<option value={100}>100</option>
|
|
||||||
<option value={200}>200</option>
|
|
||||||
<option value={500}>500</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
</label>
|
|
||||||
<Comp_event_file_obj_tbl
|
<Comp_event_file_obj_tbl
|
||||||
bind:event_file_id_random_li={event_file_id_random_li}
|
bind:event_file_id_random_li={event_file_id_random_li}
|
||||||
show_location_fields={true}
|
show_location_fields={true}
|
||||||
@@ -640,21 +472,6 @@ async function handle_search__event_presenter(
|
|||||||
</Comp_event_file_obj_tbl>
|
</Comp_event_file_obj_tbl>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!-- {#if $events_slct.event_presenter_obj_li?.length == event_presenter_id_random_li?.length}
|
|
||||||
<Comp_event_presenter_obj_li
|
|
||||||
link_to_type={'event'}
|
|
||||||
link_to_id={$events_slct.event_id}
|
|
||||||
event_presenter_id_random_li={event_presenter_id_random_li}
|
|
||||||
/>
|
|
||||||
{:else}
|
|
||||||
<section class="text-center text-2xl bg-yellow-100 p-4 rounded-md lg:max-w-lg space-y-2">
|
|
||||||
<p>
|
|
||||||
<span class="fas fa-exclamation-triangle text-2xl text-yellow-500"></span>
|
|
||||||
No results to show.
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
{/if} -->
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user