Adds waitlist UI with drawer and responsive styles
Implements a new waitlist component with mini card, drawer, and interactive functionality Introduces: - Waitlist mini card with badge - Drawer overlay with detailed waitlist entries - Responsive CSS for various waitlist UI elements - Interactive JavaScript for opening/closing drawer and handling actions
This commit is contained in:
parent
0137a4b4f9
commit
4ead6bb544
2 changed files with 513 additions and 0 deletions
|
|
@ -867,3 +867,291 @@ swp-date-display i {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
WAITLIST MINI CARD
|
||||||
|
========================================== */
|
||||||
|
swp-waitlist-card {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 16px;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-card:hover {
|
||||||
|
border-color: var(--color-teal);
|
||||||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-icon {
|
||||||
|
position: relative;
|
||||||
|
font-size: 24px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-badge {
|
||||||
|
position: absolute;
|
||||||
|
top: -8px;
|
||||||
|
right: -8px;
|
||||||
|
min-width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
padding: 0 6px;
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
border-radius: 10px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-label {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
WAITLIST DRAWER
|
||||||
|
========================================== */
|
||||||
|
swp-drawer-overlay {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(0, 0, 0, 0.3);
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-overlay.visible {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-drawer {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 420px;
|
||||||
|
height: 100vh;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-left: 1px solid var(--color-border);
|
||||||
|
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
|
||||||
|
transform: translateX(100%);
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
z-index: 1000;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-drawer.open {
|
||||||
|
transform: translateX(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 20px 24px;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-title {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-title swp-count {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-close {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
transition: all 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-close:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-close i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-drawer-body {
|
||||||
|
flex: 1;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-item {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 16px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-customer {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-customer swp-avatar {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-customer-info {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-name {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-phone {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-service {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-teal);
|
||||||
|
padding: 6px 10px;
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 10%, transparent);
|
||||||
|
border-radius: 4px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-meta {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-periods {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-periods swp-label {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-period-tag {
|
||||||
|
font-size: 11px;
|
||||||
|
padding: 3px 8px;
|
||||||
|
background: var(--color-background);
|
||||||
|
border-radius: 4px;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-dates {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-date {
|
||||||
|
font-size: 11px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-date i {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-date.expires {
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-date.expires.soon {
|
||||||
|
color: var(--color-amber);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
padding-top: 8px;
|
||||||
|
border-top: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-actions swp-btn {
|
||||||
|
flex: 1;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 8px 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-empty {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 48px 24px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-empty i {
|
||||||
|
font-size: 48px;
|
||||||
|
color: var(--color-border);
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-waitlist-empty span {
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -392,6 +392,15 @@
|
||||||
</swp-notification-list>
|
</swp-notification-list>
|
||||||
</swp-card>
|
</swp-card>
|
||||||
|
|
||||||
|
<!-- Waitlist Mini Card -->
|
||||||
|
<swp-waitlist-card>
|
||||||
|
<swp-waitlist-icon>
|
||||||
|
<i class="ph ph-users-three"></i>
|
||||||
|
<swp-waitlist-badge>4</swp-waitlist-badge>
|
||||||
|
</swp-waitlist-icon>
|
||||||
|
<swp-waitlist-label>På venteliste</swp-waitlist-label>
|
||||||
|
</swp-waitlist-card>
|
||||||
|
|
||||||
<!-- Quick Stats -->
|
<!-- Quick Stats -->
|
||||||
<swp-card>
|
<swp-card>
|
||||||
<swp-card-header>
|
<swp-card-header>
|
||||||
|
|
@ -472,6 +481,178 @@
|
||||||
</swp-dashboard-grid>
|
</swp-dashboard-grid>
|
||||||
</swp-page-container>
|
</swp-page-container>
|
||||||
|
|
||||||
|
<!-- Waitlist Drawer Overlay -->
|
||||||
|
<swp-drawer-overlay></swp-drawer-overlay>
|
||||||
|
|
||||||
|
<!-- Waitlist Drawer -->
|
||||||
|
<swp-waitlist-drawer>
|
||||||
|
<swp-drawer-header>
|
||||||
|
<swp-drawer-title>
|
||||||
|
Venteliste <swp-count>(4)</swp-count>
|
||||||
|
</swp-drawer-title>
|
||||||
|
<swp-drawer-close>
|
||||||
|
<i class="ph ph-x"></i>
|
||||||
|
</swp-drawer-close>
|
||||||
|
</swp-drawer-header>
|
||||||
|
<swp-drawer-body>
|
||||||
|
<swp-waitlist-list>
|
||||||
|
<!-- Entry 1 -->
|
||||||
|
<swp-waitlist-item>
|
||||||
|
<swp-waitlist-customer>
|
||||||
|
<swp-avatar>EC</swp-avatar>
|
||||||
|
<swp-waitlist-customer-info>
|
||||||
|
<swp-waitlist-name>Emma Christensen</swp-waitlist-name>
|
||||||
|
<swp-waitlist-phone>+45 12 34 56 78</swp-waitlist-phone>
|
||||||
|
</swp-waitlist-customer-info>
|
||||||
|
</swp-waitlist-customer>
|
||||||
|
<swp-waitlist-service>Dameklip + Farve</swp-waitlist-service>
|
||||||
|
<swp-waitlist-meta>
|
||||||
|
<swp-waitlist-periods>
|
||||||
|
<swp-label>Ønsker:</swp-label>
|
||||||
|
<swp-waitlist-period-tag>Mandag-Onsdag</swp-waitlist-period-tag>
|
||||||
|
<swp-waitlist-period-tag>Formiddag</swp-waitlist-period-tag>
|
||||||
|
</swp-waitlist-periods>
|
||||||
|
<swp-waitlist-dates>
|
||||||
|
<swp-waitlist-date>
|
||||||
|
<i class="ph ph-calendar"></i>
|
||||||
|
Tilmeldt: 2. jan 2026
|
||||||
|
</swp-waitlist-date>
|
||||||
|
<swp-waitlist-date class="expires">
|
||||||
|
<i class="ph ph-clock"></i>
|
||||||
|
Udløber: 16. jan 2026
|
||||||
|
</swp-waitlist-date>
|
||||||
|
</swp-waitlist-dates>
|
||||||
|
</swp-waitlist-meta>
|
||||||
|
<swp-waitlist-actions>
|
||||||
|
<swp-btn class="secondary">
|
||||||
|
<i class="ph ph-phone"></i>
|
||||||
|
Kontakt
|
||||||
|
</swp-btn>
|
||||||
|
<swp-btn class="primary">
|
||||||
|
<i class="ph ph-calendar-plus"></i>
|
||||||
|
Book nu
|
||||||
|
</swp-btn>
|
||||||
|
</swp-waitlist-actions>
|
||||||
|
</swp-waitlist-item>
|
||||||
|
|
||||||
|
<!-- Entry 2 -->
|
||||||
|
<swp-waitlist-item>
|
||||||
|
<swp-waitlist-customer>
|
||||||
|
<swp-avatar>MS</swp-avatar>
|
||||||
|
<swp-waitlist-customer-info>
|
||||||
|
<swp-waitlist-name>Mikkel Sørensen</swp-waitlist-name>
|
||||||
|
<swp-waitlist-phone>+45 23 45 67 89</swp-waitlist-phone>
|
||||||
|
</swp-waitlist-customer-info>
|
||||||
|
</swp-waitlist-customer>
|
||||||
|
<swp-waitlist-service>Herreklip</swp-waitlist-service>
|
||||||
|
<swp-waitlist-meta>
|
||||||
|
<swp-waitlist-periods>
|
||||||
|
<swp-label>Ønsker:</swp-label>
|
||||||
|
<swp-waitlist-period-tag>Weekend</swp-waitlist-period-tag>
|
||||||
|
</swp-waitlist-periods>
|
||||||
|
<swp-waitlist-dates>
|
||||||
|
<swp-waitlist-date>
|
||||||
|
<i class="ph ph-calendar"></i>
|
||||||
|
Tilmeldt: 30. dec 2025
|
||||||
|
</swp-waitlist-date>
|
||||||
|
<swp-waitlist-date class="expires soon">
|
||||||
|
<i class="ph ph-clock"></i>
|
||||||
|
Udløber: 6. jan 2026
|
||||||
|
</swp-waitlist-date>
|
||||||
|
</swp-waitlist-dates>
|
||||||
|
</swp-waitlist-meta>
|
||||||
|
<swp-waitlist-actions>
|
||||||
|
<swp-btn class="secondary">
|
||||||
|
<i class="ph ph-phone"></i>
|
||||||
|
Kontakt
|
||||||
|
</swp-btn>
|
||||||
|
<swp-btn class="primary">
|
||||||
|
<i class="ph ph-calendar-plus"></i>
|
||||||
|
Book nu
|
||||||
|
</swp-btn>
|
||||||
|
</swp-waitlist-actions>
|
||||||
|
</swp-waitlist-item>
|
||||||
|
|
||||||
|
<!-- Entry 3 -->
|
||||||
|
<swp-waitlist-item>
|
||||||
|
<swp-waitlist-customer>
|
||||||
|
<swp-avatar>LA</swp-avatar>
|
||||||
|
<swp-waitlist-customer-info>
|
||||||
|
<swp-waitlist-name>Lise Andersen</swp-waitlist-name>
|
||||||
|
<swp-waitlist-phone>+45 34 56 78 90</swp-waitlist-phone>
|
||||||
|
</swp-waitlist-customer-info>
|
||||||
|
</swp-waitlist-customer>
|
||||||
|
<swp-waitlist-service>Balayage</swp-waitlist-service>
|
||||||
|
<swp-waitlist-meta>
|
||||||
|
<swp-waitlist-periods>
|
||||||
|
<swp-label>Ønsker:</swp-label>
|
||||||
|
<swp-waitlist-period-tag>Tirsdag-Torsdag</swp-waitlist-period-tag>
|
||||||
|
<swp-waitlist-period-tag>Eftermiddag</swp-waitlist-period-tag>
|
||||||
|
</swp-waitlist-periods>
|
||||||
|
<swp-waitlist-dates>
|
||||||
|
<swp-waitlist-date>
|
||||||
|
<i class="ph ph-calendar"></i>
|
||||||
|
Tilmeldt: 28. dec 2025
|
||||||
|
</swp-waitlist-date>
|
||||||
|
<swp-waitlist-date class="expires">
|
||||||
|
<i class="ph ph-clock"></i>
|
||||||
|
Udløber: 11. jan 2026
|
||||||
|
</swp-waitlist-date>
|
||||||
|
</swp-waitlist-dates>
|
||||||
|
</swp-waitlist-meta>
|
||||||
|
<swp-waitlist-actions>
|
||||||
|
<swp-btn class="secondary">
|
||||||
|
<i class="ph ph-phone"></i>
|
||||||
|
Kontakt
|
||||||
|
</swp-btn>
|
||||||
|
<swp-btn class="primary">
|
||||||
|
<i class="ph ph-calendar-plus"></i>
|
||||||
|
Book nu
|
||||||
|
</swp-btn>
|
||||||
|
</swp-waitlist-actions>
|
||||||
|
</swp-waitlist-item>
|
||||||
|
|
||||||
|
<!-- Entry 4 -->
|
||||||
|
<swp-waitlist-item>
|
||||||
|
<swp-waitlist-customer>
|
||||||
|
<swp-avatar>PH</swp-avatar>
|
||||||
|
<swp-waitlist-customer-info>
|
||||||
|
<swp-waitlist-name>Peter Hansen</swp-waitlist-name>
|
||||||
|
<swp-waitlist-phone>+45 45 67 89 01</swp-waitlist-phone>
|
||||||
|
</swp-waitlist-customer-info>
|
||||||
|
</swp-waitlist-customer>
|
||||||
|
<swp-waitlist-service>Herreklip + Skæg</swp-waitlist-service>
|
||||||
|
<swp-waitlist-meta>
|
||||||
|
<swp-waitlist-periods>
|
||||||
|
<swp-label>Ønsker:</swp-label>
|
||||||
|
<swp-waitlist-period-tag>Fleksibel</swp-waitlist-period-tag>
|
||||||
|
</swp-waitlist-periods>
|
||||||
|
<swp-waitlist-dates>
|
||||||
|
<swp-waitlist-date>
|
||||||
|
<i class="ph ph-calendar"></i>
|
||||||
|
Tilmeldt: 27. dec 2025
|
||||||
|
</swp-waitlist-date>
|
||||||
|
<swp-waitlist-date class="expires">
|
||||||
|
<i class="ph ph-clock"></i>
|
||||||
|
Udløber: 10. jan 2026
|
||||||
|
</swp-waitlist-date>
|
||||||
|
</swp-waitlist-dates>
|
||||||
|
</swp-waitlist-meta>
|
||||||
|
<swp-waitlist-actions>
|
||||||
|
<swp-btn class="secondary">
|
||||||
|
<i class="ph ph-phone"></i>
|
||||||
|
Kontakt
|
||||||
|
</swp-btn>
|
||||||
|
<swp-btn class="primary">
|
||||||
|
<i class="ph ph-calendar-plus"></i>
|
||||||
|
Book nu
|
||||||
|
</swp-btn>
|
||||||
|
</swp-waitlist-actions>
|
||||||
|
</swp-waitlist-item>
|
||||||
|
</swp-waitlist-list>
|
||||||
|
</swp-drawer-body>
|
||||||
|
</swp-waitlist-drawer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Update current time
|
// Update current time
|
||||||
function updateTime() {
|
function updateTime() {
|
||||||
|
|
@ -502,6 +683,50 @@
|
||||||
alert('Åbn booking: ' + service);
|
alert('Åbn booking: ' + service);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Waitlist Drawer functionality
|
||||||
|
const waitlistCard = document.querySelector('swp-waitlist-card');
|
||||||
|
const waitlistDrawer = document.querySelector('swp-waitlist-drawer');
|
||||||
|
const drawerOverlay = document.querySelector('swp-drawer-overlay');
|
||||||
|
const drawerClose = document.querySelector('swp-drawer-close');
|
||||||
|
|
||||||
|
function openWaitlistDrawer() {
|
||||||
|
waitlistDrawer.classList.add('open');
|
||||||
|
drawerOverlay.classList.add('visible');
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
}
|
||||||
|
|
||||||
|
function closeWaitlistDrawer() {
|
||||||
|
waitlistDrawer.classList.remove('open');
|
||||||
|
drawerOverlay.classList.remove('visible');
|
||||||
|
document.body.style.overflow = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
waitlistCard.addEventListener('click', openWaitlistDrawer);
|
||||||
|
drawerClose.addEventListener('click', closeWaitlistDrawer);
|
||||||
|
drawerOverlay.addEventListener('click', closeWaitlistDrawer);
|
||||||
|
|
||||||
|
// Close on Escape key
|
||||||
|
document.addEventListener('keydown', (e) => {
|
||||||
|
if (e.key === 'Escape' && waitlistDrawer.classList.contains('open')) {
|
||||||
|
closeWaitlistDrawer();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Click handlers for waitlist actions
|
||||||
|
document.querySelectorAll('swp-waitlist-actions swp-btn').forEach(btn => {
|
||||||
|
btn.addEventListener('click', (e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
const isContact = btn.classList.contains('secondary');
|
||||||
|
const name = btn.closest('swp-waitlist-item').querySelector('swp-waitlist-name').textContent;
|
||||||
|
if (isContact) {
|
||||||
|
alert('Kontakt: ' + name);
|
||||||
|
} else {
|
||||||
|
alert('Book nu for: ' + name);
|
||||||
|
closeWaitlistDrawer();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue