Package updates. More updates for LCI.
This commit is contained in:
@@ -445,20 +445,18 @@ let lq__auth__event_presenter_obj = $derived(liveQuery(async () => {
|
||||
/>
|
||||
|
||||
{#snippet footer()}
|
||||
<div class="text-center w-full">
|
||||
|
||||
<div class="text-center w-full">
|
||||
|
||||
<button
|
||||
onclick={() => {
|
||||
$events_sess.pres_mgmt.show_modal__presenter_agree = false;
|
||||
}}
|
||||
class="btn btn-sm preset-tonal-warning hover:preset-tonal-warning border border-warning-500"
|
||||
>
|
||||
<span class="fas fa-times m-1"></span>
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button
|
||||
onclick={() => {
|
||||
$events_sess.pres_mgmt.show_modal__presenter_agree = false;
|
||||
}}
|
||||
class="btn btn-sm preset-tonal-warning hover:preset-tonal-warning border border-warning-500"
|
||||
>
|
||||
<span class="fas fa-times m-1"></span>
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
{/snippet}
|
||||
|
||||
</Modal>
|
||||
|
||||
@@ -141,11 +141,13 @@ async function handle_update__event_presenter({
|
||||
<strong>{$lq__event_presenter_obj.full_name} ({$lq__event_presenter_obj.email})</strong>
|
||||
</h2>
|
||||
|
||||
<div class="bg-gray-100 p-4 border border-gray-200 rounded-md space-y-4">
|
||||
<Element_data_store
|
||||
ds_code="event_presenter_agree_text"
|
||||
ds_type="html"
|
||||
class_li="p-2"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<section class="text-lg border border-red-200 rounded-md bg-red-100 space-y-2">
|
||||
|
||||
@@ -153,110 +155,113 @@ async function handle_update__event_presenter({
|
||||
<p class="text-lg bg-yellow-100 p-2">
|
||||
<strong>{$lq__event_presenter_obj.full_name} ({$lq__event_presenter_obj.email})</strong> agrees to the following terms and conditions for the presentation:
|
||||
</p>
|
||||
<h3 class="h4">Title: "{$lq__event_presenter_obj?.event_presentation_name}"</h3>
|
||||
<h3 class="h4 text-center">
|
||||
<span class="text-base">Presentation:</span> "{$lq__event_presenter_obj?.event_presentation_name}"
|
||||
</h3>
|
||||
|
||||
<div>
|
||||
<h3 class="h4">Opt-Out?</h3>
|
||||
<div class="w-full">
|
||||
<h3 class="h4 text-center">Opt-Out?</h3>
|
||||
<form
|
||||
class="modal-form {$ae_loc.hub.classes__form}"
|
||||
on:submit|preventDefault={handle_submit_form}
|
||||
>
|
||||
<p>Speaker does not permit the use of presentation materials as described in section(s), above for: (please check for all that apply)</p>
|
||||
<p>Speaker does not permit the use of presentation materials as described in section(s), above for: (please check for all that apply)</p>
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_audio">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_audio"
|
||||
name="optout_audio"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_audio}
|
||||
value={true}
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_audio">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_audio"
|
||||
name="optout_audio"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_audio}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Audio Reproduction of Presentation
|
||||
</label>
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_video">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_video"
|
||||
name="optout_video"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_video}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Video Reproduction of Presentation
|
||||
</label>
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_transcription_and_publication">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_transcription_and_publication"
|
||||
name="optout_transcription_and_publication"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_transcription_and_publication}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Transcription and Publication of Presentation on LCI Website
|
||||
</label>
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_publication_in_app">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_publication_in_app"
|
||||
name="optout_publication_in_app"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_publication_in_app}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Publication of Presentation on LCI Congress App
|
||||
</label>
|
||||
|
||||
<div class="text-center w-full">
|
||||
<button
|
||||
type="submit"
|
||||
disabled={($events_sess.pres_mgmt?.disable_submit__opt_out)}
|
||||
on:click={() => {
|
||||
console.log('*** Save button clicked ***');
|
||||
}}
|
||||
class="btn btn-md preset-tonal-warning border border-warning-500 hover:preset-filled-secondary-500 m-2"
|
||||
>
|
||||
Opt-out - Audio Reproduction of Presentation
|
||||
</label>
|
||||
<span class="fas fa-check m-1 text-orange-500"></span>
|
||||
Save Opt-Out?
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_video">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_video"
|
||||
name="optout_video"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_video}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Video Reproduction of Presentation
|
||||
</label>
|
||||
{#await ae_promises.update__event_presenter_obj}
|
||||
<div class="modal-loading">
|
||||
<span class="fas fa-spinner fa-spin"></span>
|
||||
<span class="loading-text">
|
||||
<!-- <ProgressRadial value={undefined} /> -->
|
||||
Saving...
|
||||
</span>
|
||||
</div>
|
||||
{:then update__event_presenter_obj_result}
|
||||
{#if update__event_presenter_obj_result}
|
||||
<div class="modal-loading">
|
||||
<span class="fas fa-check-circle"></span>
|
||||
<span class="loading-text">Successfully saved!</span>
|
||||
</div>
|
||||
{/if}
|
||||
{:catch error}
|
||||
<div class="modal-loading">
|
||||
<span class="fas fa-exclamation-triangle"></span>
|
||||
<span class="loading-text">Error: {error.message}</span>
|
||||
</div>
|
||||
{/await}
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_transcription_and_publication">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_transcription_and_publication"
|
||||
name="optout_transcription_and_publication"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_transcription_and_publication}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Transcription and Publication of Presentation on LCI Website
|
||||
</label>
|
||||
|
||||
<label
|
||||
class="label p-1 hover:preset-tonal-warning border border-warning-500 rounded-md"
|
||||
for="optout_publication_in_app">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox preset-tonal-warning border border-warning-500 checked:preset-filled-warning-500 hover:preset-filled-error-500"
|
||||
id="optout_publication_in_app"
|
||||
name="optout_publication_in_app"
|
||||
checked={$lq__event_presenter_obj.data_json?.optout_publication_in_app}
|
||||
value={true}
|
||||
>
|
||||
Opt-out - Publication of Presentation on LCI Congress App
|
||||
</label>
|
||||
|
||||
<div class="text-center w-full">
|
||||
<button
|
||||
type="submit"
|
||||
disabled={($events_sess.pres_mgmt?.disable_submit__opt_out)}
|
||||
on:click={() => {
|
||||
console.log('*** Save button clicked ***');
|
||||
}}
|
||||
class="btn btn-md preset-tonal-warning border border-warning-500 hover:preset-filled-secondary-500 m-2"
|
||||
>
|
||||
<span class="fas fa-check m-1 text-orange-500"></span>
|
||||
Save Opt-Out?
|
||||
|
||||
{#await ae_promises.update__event_presenter_obj}
|
||||
<div class="modal-loading">
|
||||
<span class="fas fa-spinner fa-spin"></span>
|
||||
<span class="loading-text">
|
||||
<!-- <ProgressRadial value={undefined} /> -->
|
||||
Saving...
|
||||
</span>
|
||||
</div>
|
||||
{:then update__event_presenter_obj_result}
|
||||
{#if update__event_presenter_obj_result}
|
||||
<div class="modal-loading">
|
||||
<span class="fas fa-check-circle"></span>
|
||||
<span class="loading-text">Successfully saved!</span>
|
||||
</div>
|
||||
{/if}
|
||||
{:catch error}
|
||||
<div class="modal-loading">
|
||||
<span class="fas fa-exclamation-triangle"></span>
|
||||
<span class="loading-text">Error: {error.message}</span>
|
||||
</div>
|
||||
{/await}
|
||||
|
||||
</button>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="text-center w-full">
|
||||
<h3 class="h4">Agree?</h3>
|
||||
|
||||
@@ -155,11 +155,12 @@ async function handle_submit_form(event) {
|
||||
<p class="text-lg bg-yellow-100 p-2">
|
||||
<strong>{$lq__event_session_obj.poc_person_full_name} ({$lq__event_session_obj.poc_person_primary_email})</strong> agrees to the following terms and conditions for the presentation:
|
||||
</p>
|
||||
<h3 class="h4">Title: "{$lq__event_session_obj?.name}"</h3>
|
||||
<h3 class="h4 text-center">
|
||||
<span class="text-base">Session:</span> "{$lq__event_session_obj?.name}"
|
||||
</h3>
|
||||
|
||||
|
||||
<div>
|
||||
<h3 class="h4">Opt-Out?</h3>
|
||||
<div class="w-full">
|
||||
<h3 class="h4 text-center">Opt-Out?</h3>
|
||||
<form
|
||||
class="modal-form {$ae_loc.hub.classes__form}"
|
||||
on:submit|preventDefault={handle_submit_form}
|
||||
@@ -260,9 +261,28 @@ async function handle_submit_form(event) {
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="text-center w-full">
|
||||
<h3 class="h4">Agree?</h3>
|
||||
<!-- Agree (agreement) means this presenter has agreed to the terms and conditions. -->
|
||||
{#if !$lq__event_session_obj?.poc_agree}
|
||||
<div>
|
||||
Not Agreed:
|
||||
<span class="fas fa-times text-red-500 m-1"></span>
|
||||
<!-- <span class="fas fa-question text-red-500 m-1"></span> -->
|
||||
</div>
|
||||
<div>
|
||||
Waiting for agreement to the POC Consent and Release and Terms and Conditions before you can move on.
|
||||
</div>
|
||||
{:else}
|
||||
<div>
|
||||
Agreed:
|
||||
<span class="fas fa-check text-green-500 m-1"></span>
|
||||
Marked as agreed
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if !$lq__event_session_obj?.poc_agree}
|
||||
<button
|
||||
disabled={!$ae_loc.administrator_access &&
|
||||
|
||||
@@ -566,7 +566,6 @@ let clipboard_success = $state(false);
|
||||
/>
|
||||
|
||||
{#snippet footer()}
|
||||
|
||||
<div class="text-center w-full">
|
||||
|
||||
<button
|
||||
@@ -579,7 +578,6 @@ let clipboard_success = $state(false);
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/snippet}
|
||||
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user