I am done for the night...
This commit is contained in:
@@ -5,7 +5,7 @@ export let data;
|
||||
|
||||
|
||||
<svelte:head>
|
||||
<title>Events Speakers - {data.ae_loc.title}</title>
|
||||
<title>Speaker Hub - {data.ae_loc.title}</title>
|
||||
</svelte:head>
|
||||
|
||||
|
||||
|
||||
@@ -279,45 +279,47 @@ async function handle_load_ae_obj_id__event_presenter({event_presenter_id, try_c
|
||||
</script>
|
||||
|
||||
|
||||
<div class="ae_events_speakers md:container h-full mx-auto">
|
||||
<div class="space-y-10 flex flex-col">
|
||||
<section class="ae_events_speakers md:container h-full mx-auto flex flex-col items-center space-y-4">
|
||||
|
||||
<h1 class="h1 text-center">
|
||||
<!-- Æ - Events: Speakers -->
|
||||
Speakers Hub
|
||||
</h1>
|
||||
<section>
|
||||
<button
|
||||
class="btn variant-ghost-primary"
|
||||
on:click={() => {
|
||||
// $ae_loc.mod.events.show_edit__event_presenter_obj = true;
|
||||
$slct.event_presenter_id = null;
|
||||
$slct.event_presenter_obj = null;
|
||||
<header>
|
||||
<h1 class="h2">
|
||||
<!-- Æ - Events: Speakers -->
|
||||
Speaker Hub
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
// modalStore.trigger(modal_edit__event_presenter_obj);
|
||||
$ae_loc.mod.events.show_edit__event_presenter_obj = true;
|
||||
$slct_trigger = 'show_edit__event_presenter_obj';
|
||||
}}
|
||||
>
|
||||
<span class="fas fa-edit mx-1"></span>
|
||||
Start Speaker Submission Form
|
||||
</button>
|
||||
</section>
|
||||
<section>
|
||||
<button
|
||||
class="btn variant-ghost-primary"
|
||||
on:click={() => {
|
||||
// $ae_loc.mod.events.show_edit__event_presenter_obj = true;
|
||||
$slct.event_presenter_id = null;
|
||||
$slct.event_presenter_obj = null;
|
||||
|
||||
<section class="events_speakers_list">
|
||||
{#await ae_event_presenter_obj_li_get_promise}
|
||||
<span class="fas fa-spinner fa-spin"></span>
|
||||
<span class="loading-text">
|
||||
Loading...
|
||||
</span>
|
||||
{/await}
|
||||
// modalStore.trigger(modal_edit__event_presenter_obj);
|
||||
$ae_loc.mod.events.show_edit__event_presenter_obj = true;
|
||||
$slct_trigger = 'show_edit__event_presenter_obj';
|
||||
}}
|
||||
>
|
||||
<span class="fas fa-edit mx-1"></span>
|
||||
Start Speaker Submission Form
|
||||
</button>
|
||||
</section>
|
||||
|
||||
{#if $slct.event_presenter_obj_li && $ae_loc.mod.events.show_list__event_presenter_obj_li}
|
||||
<List_event_presenter_obj />
|
||||
{/if}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<section class="events_speakers_list ae_h_scrollfix">
|
||||
{#await ae_event_presenter_obj_li_get_promise}
|
||||
<span class="fas fa-spinner fa-spin"></span>
|
||||
<span class="loading-text">
|
||||
Loading...
|
||||
</span>
|
||||
{/await}
|
||||
|
||||
{#if $slct.event_presenter_obj_li && $ae_loc.mod.events.show_list__event_presenter_obj_li}
|
||||
<List_event_presenter_obj class_li=""/>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<style lang="postcss">
|
||||
|
||||
@@ -531,7 +531,7 @@ async function handle_update__event_presenter({
|
||||
{/if}
|
||||
<span class="fas fa-file-upload"></span>
|
||||
</svelte:fragment>
|
||||
Files
|
||||
Headshot
|
||||
</Tab>
|
||||
<Tab
|
||||
bind:group={$store_current_tab}
|
||||
@@ -818,7 +818,7 @@ async function handle_update__event_presenter({
|
||||
>
|
||||
<svelte:fragment slot="lead"><span class="fas fa-file-upload"></svelte:fragment>
|
||||
<svelte:fragment slot="message"><strong>Upload your file</strong> (drag and drop)</svelte:fragment>
|
||||
<svelte:fragment slot="meta">Image file types only (PNG, WEBP, JPG, etc)</svelte:fragment>
|
||||
<svelte:fragment slot="meta">High resolution image files only<br>(PNG, WEBP, JPG, etc)</svelte:fragment>
|
||||
</FileDropzone>
|
||||
{@html placeholder_li.image_headshot}
|
||||
</label>
|
||||
|
||||
@@ -10,7 +10,7 @@ import { ae_util } from '$lib/ae_utils';
|
||||
// import { ae } from 'aether_npm_lib';
|
||||
import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
|
||||
|
||||
export let container_class_li = [];
|
||||
export let class_li: string = '';
|
||||
|
||||
onMount(() => {
|
||||
console.log('** Component Mounted: ** List - Event Presenters Obj');
|
||||
@@ -18,7 +18,7 @@ onMount(() => {
|
||||
</script>
|
||||
|
||||
|
||||
<section class="svelte_component ae_section ae_list list__event_presenter_obj event_presenter_obj_li {container_class_li.join(' ')} ae_h_scrollfix">
|
||||
<section class="svelte_component ae_section ae_list list__event_presenter_obj event_presenter_obj_li {class_li}">
|
||||
{#if $slct.event_presenter_obj_li}
|
||||
<table class="table table-compact table-hover">
|
||||
<thead>
|
||||
|
||||
@@ -245,13 +245,11 @@ $: if (testing) {
|
||||
{@html $ae_loc.ds.hub__page__events_speakers__create_info_header}
|
||||
{:else}
|
||||
<header>
|
||||
<h1 class="h1">Information Goes Here</h1>
|
||||
<h1 class="h2">Speaker Hub Infor Goes Here</h1>
|
||||
</header>
|
||||
{/if}
|
||||
|
||||
<!-- <section class="btn btn-group"> -->
|
||||
|
||||
|
||||
<section>
|
||||
{#if $slct.event_presenter_id}
|
||||
<button
|
||||
class="btn variant-ghost-primary w-96"
|
||||
@@ -289,15 +287,15 @@ $: if (testing) {
|
||||
Start Speaker Submission Form
|
||||
</button>
|
||||
{/if}
|
||||
<!-- </section> -->
|
||||
</section>
|
||||
|
||||
{#if $ae_loc.ds.hub__page__events_speakers__create_info}
|
||||
{@html $ae_loc.ds.hub__page__events_speakers__create_info}
|
||||
{:else}
|
||||
<section>
|
||||
<div class="alert alert-info">
|
||||
More information goes here.
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
More information can go here or this can be hidden.
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user