General clean up and making things a least look real.

This commit is contained in:
Scott Idem
2024-03-20 16:33:36 -04:00
parent 84e3098b72
commit e21b7ef584
8 changed files with 565 additions and 271 deletions

View File

@@ -41,7 +41,9 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
{#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
<div>
<div class="space-y-2">
<p class="mb-4"><strong>{@html $event_exhibit_obj?.priority ? '<span class="fas fa-check text-green-500"></span> Leads license(s) marked as paid for this exhibit!' : 'The leads license have not been marked as paid yet. If you have already paid, please wait and this will be reflected here within 48 business hours.'}</strong></p>
<strong>Logged in and using license for:</strong>
{#if $event_exhibit_obj?.license_li_json}
<!-- <div class="flex flex-row wrap gap-1"> -->
@@ -66,7 +68,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
<!-- Show the full_name of the person associated with that license key email address. The license information is stored in an array. The license key is not the index number value in the array. Ideally I was planning to make the key the email address, not an array index number. -->
<button
type="button"
class="btn btn-sm variant-soft-warning w-48"
class="btn btn-sm variant-ghost-warning w-48"
on:click={() => {
$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key = null;
}}
@@ -82,7 +84,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] = null;
}}
title="Log out"
class="btn btn-sm variant-soft-warning w-48"
class="btn btn-sm variant-ghost-warning w-48"
>
<span class="fas fa-sign-out-alt mx-1"></span>
Log Out
@@ -99,7 +101,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] = null;
}}
title="Log out"
class="btn btn-sm variant-soft-warning w-48"
class="btn btn-sm variant-ghost-warning w-48"
>
<span class="fas fa-sign-out-alt mx-1"></span>
Log Out
@@ -131,7 +133,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
}}
disabled={true}
class="btn btn-sm variant-soft-primary w-48 mb-1 export_data_btn"
class="btn btn-sm variant-ghost-primary w-48 mb-1 export_data_btn"
title={`TEMPORARILY DISABLED: Download leads data for ${$events_slct.exhibit_obj.name}`}
>
<span class="fas fa-download mx-1"></span> Export Data
@@ -156,7 +158,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
console.log('Auto hide on sign in');
$events_loc.leads.auto_hide_on_sign_in = !$events_loc.leads.auto_hide_on_sign_in;
}}
class="btn btn-sm variant-soft w-48"
class="btn btn-sm variant-ghost w-48"
>
<span class="fas fa-eye-slash mx-1"></span>
Turn {$events_loc.leads.auto_hide_on_sign_in ? 'off' : 'on'} auto hide
@@ -169,7 +171,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
console.log('Turn on iframe mode');
$ae_loc.iframe = !$ae_loc.iframe;
}}
class="btn btn-sm variant-soft w-48"
class="btn btn-sm variant-ghost w-48"
>
<span class="fas fa-compress mx-1"></span>
Turn {$ae_loc.iframe ? 'off' : 'on'} iframe mode
@@ -182,7 +184,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
console.log('Show/Hide Details');
$events_loc.show_details = !$events_loc.show_details;
}}
class="btn btn-sm variant-soft w-48"
class="btn btn-sm variant-ghost w-48"
>
<span class="fas fa-eye mx-1"></span>
Show/Hide Details
@@ -196,7 +198,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] = null;
}}
title="Log out"
class="btn variant-soft-primary w-48"
class="btn variant-ghost-primary w-48"
>
<span class="fas fa-sign-out-alt mx-1"></span>
Log Out