Slow and steady progress getting things working more smoothly.
This commit is contained in:
@@ -223,6 +223,37 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
{/if}
|
||||
</Element_ae_crud>
|
||||
|
||||
<!-- Give option show show or hide the Payment tab if they have been marked as paid (priority = true). -->
|
||||
<div>
|
||||
{#if $event_exhibit_obj?.priority}
|
||||
|
||||
{#if $events_loc.leads.show_option__paid_tab}
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
$events_loc.leads.show_option__paid_tab = false;
|
||||
}}
|
||||
class="btn btn-sm variant-soft-primary"
|
||||
>
|
||||
<span class="fas fa-eye-slash m-1"></span>
|
||||
Hide Payment Tab
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
$events_loc.leads.show_option__paid_tab = !$events_loc.leads.show_option__paid_tab;
|
||||
}}
|
||||
class="btn btn-sm variant-soft-primary"
|
||||
>
|
||||
<span class="fas fa-eye m-1"></span>
|
||||
Show Hidden Payment Tab
|
||||
</button>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Field for license_max. A number between 0 and 10. -->
|
||||
<Element_ae_crud
|
||||
@@ -393,22 +424,20 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
Additional Settings
|
||||
</h2>
|
||||
|
||||
<div>
|
||||
<div class="text-center">
|
||||
<button
|
||||
class="btn btn-sm variant-ghost-warning"
|
||||
class="btn btn-sm variant-ghost-warning m-1"
|
||||
title="Reload and clear the page file cache"
|
||||
on:click={() => {
|
||||
// $ae_loc.
|
||||
window.location.reload(true);
|
||||
}}
|
||||
>
|
||||
<span class="fas fa-sync mx-1"></span>
|
||||
Reload and
|
||||
<span class="fas fa-trash mx-1"></span>
|
||||
Clear Cache
|
||||
<span class="fas fa-sync m-1"></span>
|
||||
Reload Without Cache
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-sm variant-ghost-warning"
|
||||
class="btn btn-sm variant-ghost-warning m-1"
|
||||
title="Clear the browser storage for this page"
|
||||
on:click={() => {
|
||||
// $ae_loc.
|
||||
@@ -417,12 +446,12 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
alert('Local and Session Storage cleared. You will probably want to reload/refresh the page as well.');
|
||||
}}
|
||||
>
|
||||
<span class="fas fa-eraser mx-1"></span>
|
||||
<span class="fas fa-eraser m-1"></span>
|
||||
Clear Storage
|
||||
</button>
|
||||
|
||||
<button
|
||||
class="btn btn-sm variant-ghost-warning"
|
||||
class="btn btn-sm variant-ghost-warning m-1"
|
||||
title="Clear browser iDB storage"
|
||||
on:click={() => {
|
||||
db_events.delete().then(() => {
|
||||
@@ -430,14 +459,15 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
});
|
||||
}}
|
||||
>
|
||||
<span class="fas fa-database mx-1"></span>
|
||||
<span class="fas fa-database m-1"></span>
|
||||
Clear iDB
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id]}
|
||||
|
||||
Auto hide on sign in:
|
||||
<div class="">
|
||||
Auto hide header/footer on sign in:
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
@@ -449,7 +479,9 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
<span class="fas fa-eye-slash mx-1"></span>
|
||||
Turn {$events_loc.leads.auto_hide_on_sign_in ? 'off' : 'on'} auto hide
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Turn on iframe mode:
|
||||
<button
|
||||
type="button"
|
||||
@@ -462,7 +494,9 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
<span class="fas fa-compress mx-1"></span>
|
||||
Turn {$ae_loc.iframe ? 'off' : 'on'} iframe mode
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Show or hide additional details:
|
||||
<button
|
||||
type="button"
|
||||
@@ -475,6 +509,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
|
||||
<span class="fas fa-eye mx-1"></span>
|
||||
Show/Hide Details
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user