Now with much better badge search function. And bug fix for Payment tab.
This commit is contained in:
@@ -503,7 +503,7 @@ function send_init_confirm_email({index, lic_key, lic_pass}) {
|
||||
border=""
|
||||
class="bg-surface-100-800-token w-full"
|
||||
>
|
||||
{#if $events_loc.leads.show_option__paid_tab}
|
||||
{#if $events_loc.leads.show_option__paid_tab ?? true}
|
||||
<Tab
|
||||
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
|
||||
name="tab_payment"
|
||||
|
||||
@@ -861,47 +861,5 @@ function handle_qr_camera(event) {
|
||||
|
||||
|
||||
<style lang="postcss">
|
||||
/* Use the div.ae_quick_modal_container to block background clicks when using the section.ae_quick_popover. */
|
||||
div.ae_quick_modal_container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 100;
|
||||
background-color: hsla(0, 0%, 0%, .5);
|
||||
}
|
||||
|
||||
/* The section.ae_quick_popover should be above the rest of the content and centered on the page. */
|
||||
section.ae_quick_popover {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 100;
|
||||
background-color: hsla(0, 0%, 100%, .95);
|
||||
padding: 1rem;
|
||||
border-radius: .5rem;
|
||||
box-shadow: 0 0 1rem hsla(0, 0%, 0%, .5);
|
||||
|
||||
min-height: 98%;
|
||||
min-width: 98%;
|
||||
}
|
||||
|
||||
section.ae_quick_popover_small {
|
||||
position: fixed;
|
||||
top: 1em;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
z-index: 100;
|
||||
background-color: hsla(0, 0%, 100%, .95);
|
||||
padding: 1rem;
|
||||
border-radius: .5rem;
|
||||
box-shadow: 0 0 1rem hsla(0, 0%, 0%, .5);
|
||||
|
||||
min-hight: 24rem;
|
||||
max-height: 95%;
|
||||
min-width: 50%;
|
||||
max-width: 95%;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -120,15 +120,16 @@ $: if ($events_sess.stripe && $events_sess.stripe.license_qty >= 0 || $events_se
|
||||
<p>You have not rented any tablets for scanning. You can use your own device(s) with this service.</p>
|
||||
{/if}
|
||||
|
||||
<p>To save space while using this app you can hide this payment tab now that you have paid for your licenses. This can be unhidden under the Conf tab if needed.</p>
|
||||
<p>To save space while using this app you can hide this payment tab now that you have paid for your licenses. This can be unhidden under the Conf(ig) tab if needed.</p>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
let confirm_hide = confirm('Are you sure you want to hide this tab?');
|
||||
let confirm_hide = confirm('You can unhide this later under the Config tab.');
|
||||
if (confirm_hide) {
|
||||
$events_loc.leads.show_option__paid_tab = false;
|
||||
$events_loc.leads.tab[$events_slct.exhibit_id] = 'start';
|
||||
}
|
||||
}}
|
||||
class="btn variant-soft-primary"
|
||||
|
||||
Reference in New Issue
Block a user