Now with session searching working
This commit is contained in:
@@ -245,20 +245,22 @@ onMount(() => {
|
||||
{#if $ae_loc.trusted_access || $events_loc.auth__kv.session[$events_slct.event_session_id]}
|
||||
|
||||
{#if $events_slct.presenter_obj.agree}
|
||||
<button
|
||||
class="btn btn-md variant-ghost-primary"
|
||||
<a
|
||||
class="btn btn-md variant-ghost-primary hover:variant-filled-primary"
|
||||
href="https://static.oneskyit.com/c/LCI/files/LCI_Congress_Template_2024.pptx"
|
||||
>
|
||||
<span class="fas fa-download mx-1"></span>
|
||||
Download
|
||||
LCI Congress Template 2024 (PowerPoint)
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-md variant-ghost-primary"
|
||||
</a>
|
||||
<a
|
||||
class="btn btn-md variant-ghost-primary hover:variant-filled-primary"
|
||||
href="https://static.oneskyit.com/c/LCI/files/LCI_Speaker_and_Champion_Congress_Task_List_2024.xlsx"
|
||||
>
|
||||
<span class="fas fa-download mx-1"></span>
|
||||
Download
|
||||
LCI Speaker and Champion Congress Task List (Excel)
|
||||
</button>
|
||||
</a>
|
||||
{:else}
|
||||
<span class="text-xl text-red-500 font-bold text-center">
|
||||
<p><strong>Read and Consent Agreement?</strong></p>
|
||||
@@ -399,8 +401,18 @@ onMount(() => {
|
||||
>
|
||||
{#each event_presentation_obj_li as event_presentation_obj}
|
||||
<li>
|
||||
<h4 class="h4">
|
||||
{event_presentation_obj.name}
|
||||
|
||||
<!-- Make sure to show the edit button only if the user has the correct permissions. Need to set the presentation ID in the store. -->
|
||||
{#if $ae_loc.trusted_access || $events_loc.auth__kv.presentation[event_presentation_obj.event_presentation_id_random]}
|
||||
<button title="Edit presentation title and description" class="btn btn-sm variant-soft-warning float-right">
|
||||
<span class="fas fa-edit">
|
||||
</span>
|
||||
Edit Presentation
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<h4 class="h5">
|
||||
"{event_presentation_obj.name}"
|
||||
{#if event_presentation_obj.code || event_presentation_obj.abstract_code}
|
||||
<span class="text-sm text-gray-500 bg-yellow-100 p-1 rounded-md border border-yellow-200"
|
||||
title="Presentation code {event_presentation_obj.code} and abstract code {event_presentation_obj.abstract_code}"
|
||||
@@ -456,6 +468,7 @@ onMount(() => {
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-md variant-outline-success"
|
||||
disabled={!$events_loc.auth__kv.person[event_presenter_obj.person_id_random]}
|
||||
on:click={
|
||||
() => {
|
||||
console.log('View presenter details');
|
||||
@@ -705,7 +718,7 @@ onMount(() => {
|
||||
Marked as agreed
|
||||
{/if}
|
||||
|
||||
{#if $ae_loc.trusted_access}
|
||||
{#if $ae_loc.trusted_access || $events_loc.auth__kv.session[$events_slct.event_session_id]}
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
@@ -740,6 +753,126 @@ onMount(() => {
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
{#if $events_loc.pres_mgmt.show_content__presenter_start}
|
||||
<section class="ae_quick_modal_container">
|
||||
<section class="ae_quick_popover">
|
||||
|
||||
<section class="ae_modal_scrollfix">
|
||||
<button
|
||||
on:click={
|
||||
() => {
|
||||
$events_loc.pres_mgmt.show_content__presenter_start = null;
|
||||
}
|
||||
}
|
||||
class="btn btn-sm variant-soft-secondary float-right"
|
||||
>
|
||||
<span class="fas fa-times mx-1"></span>
|
||||
Close
|
||||
</button>
|
||||
|
||||
<h2 class="h3">
|
||||
Presenter Details for:<br>
|
||||
<strong>{$events_slct.presenter_obj.full_name} ({$events_slct.presenter_obj.email})</strong>
|
||||
</h2>
|
||||
|
||||
<!-- <Element_data_store
|
||||
ds_code="event_presenter_details"
|
||||
ds_type="html"
|
||||
display="block"
|
||||
class_li="p-2"
|
||||
/> -->
|
||||
|
||||
<section class="p-2">
|
||||
<h3 class="h4">Title: "{$events_slct.presentation_obj.name}"</h3>
|
||||
<h3 class="h4">Presenter:</h3>
|
||||
<ul
|
||||
class="space-y-2 px-4"
|
||||
>
|
||||
<li>
|
||||
<span class="fas fa-user"></span>
|
||||
{$events_slct.presenter_obj.full_name}
|
||||
</li>
|
||||
<li>
|
||||
<span class="fas fa-envelope"></span>
|
||||
<a
|
||||
href="mailto:{$events_slct.presenter_obj.email}"
|
||||
class="text-blue-500"
|
||||
>{$events_slct.presenter_obj.email}</a>
|
||||
</li>
|
||||
<!-- <li>
|
||||
<span class="fas fa-phone"></span>
|
||||
{$events_slct.presenter_obj.phone}
|
||||
</li> -->
|
||||
<li>
|
||||
<span class="fas fa-building"></span>
|
||||
{$events_slct.presenter_obj.affiliations}
|
||||
</li>
|
||||
<li>
|
||||
<span class="fas fa-user-tag"></span>
|
||||
{$events_slct.presenter_obj.professional_title}
|
||||
</li>
|
||||
<li>
|
||||
<span class="fas fa-user-secret"></span>
|
||||
{$events_slct.presenter_obj.person_passcode} (your passcode)
|
||||
|
||||
<button title="Edit your passcode" class="btn btn-sm variant-soft-warning">
|
||||
<span class="fas fa-edit">
|
||||
</span>
|
||||
Edit
|
||||
</button>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="h4">Files:</h3>
|
||||
<label>
|
||||
Upload new file(s):
|
||||
<input
|
||||
type="file"
|
||||
class="form-input"
|
||||
multiple
|
||||
>
|
||||
</label>
|
||||
|
||||
<ul
|
||||
class="space-y-2 px-4"
|
||||
>
|
||||
{#if $events_slct.presenter_obj.file_li}
|
||||
{#each $events_slct.presenter_obj.file_li as file_obj}
|
||||
<li>
|
||||
<span class="fas fa-file"></span>
|
||||
<a
|
||||
href={file_obj.url}
|
||||
class="text-blue-500"
|
||||
>{file_obj.name}</a>
|
||||
</li>
|
||||
{/each}
|
||||
{:else}
|
||||
<li>
|
||||
<span class="fas fa-file"></span>
|
||||
No files uploaded
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<button
|
||||
on:click={
|
||||
() => {
|
||||
$events_loc.pres_mgmt.show_content__presenter_start = null;
|
||||
}
|
||||
}
|
||||
class="btn btn-sm variant-soft-secondary float-right"
|
||||
>
|
||||
<span class="fas fa-times mx-1"></span>
|
||||
Close
|
||||
</button>
|
||||
</section>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
|
||||
<style lang="postcss">
|
||||
/* Use the div.ae_quick_modal_container to block background clicks when using the section.ae_quick_popover. */
|
||||
|
||||
Reference in New Issue
Block a user