Add 3 files
Browse files- README.md +6 -4
- index.html +858 -19
- prompts.txt +3 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: d
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,858 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="de">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CineMagic - Premium Kinoerlebnis</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@keyframes float {
|
| 11 |
+
0%, 100% { transform: translateY(0); }
|
| 12 |
+
50% { transform: translateY(-10px); }
|
| 13 |
+
}
|
| 14 |
+
@keyframes fadeIn {
|
| 15 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 16 |
+
to { opacity: 1; transform: translateY(0); }
|
| 17 |
+
}
|
| 18 |
+
@keyframes pulse {
|
| 19 |
+
0%, 100% { transform: scale(1); }
|
| 20 |
+
50% { transform: scale(1.05); }
|
| 21 |
+
}
|
| 22 |
+
.floating {
|
| 23 |
+
animation: float 4s ease-in-out infinite;
|
| 24 |
+
}
|
| 25 |
+
.fade-in {
|
| 26 |
+
animation: fadeIn 0.6s ease-out forwards;
|
| 27 |
+
}
|
| 28 |
+
.pulse {
|
| 29 |
+
animation: pulse 2s infinite;
|
| 30 |
+
}
|
| 31 |
+
.ticket {
|
| 32 |
+
background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
|
| 33 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
| 34 |
+
transform-style: preserve-3d;
|
| 35 |
+
perspective: 1000px;
|
| 36 |
+
position: relative;
|
| 37 |
+
overflow: hidden;
|
| 38 |
+
}
|
| 39 |
+
.ticket::before {
|
| 40 |
+
content: '';
|
| 41 |
+
position: absolute;
|
| 42 |
+
top: 0;
|
| 43 |
+
left: 0;
|
| 44 |
+
right: 0;
|
| 45 |
+
height: 8px;
|
| 46 |
+
background: linear-gradient(90deg, #ff416c, #ff4b2b, #ff416c);
|
| 47 |
+
background-size: 200% 200%;
|
| 48 |
+
animation: gradient 3s ease infinite;
|
| 49 |
+
}
|
| 50 |
+
.ticket::after {
|
| 51 |
+
content: '';
|
| 52 |
+
position: absolute;
|
| 53 |
+
bottom: 0;
|
| 54 |
+
left: 0;
|
| 55 |
+
right: 0;
|
| 56 |
+
height: 8px;
|
| 57 |
+
background: linear-gradient(90deg, #ff416c, #ff4b2b, #ff416c);
|
| 58 |
+
background-size: 200% 200%;
|
| 59 |
+
animation: gradient 3s ease infinite;
|
| 60 |
+
}
|
| 61 |
+
@keyframes gradient {
|
| 62 |
+
0% { background-position: 0% 50%; }
|
| 63 |
+
50% { background-position: 100% 50%; }
|
| 64 |
+
100% { background-position: 0% 50%; }
|
| 65 |
+
}
|
| 66 |
+
.ticket-stub {
|
| 67 |
+
position: relative;
|
| 68 |
+
background: repeating-linear-gradient(
|
| 69 |
+
45deg,
|
| 70 |
+
#f8f8f8,
|
| 71 |
+
#f8f8f8 10px,
|
| 72 |
+
#e0e0e0 10px,
|
| 73 |
+
#e0e0e0 20px
|
| 74 |
+
);
|
| 75 |
+
}
|
| 76 |
+
.ticket-stub::before {
|
| 77 |
+
content: '';
|
| 78 |
+
position: absolute;
|
| 79 |
+
top: -15px;
|
| 80 |
+
left: 0;
|
| 81 |
+
right: 0;
|
| 82 |
+
height: 15px;
|
| 83 |
+
background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='3' fill='%23ff4b2b'/%3E%3C/svg%3E");
|
| 84 |
+
}
|
| 85 |
+
.seat-grid {
|
| 86 |
+
display: grid;
|
| 87 |
+
grid-template-columns: repeat(10, 1fr);
|
| 88 |
+
gap: 6px;
|
| 89 |
+
}
|
| 90 |
+
.seat {
|
| 91 |
+
width: 32px;
|
| 92 |
+
height: 32px;
|
| 93 |
+
display: flex;
|
| 94 |
+
align-items: center;
|
| 95 |
+
justify-content: center;
|
| 96 |
+
border-radius: 4px;
|
| 97 |
+
cursor: pointer;
|
| 98 |
+
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
| 99 |
+
font-size: 10px;
|
| 100 |
+
font-weight: bold;
|
| 101 |
+
}
|
| 102 |
+
.seat:hover {
|
| 103 |
+
transform: scale(1.1);
|
| 104 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 105 |
+
}
|
| 106 |
+
.seat.selected {
|
| 107 |
+
background-color: #ff4b2b !important;
|
| 108 |
+
color: white;
|
| 109 |
+
box-shadow: 0 4px 8px rgba(255, 75, 43, 0.4);
|
| 110 |
+
}
|
| 111 |
+
.seat.occupied {
|
| 112 |
+
background-color: #e0e0e0 !important;
|
| 113 |
+
color: #9e9e9e;
|
| 114 |
+
cursor: not-allowed;
|
| 115 |
+
position: relative;
|
| 116 |
+
}
|
| 117 |
+
.seat.occupied::after {
|
| 118 |
+
content: '✗';
|
| 119 |
+
position: absolute;
|
| 120 |
+
color: #f44336;
|
| 121 |
+
font-size: 14px;
|
| 122 |
+
}
|
| 123 |
+
.seat.vip {
|
| 124 |
+
background-color: #ffc107;
|
| 125 |
+
color: #000;
|
| 126 |
+
}
|
| 127 |
+
.screen {
|
| 128 |
+
background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
|
| 129 |
+
box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
|
| 130 |
+
position: relative;
|
| 131 |
+
}
|
| 132 |
+
.screen::after {
|
| 133 |
+
content: 'LEINWAND';
|
| 134 |
+
position: absolute;
|
| 135 |
+
bottom: -25px;
|
| 136 |
+
left: 0;
|
| 137 |
+
right: 0;
|
| 138 |
+
text-align: center;
|
| 139 |
+
font-size: 12px;
|
| 140 |
+
color: #616161;
|
| 141 |
+
}
|
| 142 |
+
.confetti {
|
| 143 |
+
position: absolute;
|
| 144 |
+
width: 10px;
|
| 145 |
+
height: 10px;
|
| 146 |
+
background-color: #f00;
|
| 147 |
+
opacity: 0;
|
| 148 |
+
}
|
| 149 |
+
.modal-overlay {
|
| 150 |
+
background: rgba(0, 0, 0, 0.7);
|
| 151 |
+
backdrop-filter: blur(5px);
|
| 152 |
+
}
|
| 153 |
+
.film-poster {
|
| 154 |
+
transition: all 0.3s ease;
|
| 155 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
| 156 |
+
}
|
| 157 |
+
.film-poster:hover {
|
| 158 |
+
transform: translateY(-5px) scale(1.02);
|
| 159 |
+
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
|
| 160 |
+
}
|
| 161 |
+
.film-selector::-webkit-scrollbar {
|
| 162 |
+
width: 6px;
|
| 163 |
+
height: 6px;
|
| 164 |
+
}
|
| 165 |
+
.film-selector::-webkit-scrollbar-track {
|
| 166 |
+
background: rgba(255, 255, 255, 0.1);
|
| 167 |
+
}
|
| 168 |
+
.film-selector::-webkit-scrollbar-thumb {
|
| 169 |
+
background: rgba(255, 255, 255, 0.3);
|
| 170 |
+
border-radius: 3px;
|
| 171 |
+
}
|
| 172 |
+
.glow-text {
|
| 173 |
+
text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
|
| 174 |
+
}
|
| 175 |
+
.price-tag {
|
| 176 |
+
clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%);
|
| 177 |
+
}
|
| 178 |
+
</style>
|
| 179 |
+
</head>
|
| 180 |
+
<body class="min-h-screen bg-gradient-to-br from-gray-900 via-purple-900 to-violet-800 flex items-center justify-center p-4 overflow-x-hidden">
|
| 181 |
+
<!-- Floating popcorn animation -->
|
| 182 |
+
<div id="popcornContainer" class="fixed inset-0 pointer-events-none z-0 overflow-hidden"></div>
|
| 183 |
+
|
| 184 |
+
<div class="max-w-6xl w-full bg-white/5 backdrop-blur-md rounded-3xl shadow-2xl overflow-hidden border border-white/10 transform transition-all duration-300 hover:shadow-2xl hover:shadow-purple-500/20">
|
| 185 |
+
<!-- Header -->
|
| 186 |
+
<div class="p-6 bg-gradient-to-r from-purple-900/50 to-pink-800/50 border-b border-white/10">
|
| 187 |
+
<div class="flex items-center justify-between">
|
| 188 |
+
<div class="flex items-center">
|
| 189 |
+
<i class="fas fa-film text-4xl mr-3 text-yellow-400 floating"></i>
|
| 190 |
+
<h1 class="text-4xl font-bold text-white glow-text">
|
| 191 |
+
<span class="text-yellow-400">Cine</span><span>Magic</span>
|
| 192 |
+
</h1>
|
| 193 |
+
</div>
|
| 194 |
+
<div class="hidden md:flex items-center space-x-2">
|
| 195 |
+
<div class="px-3 py-1 bg-yellow-400 text-black rounded-full text-sm font-bold flex items-center">
|
| 196 |
+
<i class="fas fa-star mr-1"></i>
|
| 197 |
+
<span>PREMIUM</span>
|
| 198 |
+
</div>
|
| 199 |
+
<div class="px-3 py-1 bg-pink-500 text-white rounded-full text-sm font-bold flex items-center">
|
| 200 |
+
<i class="fas fa-ticket-alt mr-1"></i>
|
| 201 |
+
<span id="selectedSeatCount">0</span>/<span>4</span>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
<p class="mt-2 text-white/80 text-sm flex items-center">
|
| 206 |
+
<i class="fas fa-map-marker-alt mr-2"></i>
|
| 207 |
+
<span>Musterstraße 123, 10115 Berlin • Heute geöffnet: 12:00 - 24:00</span>
|
| 208 |
+
</p>
|
| 209 |
+
</div>
|
| 210 |
+
|
| 211 |
+
<div class="grid lg:grid-cols-3 gap-0">
|
| 212 |
+
<!-- Film Selection -->
|
| 213 |
+
<div class="lg:col-span-1 p-6 border-r border-white/10 bg-black/20">
|
| 214 |
+
<h2 class="text-2xl font-semibold text-white mb-6 flex items-center">
|
| 215 |
+
<i class="fas fa-calendar-alt text-yellow-400 mr-3"></i>
|
| 216 |
+
<span>Heutige Vorstellungen</span>
|
| 217 |
+
</h2>
|
| 218 |
+
|
| 219 |
+
<div class="film-selector max-h-[500px] overflow-y-auto pr-2">
|
| 220 |
+
<div class="grid grid-cols-1 gap-4">
|
| 221 |
+
<!-- Film cards will be generated by JavaScript -->
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
|
| 226 |
+
<!-- Booking Form -->
|
| 227 |
+
<div class="lg:col-span-2 p-6">
|
| 228 |
+
<div class="grid md:grid-cols-2 gap-8">
|
| 229 |
+
<!-- Form Column -->
|
| 230 |
+
<div class="fade-in" style="animation-delay: 0.1s;">
|
| 231 |
+
<h2 class="text-2xl font-semibold text-white mb-6 flex items-center">
|
| 232 |
+
<i class="fas fa-ticket-alt text-yellow-400 mr-3"></i>
|
| 233 |
+
<span>Ihre Buchung</span>
|
| 234 |
+
</h2>
|
| 235 |
+
|
| 236 |
+
<div class="space-y-5">
|
| 237 |
+
<div>
|
| 238 |
+
<label class="block text-sm font-medium text-white/80 mb-2">Name</label>
|
| 239 |
+
<div class="relative">
|
| 240 |
+
<i class="fas fa-user absolute left-3 top-1/2 transform -translate-y-1/2 text-yellow-400"></i>
|
| 241 |
+
<input type="text" id="nameInput" placeholder="Vor- und Nachname"
|
| 242 |
+
class="w-full pl-10 pr-4 py-3 rounded-xl bg-white/10 border border-white/20 focus:outline-none focus:ring-2 focus:ring-yellow-400 text-white placeholder-white/50 transition-all duration-200">
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
|
| 246 |
+
<div>
|
| 247 |
+
<label class="block text-sm font-medium text-white/80 mb-2">E-Mail</label>
|
| 248 |
+
<div class="relative">
|
| 249 |
+
<i class="fas fa-envelope absolute left-3 top-1/2 transform -translate-y-1/2 text-yellow-400"></i>
|
| 250 |
+
<input type="email" id="emailInput" placeholder="Ihre E-Mail-Adresse"
|
| 251 |
+
class="w-full pl-10 pr-4 py-3 rounded-xl bg-white/10 border border-white/20 focus:outline-none focus:ring-2 focus:ring-yellow-400 text-white placeholder-white/50 transition-all duration-200">
|
| 252 |
+
</div>
|
| 253 |
+
</div>
|
| 254 |
+
|
| 255 |
+
<div class="grid grid-cols-2 gap-4">
|
| 256 |
+
<div>
|
| 257 |
+
<label class="block text-sm font-medium text-white/80 mb-2">Datum</label>
|
| 258 |
+
<div class="relative">
|
| 259 |
+
<i class="fas fa-calendar-day absolute left-3 top-1/2 transform -translate-y-1/2 text-yellow-400"></i>
|
| 260 |
+
<input type="date" id="dateInput"
|
| 261 |
+
class="w-full pl-10 pr-4 py-3 rounded-xl bg-white/10 border border-white/20 focus:outline-none focus:ring-2 focus:ring-yellow-400 text-white placeholder-white/50 transition-all duration-200">
|
| 262 |
+
</div>
|
| 263 |
+
</div>
|
| 264 |
+
<div>
|
| 265 |
+
<label class="block text-sm font-medium text-white/80 mb-2">Uhrzeit</label>
|
| 266 |
+
<div class="relative">
|
| 267 |
+
<i class="fas fa-clock absolute left-3 top-1/2 transform -translate-y-1/2 text-yellow-400"></i>
|
| 268 |
+
<select id="timeInput"
|
| 269 |
+
class="w-full pl-10 pr-4 py-3 rounded-xl bg-white/10 border border-white/20 focus:outline-none focus:ring-2 focus:ring-yellow-400 text-white appearance-none transition-all duration-200">
|
| 270 |
+
<!-- Times will be populated by JavaScript -->
|
| 271 |
+
</select>
|
| 272 |
+
<i class="fas fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-yellow-400"></i>
|
| 273 |
+
</div>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
|
| 277 |
+
<div>
|
| 278 |
+
<label class="block text-sm font-medium text-white/80 mb-2">Sitzplatz auswählen</label>
|
| 279 |
+
<div class="bg-white/10 p-4 rounded-xl border border-white/10">
|
| 280 |
+
<div class="screen w-full h-4 mb-6 rounded"></div>
|
| 281 |
+
|
| 282 |
+
<div class="seat-grid mb-4" id="seatGrid">
|
| 283 |
+
<!-- Seats will be generated by JavaScript -->
|
| 284 |
+
</div>
|
| 285 |
+
|
| 286 |
+
<div class="flex flex-wrap justify-between gap-2 text-xs">
|
| 287 |
+
<div class="flex items-center">
|
| 288 |
+
<div class="w-3 h-3 bg-gray-300 mr-2 rounded-sm"></div>
|
| 289 |
+
<span class="text-white/80">Frei</span>
|
| 290 |
+
</div>
|
| 291 |
+
<div class="flex items-center">
|
| 292 |
+
<div class="w-3 h-3 bg-red-500 mr-2 rounded-sm"></div>
|
| 293 |
+
<span class="text-white/80">Ausgewählt</span>
|
| 294 |
+
</div>
|
| 295 |
+
<div class="flex items-center">
|
| 296 |
+
<div class="w-3 h-3 bg-gray-500 mr-2 rounded-sm"></div>
|
| 297 |
+
<span class="text-white/80">Belegt</span>
|
| 298 |
+
</div>
|
| 299 |
+
<div class="flex items-center">
|
| 300 |
+
<div class="w-3 h-3 bg-yellow-400 mr-2 rounded-sm"></div>
|
| 301 |
+
<span class="text-white/80">VIP</span>
|
| 302 |
+
</div>
|
| 303 |
+
</div>
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
|
| 307 |
+
<div class="pt-2">
|
| 308 |
+
<button id="bookButton" onclick="generateTicket()"
|
| 309 |
+
class="w-full bg-gradient-to-r from-yellow-400 to-yellow-500 hover:from-yellow-500 hover:to-yellow-600 text-black font-bold py-4 px-6 rounded-xl transition-all duration-300 transform hover:scale-[1.02] shadow-lg hover:shadow-yellow-500/30 flex items-center justify-center group">
|
| 310 |
+
<span class="mr-2 group-hover:mr-3 transition-all duration-300">Jetzt buchen</span>
|
| 311 |
+
<i class="fas fa-arrow-right group-hover:translate-x-1 transition-transform duration-300"></i>
|
| 312 |
+
</button>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
</div>
|
| 316 |
+
|
| 317 |
+
<!-- Ticket Preview -->
|
| 318 |
+
<div class="hidden md:block fade-in" style="animation-delay: 0.2s;">
|
| 319 |
+
<div class="sticky top-6">
|
| 320 |
+
<h2 class="text-2xl font-semibold text-white mb-6 flex items-center">
|
| 321 |
+
<i class="fas fa-receipt text-yellow-400 mr-3"></i>
|
| 322 |
+
<span>Ihr Ticket</span>
|
| 323 |
+
</h2>
|
| 324 |
+
|
| 325 |
+
<div class="ticket p-6 h-full flex flex-col transform transition-all duration-300 hover:rotate-1">
|
| 326 |
+
<div class="flex-1">
|
| 327 |
+
<div class="flex justify-between items-center mb-6">
|
| 328 |
+
<h2 class="text-2xl font-bold text-gray-800">
|
| 329 |
+
<span class="text-yellow-500">Cine</span><span>Magic</span>
|
| 330 |
+
</h2>
|
| 331 |
+
<div class="text-xs bg-yellow-400 text-black px-3 py-1 rounded-full font-bold flex items-center">
|
| 332 |
+
<i class="fas fa-crown mr-1"></i>
|
| 333 |
+
<span>PREMIUM</span>
|
| 334 |
+
</div>
|
| 335 |
+
</div>
|
| 336 |
+
|
| 337 |
+
<div class="mb-6">
|
| 338 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Film</div>
|
| 339 |
+
<div class="text-xl font-semibold text-gray-800 mt-1" id="previewFilm">Wählen Sie einen Film</div>
|
| 340 |
+
</div>
|
| 341 |
+
|
| 342 |
+
<div class="grid grid-cols-2 gap-4 mb-6">
|
| 343 |
+
<div>
|
| 344 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Datum</div>
|
| 345 |
+
<div class="font-medium text-gray-800 mt-1" id="previewDate">--.--.----</div>
|
| 346 |
+
</div>
|
| 347 |
+
<div>
|
| 348 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Zeit</div>
|
| 349 |
+
<div class="font-medium text-gray-800 mt-1" id="previewTime">--:--</div>
|
| 350 |
+
</div>
|
| 351 |
+
<div>
|
| 352 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Saal</div>
|
| 353 |
+
<div class="font-medium text-gray-800 mt-1">3</div>
|
| 354 |
+
</div>
|
| 355 |
+
<div>
|
| 356 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Sitz</div>
|
| 357 |
+
<div class="font-medium text-gray-800 mt-1" id="previewSeat">--</div>
|
| 358 |
+
</div>
|
| 359 |
+
</div>
|
| 360 |
+
|
| 361 |
+
<div class="mb-6">
|
| 362 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Name</div>
|
| 363 |
+
<div class="font-medium text-gray-800 mt-1" id="previewName">Geben Sie Ihren Namen ein</div>
|
| 364 |
+
</div>
|
| 365 |
+
|
| 366 |
+
<div class="flex justify-between items-center mb-4">
|
| 367 |
+
<div class="text-xs text-gray-500">Ticket-ID: <span id="previewTicketId" class="font-mono">XXXXXX</span></div>
|
| 368 |
+
<div class="text-sm font-bold text-gray-800" id="previewPrice">0,00 €</div>
|
| 369 |
+
</div>
|
| 370 |
+
</div>
|
| 371 |
+
|
| 372 |
+
<div class="ticket-stub bg-gray-100 p-4 -mx-6 -mb-6 relative">
|
| 373 |
+
<div class="flex justify-between items-center">
|
| 374 |
+
<div class="text-sm font-medium text-gray-700">Barcode</div>
|
| 375 |
+
<div class="text-xs text-gray-500">
|
| 376 |
+
<i class="fas fa-qrcode mr-1"></i>
|
| 377 |
+
<span>SCAN ME</span>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
<div class="h-12 bg-white mt-2 flex items-center justify-center overflow-hidden">
|
| 381 |
+
<div class="flex space-x-1">
|
| 382 |
+
<div class="w-1 h-10 bg-black"></div>
|
| 383 |
+
<div class="w-1 h-8 bg-black"></div>
|
| 384 |
+
<div class="w-1 h-6 bg-black"></div>
|
| 385 |
+
<div class="w-1 h-10 bg-black"></div>
|
| 386 |
+
<div class="w-1 h-4 bg-black"></div>
|
| 387 |
+
<div class="w-1 h-8 bg-black"></div>
|
| 388 |
+
<div class="w-1 h-6 bg-black"></div>
|
| 389 |
+
<div class="w-1 h-10 bg-black"></div>
|
| 390 |
+
<div class="w-1 h-4 bg-black"></div>
|
| 391 |
+
<div class="w-1 h-8 bg-black"></div>
|
| 392 |
+
</div>
|
| 393 |
+
</div>
|
| 394 |
+
</div>
|
| 395 |
+
</div>
|
| 396 |
+
|
| 397 |
+
<div class="mt-4 bg-white/10 p-4 rounded-xl border border-white/10">
|
| 398 |
+
<div class="text-white/80 text-sm mb-2">Ihre Auswahl:</div>
|
| 399 |
+
<div id="selectedSeatsList" class="text-white text-sm">
|
| 400 |
+
<div class="text-white/50 italic">Keine Sitze ausgewählt</div>
|
| 401 |
+
</div>
|
| 402 |
+
<div class="mt-3 pt-3 border-t border-white/10 flex justify-between items-center">
|
| 403 |
+
<div class="text-white/80 text-sm">Gesamt:</div>
|
| 404 |
+
<div class="text-white font-bold" id="totalPrice">0,00 €</div>
|
| 405 |
+
</div>
|
| 406 |
+
</div>
|
| 407 |
+
</div>
|
| 408 |
+
</div>
|
| 409 |
+
</div>
|
| 410 |
+
</div>
|
| 411 |
+
</div>
|
| 412 |
+
</div>
|
| 413 |
+
|
| 414 |
+
<!-- Generated Ticket Modal -->
|
| 415 |
+
<div id="ticketModal" class="fixed inset-0 flex items-center justify-center p-4 z-50 hidden modal-overlay">
|
| 416 |
+
<div class="relative fade-in" style="animation-delay: 0.1s;">
|
| 417 |
+
<div class="ticket p-8 max-w-md w-full relative transform transition-all duration-300">
|
| 418 |
+
<button onclick="closeTicket()" class="absolute top-4 right-4 text-gray-500 hover:text-gray-700 transition-colors duration-200">
|
| 419 |
+
<i class="fas fa-times text-xl"></i>
|
| 420 |
+
</button>
|
| 421 |
+
|
| 422 |
+
<div class="text-center mb-6">
|
| 423 |
+
<h2 class="text-3xl font-bold text-gray-800">
|
| 424 |
+
<span class="text-yellow-500">Cine</span><span>Magic</span>
|
| 425 |
+
</h2>
|
| 426 |
+
<div class="text-sm text-yellow-600 mt-1">Vielen Dank für Ihre Buchung!</div>
|
| 427 |
+
</div>
|
| 428 |
+
|
| 429 |
+
<div class="mb-6">
|
| 430 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Film</div>
|
| 431 |
+
<div class="text-xl font-semibold text-gray-800 mt-1" id="ticketFilm"></div>
|
| 432 |
+
</div>
|
| 433 |
+
|
| 434 |
+
<div class="grid grid-cols-2 gap-4 mb-6">
|
| 435 |
+
<div>
|
| 436 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Datum</div>
|
| 437 |
+
<div class="font-medium text-gray-800 mt-1" id="ticketDate"></div>
|
| 438 |
+
</div>
|
| 439 |
+
<div>
|
| 440 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Zeit</div>
|
| 441 |
+
<div class="font-medium text-gray-800 mt-1" id="ticketTime"></div>
|
| 442 |
+
</div>
|
| 443 |
+
<div>
|
| 444 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Saal</div>
|
| 445 |
+
<div class="font-medium text-gray-800 mt-1">3</div>
|
| 446 |
+
</div>
|
| 447 |
+
<div>
|
| 448 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Sitz</div>
|
| 449 |
+
<div class="font-medium text-gray-800 mt-1" id="ticketSeat"></div>
|
| 450 |
+
</div>
|
| 451 |
+
</div>
|
| 452 |
+
|
| 453 |
+
<div class="mb-6">
|
| 454 |
+
<div class="text-xs text-gray-500 uppercase tracking-wider">Name</div>
|
| 455 |
+
<div class="font-medium text-gray-800 mt-1" id="ticketName"></div>
|
| 456 |
+
</div>
|
| 457 |
+
|
| 458 |
+
<div class="flex justify-between items-center mb-4">
|
| 459 |
+
<div class="text-xs text-gray-500">Ticket-ID: <span id="ticketId" class="font-mono"></span></div>
|
| 460 |
+
<div class="text-sm font-bold text-gray-800" id="ticketPrice"></div>
|
| 461 |
+
</div>
|
| 462 |
+
|
| 463 |
+
<div class="ticket-stub bg-gray-100 p-4 -mx-8 -mb-8 relative">
|
| 464 |
+
<div class="flex justify-between items-center">
|
| 465 |
+
<div class="text-sm font-medium text-gray-700">Barcode</div>
|
| 466 |
+
<div class="text-xs text-gray-500">
|
| 467 |
+
<i class="fas fa-qrcode mr-1"></i>
|
| 468 |
+
<span>SCAN ME</span>
|
| 469 |
+
</div>
|
| 470 |
+
</div>
|
| 471 |
+
<div class="h-12 bg-white mt-2 flex items-center justify-center overflow-hidden">
|
| 472 |
+
<div class="flex space-x-1">
|
| 473 |
+
<div class="w-1 h-10 bg-black"></div>
|
| 474 |
+
<div class="w-1 h-8 bg-black"></div>
|
| 475 |
+
<div class="w-1 h-6 bg-black"></div>
|
| 476 |
+
<div class="w-1 h-10 bg-black"></div>
|
| 477 |
+
<div class="w-1 h-4 bg-black"></div>
|
| 478 |
+
<div class="w-1 h-8 bg-black"></div>
|
| 479 |
+
<div class="w-1 h-6 bg-black"></div>
|
| 480 |
+
<div class="w-1 h-10 bg-black"></div>
|
| 481 |
+
<div class="w-1 h-4 bg-black"></div>
|
| 482 |
+
<div class="w-1 h-8 bg-black"></div>
|
| 483 |
+
</div>
|
| 484 |
+
</div>
|
| 485 |
+
</div>
|
| 486 |
+
|
| 487 |
+
<div class="flex space-x-3 mt-6">
|
| 488 |
+
<button onclick="window.print()" class="flex-1 bg-blue-500 hover:bg-blue-600 text-white py-3 px-4 rounded-lg flex items-center justify-center transition-colors duration-200">
|
| 489 |
+
<i class="fas fa-print mr-2"></i> Drucken
|
| 490 |
+
</button>
|
| 491 |
+
<button onclick="closeTicket()" class="flex-1 bg-gray-200 hover:bg-gray-300 text-gray-800 py-3 px-4 rounded-lg flex items-center justify-center transition-colors duration-200">
|
| 492 |
+
<i class="fas fa-check mr-2"></i> Fertig
|
| 493 |
+
</button>
|
| 494 |
+
</div>
|
| 495 |
+
</div>
|
| 496 |
+
</div>
|
| 497 |
+
</div>
|
| 498 |
+
|
| 499 |
+
<!-- Confirmation Toast -->
|
| 500 |
+
<div id="confirmationToast" class="fixed bottom-6 left-1/2 transform -translate-x-1/2 bg-green-500 text-white px-6 py-3 rounded-full shadow-lg flex items-center hidden z-50">
|
| 501 |
+
<i class="fas fa-check-circle mr-2"></i>
|
| 502 |
+
<span>Buchung erfolgreich!</span>
|
| 503 |
+
</div>
|
| 504 |
+
|
| 505 |
+
<script>
|
| 506 |
+
// Film data with posters, times and prices
|
| 507 |
+
const films = [
|
| 508 |
+
{
|
| 509 |
+
title: "Der König der Löwen",
|
| 510 |
+
times: ["14:00", "16:30", "19:00", "21:30"],
|
| 511 |
+
poster: "https://m.media-amazon.com/images/M/MV5BYTYxNGMyZTYtMjE3MS00MzNjLWFjNmYtMDk3N2FmM2JiM2M1XkEyXkFqcGdeQXVyNjY5NDU4NzI@._V1_.jpg",
|
| 512 |
+
duration: "118 min",
|
| 513 |
+
price: 12.50,
|
| 514 |
+
vipPrice: 16.50
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
title: "Die Eiskönigin – Völlig unverfroren",
|
| 518 |
+
times: ["14:15", "16:45", "19:15"],
|
| 519 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMjA0YjYyZGMtN2U0Ni00YmY4LWJkZTItYTMyMjY3NGYyMTJkXkEyXkFqcGdeQXVyNDg4NjY5OTQ@._V1_.jpg",
|
| 520 |
+
duration: "102 min",
|
| 521 |
+
price: 11.00,
|
| 522 |
+
vipPrice: 15.00
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
title: "Toy Story",
|
| 526 |
+
times: ["13:45", "16:00", "18:15", "20:30"],
|
| 527 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMDU2ZWJlMjktMTRhMy00ZTA5LWEzNDgtYmNmZTEwZTViZWJkXkEyXkFqcGdeQXVyNDQ2OTk4MzI@._V1_.jpg",
|
| 528 |
+
duration: "81 min",
|
| 529 |
+
price: 9.50,
|
| 530 |
+
vipPrice: 13.50
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
title: "Findet Nemo",
|
| 534 |
+
times: ["14:30", "17:00", "19:30"],
|
| 535 |
+
poster: "https://m.media-amazon.com/images/M/MV5BZjMxYzBiNjUtZDliNC00MDAyLTg3N2QtOWNjNmNhZGQzNDg5XkEyXkFqcGdeQXVyNjE2MjQwNjc@._V1_.jpg",
|
| 536 |
+
duration: "100 min",
|
| 537 |
+
price: 10.50,
|
| 538 |
+
vipPrice: 14.50
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
title: "Ratatouille",
|
| 542 |
+
times: ["15:00", "17:30", "20:00"],
|
| 543 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTMzODU0NTkxMF5BMl5BanBnXkFtZTcwMjQ4MzMzMw@@._V1_.jpg",
|
| 544 |
+
duration: "111 min",
|
| 545 |
+
price: 11.00,
|
| 546 |
+
vipPrice: 15.00
|
| 547 |
+
}
|
| 548 |
+
];
|
| 549 |
+
|
| 550 |
+
// Initialize the page
|
| 551 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 552 |
+
// Set default date to today
|
| 553 |
+
const today = new Date();
|
| 554 |
+
const dd = String(today.getDate()).padStart(2, '0');
|
| 555 |
+
const mm = String(today.getMonth() + 1).padStart(2, '0');
|
| 556 |
+
const yyyy = today.getFullYear();
|
| 557 |
+
document.getElementById('dateInput').value = `${yyyy}-${mm}-${dd}`;
|
| 558 |
+
|
| 559 |
+
// Populate film cards
|
| 560 |
+
const filmSelector = document.querySelector('.film-selector .grid');
|
| 561 |
+
films.forEach((film, index) => {
|
| 562 |
+
const filmCard = document.createElement('div');
|
| 563 |
+
filmCard.className = 'film-poster bg-white/5 rounded-xl overflow-hidden border border-white/10 cursor-pointer transition-all duration-300';
|
| 564 |
+
filmCard.innerHTML = `
|
| 565 |
+
<div class="flex">
|
| 566 |
+
<div class="w-1/3">
|
| 567 |
+
<img src="${film.poster}" alt="${film.title}" class="w-full h-full object-cover">
|
| 568 |
+
</div>
|
| 569 |
+
<div class="w-2/3 p-4">
|
| 570 |
+
<h3 class="font-bold text-white">${film.title}</h3>
|
| 571 |
+
<div class="text-yellow-400 text-sm mt-1">${film.duration}</div>
|
| 572 |
+
<div class="flex mt-3">
|
| 573 |
+
<div class="text-xs bg-yellow-400 text-black px-2 py-1 rounded mr-2">${film.price.toFixed(2)} €</div>
|
| 574 |
+
<div class="text-xs bg-purple-500 text-white px-2 py-1 rounded">VIP ${film.vipPrice.toFixed(2)} €</div>
|
| 575 |
+
</div>
|
| 576 |
+
</div>
|
| 577 |
+
</div>
|
| 578 |
+
`;
|
| 579 |
+
filmCard.addEventListener('click', () => selectFilm(index));
|
| 580 |
+
filmSelector.appendChild(filmCard);
|
| 581 |
+
});
|
| 582 |
+
|
| 583 |
+
// Initialize seats
|
| 584 |
+
initializeSeats();
|
| 585 |
+
|
| 586 |
+
// Add floating popcorn
|
| 587 |
+
createPopcorn();
|
| 588 |
+
|
| 589 |
+
// Initial preview update
|
| 590 |
+
updatePreview();
|
| 591 |
+
});
|
| 592 |
+
|
| 593 |
+
// Create floating popcorn animation
|
| 594 |
+
function createPopcorn() {
|
| 595 |
+
const container = document.getElementById('popcornContainer');
|
| 596 |
+
for (let i = 0; i < 20; i++) {
|
| 597 |
+
const popcorn = document.createElement('div');
|
| 598 |
+
popcorn.className = 'absolute text-yellow-300 opacity-20';
|
| 599 |
+
popcorn.innerHTML = '<i class="fas fa-popcorn"></i>';
|
| 600 |
+
popcorn.style.left = `${Math.random() * 100}%`;
|
| 601 |
+
popcorn.style.top = `${Math.random() * 100}%`;
|
| 602 |
+
popcorn.style.fontSize = `${Math.random() * 20 + 10}px`;
|
| 603 |
+
popcorn.style.animation = `float ${Math.random() * 10 + 5}s ease-in-out infinite`;
|
| 604 |
+
popcorn.style.animationDelay = `${Math.random() * 5}s`;
|
| 605 |
+
container.appendChild(popcorn);
|
| 606 |
+
}
|
| 607 |
+
}
|
| 608 |
+
|
| 609 |
+
// Initialize seat grid
|
| 610 |
+
function initializeSeats() {
|
| 611 |
+
const seatGrid = document.getElementById('seatGrid');
|
| 612 |
+
seatGrid.innerHTML = '';
|
| 613 |
+
|
| 614 |
+
// Generate seat rows (A-J)
|
| 615 |
+
for (let row = 0; row < 10; row++) {
|
| 616 |
+
const rowLetter = String.fromCharCode(65 + row);
|
| 617 |
+
|
| 618 |
+
// Generate seats (1-10)
|
| 619 |
+
for (let seatNum = 1; seatNum <= 10; seatNum++) {
|
| 620 |
+
const seat = document.createElement('div');
|
| 621 |
+
seat.className = 'seat';
|
| 622 |
+
seat.textContent = rowLetter + seatNum;
|
| 623 |
+
seat.dataset.row = rowLetter;
|
| 624 |
+
seat.dataset.number = seatNum;
|
| 625 |
+
|
| 626 |
+
// Randomly mark some seats as occupied (20% chance)
|
| 627 |
+
if (Math.random() < 0.2) {
|
| 628 |
+
seat.classList.add('occupied');
|
| 629 |
+
}
|
| 630 |
+
|
| 631 |
+
// Mark first two rows as VIP
|
| 632 |
+
if (row < 2) {
|
| 633 |
+
seat.classList.add('vip');
|
| 634 |
+
}
|
| 635 |
+
|
| 636 |
+
seat.addEventListener('click', function() {
|
| 637 |
+
if (!this.classList.contains('occupied')) {
|
| 638 |
+
// Limit to 4 seats
|
| 639 |
+
const selectedCount = document.querySelectorAll('.seat.selected').length;
|
| 640 |
+
if (this.classList.contains('selected') || selectedCount < 4) {
|
| 641 |
+
this.classList.toggle('selected');
|
| 642 |
+
updatePreview();
|
| 643 |
+
} else {
|
| 644 |
+
showToast('Maximal 4 Sitze auswählbar', 'red');
|
| 645 |
+
}
|
| 646 |
+
}
|
| 647 |
+
});
|
| 648 |
+
|
| 649 |
+
seatGrid.appendChild(seat);
|
| 650 |
+
}
|
| 651 |
+
}
|
| 652 |
+
}
|
| 653 |
+
|
| 654 |
+
// Select a film
|
| 655 |
+
function selectFilm(index) {
|
| 656 |
+
const film = films[index];
|
| 657 |
+
|
| 658 |
+
// Update film select
|
| 659 |
+
document.getElementById('filmInput').value = film.title;
|
| 660 |
+
|
| 661 |
+
// Update times
|
| 662 |
+
const timeSelect = document.getElementById('timeInput');
|
| 663 |
+
timeSelect.innerHTML = '';
|
| 664 |
+
film.times.forEach(time => {
|
| 665 |
+
const option = document.createElement('option');
|
| 666 |
+
option.value = time;
|
| 667 |
+
option.textContent = time;
|
| 668 |
+
timeSelect.appendChild(option);
|
| 669 |
+
});
|
| 670 |
+
|
| 671 |
+
// Highlight selected film
|
| 672 |
+
document.querySelectorAll('.film-poster').forEach((card, i) => {
|
| 673 |
+
if (i === index) {
|
| 674 |
+
card.classList.add('ring-2', 'ring-yellow-400');
|
| 675 |
+
card.classList.remove('bg-white/5');
|
| 676 |
+
card.classList.add('bg-white/10');
|
| 677 |
+
} else {
|
| 678 |
+
card.classList.remove('ring-2', 'ring-yellow-400');
|
| 679 |
+
card.classList.add('bg-white/5');
|
| 680 |
+
card.classList.remove('bg-white/10');
|
| 681 |
+
}
|
| 682 |
+
});
|
| 683 |
+
|
| 684 |
+
updatePreview();
|
| 685 |
+
}
|
| 686 |
+
|
| 687 |
+
// Update the preview ticket
|
| 688 |
+
function updatePreview() {
|
| 689 |
+
const name = document.getElementById('nameInput').value;
|
| 690 |
+
const email = document.getElementById('emailInput').value;
|
| 691 |
+
const film = document.getElementById('filmInput').value;
|
| 692 |
+
const date = document.getElementById('dateInput').value;
|
| 693 |
+
const time = document.getElementById('timeInput').value;
|
| 694 |
+
|
| 695 |
+
// Update preview elements
|
| 696 |
+
document.getElementById('previewName').textContent = name || 'Geben Sie Ihren Namen ein';
|
| 697 |
+
document.getElementById('previewFilm').textContent = film || 'Wählen Sie einen Film';
|
| 698 |
+
document.getElementById('previewDate').textContent = formatDate(date) || '--.--.----';
|
| 699 |
+
document.getElementById('previewTime').textContent = time || '--:--';
|
| 700 |
+
|
| 701 |
+
// Get selected seats
|
| 702 |
+
const selectedSeats = Array.from(document.querySelectorAll('.seat.selected'));
|
| 703 |
+
const selectedSeatsList = document.getElementById('selectedSeatsList');
|
| 704 |
+
|
| 705 |
+
if (selectedSeats.length > 0) {
|
| 706 |
+
selectedSeatsList.innerHTML = '';
|
| 707 |
+
let totalPrice = 0;
|
| 708 |
+
|
| 709 |
+
selectedSeats.forEach(seat => {
|
| 710 |
+
const isVip = seat.classList.contains('vip');
|
| 711 |
+
const filmObj = films.find(f => f.title === film) || films[0];
|
| 712 |
+
const price = isVip ? filmObj.vipPrice : filmObj.price;
|
| 713 |
+
totalPrice += price;
|
| 714 |
+
|
| 715 |
+
const seatItem = document.createElement('div');
|
| 716 |
+
seatItem.className = 'flex justify-between items-center py-1';
|
| 717 |
+
seatItem.innerHTML = `
|
| 718 |
+
<div>${seat.textContent} ${isVip ? '<span class="text-yellow-400">(VIP)</span>' : ''}</div>
|
| 719 |
+
<div class="font-bold">${price.toFixed(2)} €</div>
|
| 720 |
+
`;
|
| 721 |
+
selectedSeatsList.appendChild(seatItem);
|
| 722 |
+
});
|
| 723 |
+
|
| 724 |
+
document.getElementById('previewSeat').textContent = selectedSeats.map(s => s.textContent).join(', ');
|
| 725 |
+
document.getElementById('totalPrice').textContent = totalPrice.toFixed(2) + ' €';
|
| 726 |
+
document.getElementById('previewPrice').textContent = totalPrice.toFixed(2) + ' €';
|
| 727 |
+
} else {
|
| 728 |
+
selectedSeatsList.innerHTML = '<div class="text-white/50 italic">Keine Sitze ausgewählt</div>';
|
| 729 |
+
document.getElementById('previewSeat').textContent = '--';
|
| 730 |
+
document.getElementById('totalPrice').textContent = '0,00 €';
|
| 731 |
+
document.getElementById('previewPrice').textContent = '0,00 €';
|
| 732 |
+
}
|
| 733 |
+
|
| 734 |
+
// Update selected seat count
|
| 735 |
+
document.getElementById('selectedSeatCount').textContent = selectedSeats.length;
|
| 736 |
+
|
| 737 |
+
// Generate random ticket ID
|
| 738 |
+
document.getElementById('previewTicketId').textContent = Math.random().toString(36).substring(2, 8).toUpperCase();
|
| 739 |
+
|
| 740 |
+
// Update book button state
|
| 741 |
+
const bookButton = document.getElementById('bookButton');
|
| 742 |
+
if (name && email && film && date && time && selectedSeats.length > 0) {
|
| 743 |
+
bookButton.disabled = false;
|
| 744 |
+
bookButton.classList.remove('opacity-50', 'cursor-not-allowed');
|
| 745 |
+
} else {
|
| 746 |
+
bookButton.disabled = true;
|
| 747 |
+
bookButton.classList.add('opacity-50', 'cursor-not-allowed');
|
| 748 |
+
}
|
| 749 |
+
}
|
| 750 |
+
|
| 751 |
+
// Format date as DD.MM.YYYY
|
| 752 |
+
function formatDate(dateString) {
|
| 753 |
+
if (!dateString) return '';
|
| 754 |
+
const date = new Date(dateString);
|
| 755 |
+
const day = String(date.getDate()).padStart(2, '0');
|
| 756 |
+
const month = String(date.getMonth() + 1).padStart(2, '0');
|
| 757 |
+
const year = date.getFullYear();
|
| 758 |
+
return `${day}.${month}.${year}`;
|
| 759 |
+
}
|
| 760 |
+
|
| 761 |
+
// Generate the final ticket
|
| 762 |
+
function generateTicket() {
|
| 763 |
+
const name = document.getElementById('nameInput').value;
|
| 764 |
+
const email = document.getElementById('emailInput').value;
|
| 765 |
+
const film = document.getElementById('filmInput').value;
|
| 766 |
+
const date = document.getElementById('dateInput').value;
|
| 767 |
+
const time = document.getElementById('timeInput').value;
|
| 768 |
+
const selectedSeats = Array.from(document.querySelectorAll('.seat.selected'));
|
| 769 |
+
|
| 770 |
+
if (!name || !email || !film || !date || !time || selectedSeats.length === 0) {
|
| 771 |
+
showToast('Bitte füllen Sie alle Felder aus!', 'red');
|
| 772 |
+
return;
|
| 773 |
+
}
|
| 774 |
+
|
| 775 |
+
// Calculate total price
|
| 776 |
+
let totalPrice = 0;
|
| 777 |
+
selectedSeats.forEach(seat => {
|
| 778 |
+
const isVip = seat.classList.contains('vip');
|
| 779 |
+
const filmObj = films.find(f => f.title === film) || films[0];
|
| 780 |
+
totalPrice += isVip ? filmObj.vipPrice : filmObj.price;
|
| 781 |
+
});
|
| 782 |
+
|
| 783 |
+
// Set ticket values
|
| 784 |
+
document.getElementById('ticketName').textContent = name;
|
| 785 |
+
document.getElementById('ticketFilm').textContent = film;
|
| 786 |
+
document.getElementById('ticketDate').textContent = formatDate(date);
|
| 787 |
+
document.getElementById('ticketTime').textContent = time;
|
| 788 |
+
document.getElementById('ticketSeat').textContent = selectedSeats.map(s => s.textContent).join(', ');
|
| 789 |
+
document.getElementById('ticketPrice').textContent = totalPrice.toFixed(2) + ' €';
|
| 790 |
+
|
| 791 |
+
// Generate random ticket ID
|
| 792 |
+
const ticketId = Math.random().toString(36).substring(2, 8).toUpperCase();
|
| 793 |
+
document.getElementById('ticketId').textContent = ticketId;
|
| 794 |
+
|
| 795 |
+
// Show modal
|
| 796 |
+
document.getElementById('ticketModal').classList.remove('hidden');
|
| 797 |
+
|
| 798 |
+
// Create confetti effect
|
| 799 |
+
createConfetti();
|
| 800 |
+
|
| 801 |
+
// Show confirmation toast
|
| 802 |
+
setTimeout(() => {
|
| 803 |
+
showToast('Buchung erfolgreich!', 'green');
|
| 804 |
+
}, 500);
|
| 805 |
+
}
|
| 806 |
+
|
| 807 |
+
// Create confetti effect
|
| 808 |
+
function createConfetti() {
|
| 809 |
+
const colors = ['#ff4b2b', '#ff416c', '#ffc107', '#4CAF50', '#2196F3'];
|
| 810 |
+
const container = document.getElementById('ticketModal');
|
| 811 |
+
|
| 812 |
+
for (let i = 0; i < 50; i++) {
|
| 813 |
+
const confetti = document.createElement('div');
|
| 814 |
+
confetti.className = 'confetti';
|
| 815 |
+
confetti.style.left = `${Math.random() * 100}%`;
|
| 816 |
+
confetti.style.top = `${Math.random() * 100}%`;
|
| 817 |
+
confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
|
| 818 |
+
confetti.style.width = `${Math.random() * 10 + 5}px`;
|
| 819 |
+
confetti.style.height = `${Math.random() * 10 + 5}px`;
|
| 820 |
+
confetti.style.opacity = '1';
|
| 821 |
+
confetti.style.transform = `rotate(${Math.random() * 360}deg)`;
|
| 822 |
+
confetti.style.animation = `fadeIn 0.5s ease-out, float ${Math.random() * 3 + 2}s ease-in forwards`;
|
| 823 |
+
|
| 824 |
+
container.appendChild(confetti);
|
| 825 |
+
|
| 826 |
+
// Remove confetti after animation
|
| 827 |
+
setTimeout(() => {
|
| 828 |
+
confetti.remove();
|
| 829 |
+
}, 5000);
|
| 830 |
+
}
|
| 831 |
+
}
|
| 832 |
+
|
| 833 |
+
// Close ticket modal
|
| 834 |
+
function closeTicket() {
|
| 835 |
+
document.getElementById('ticketModal').classList.add('hidden');
|
| 836 |
+
}
|
| 837 |
+
|
| 838 |
+
// Show toast message
|
| 839 |
+
function showToast(message, color) {
|
| 840 |
+
const toast = document.getElementById('confirmationToast');
|
| 841 |
+
toast.innerHTML = `<i class="fas fa-${color === 'green' ? 'check-circle' : 'exclamation-circle'} mr-2"></i><span>${message}</span>`;
|
| 842 |
+
toast.className = toast.className.replace('hidden', '').trim();
|
| 843 |
+
toast.style.backgroundColor = color === 'green' ? '#4CAF50' : '#F44336';
|
| 844 |
+
|
| 845 |
+
setTimeout(() => {
|
| 846 |
+
toast.classList.add('hidden');
|
| 847 |
+
}, 3000);
|
| 848 |
+
}
|
| 849 |
+
|
| 850 |
+
// Add event listeners for preview updates
|
| 851 |
+
document.getElementById('nameInput').addEventListener('input', updatePreview);
|
| 852 |
+
document.getElementById('emailInput').addEventListener('input', updatePreview);
|
| 853 |
+
document.getElementById('filmInput').addEventListener('change', updatePreview);
|
| 854 |
+
document.getElementById('dateInput').addEventListener('change', updatePreview);
|
| 855 |
+
document.getElementById('timeInput').addEventListener('change', updatePreview);
|
| 856 |
+
</script>
|
| 857 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Joshua353/d" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 858 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Kino-Ticket Buchen</title> <style> body { font-family: Arial, sans-serif; background: linear-gradient(45deg, #ff416c, #ff4b2b); text-align: center; color: white; padding: 50px; } .container { background: rgba(0, 0, 0, 0.7); padding: 20px; border-radius: 10px; display: inline-block; } input, button, select { padding: 10px; font-size: 18px; margin: 10px; border-radius: 5px; border: none; } button { background: #ffcc00; cursor: pointer; transition: 0.3s; } button:hover { background: #ffdd44; } .ticket { display: none; background: white; color: black; padding: 20px; margin-top: 20px; border-radius: 10px; box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5); animation: fadeIn 1s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } } </style> </head> <body> <div class="container"> <h1>Kino-Ticket Buchung</h1> <p>Gib deinen Namen ein:</p> <input type="text" id="nameInput" placeholder="Dein Name"> <p>Wähle einen Film:</p> <select id="filmInput"> <option value="Der König der Löwen">Der König der Löwen</option> <option value="Die Eiskönigin – Völlig unverfroren">Die Eiskönigin – Völlig unverfroren</option> <option value="Toy Story">Toy Story</option> <option value="Findet Nemo">Findet Nemo</option> <option value="Ratatouille">Ratatouille</option> <option value="Kung Fu Panda">Kung Fu Panda</option> <option value="Madagascar">Madagascar</option> <option value="Shrek">Shrek</option> <option value="Das Dschungelbuch">Das Dschungelbuch</option> <option value="Bambi">Bambi</option> <option value="Zoomania">Zoomania</option> <option value="Cars">Cars</option> <option value="Coco – Lebendiger als das Leben">Coco – Lebendiger als das Leben</option> <option value="Vaiana">Vaiana</option> <option value="Aladdin">Aladdin</option> <option value="Die Unglaublichen">Die Unglaublichen</option> <option value="WALL-E">WALL-E</option> <option value="Alles steht Kopf">Alles steht Kopf</option> <option value="Encanto">Encanto</option> <option value="Luca">Luca</option> <option value="Die Minions">Die Minions</option> <option value="Ich - Einfach unverbesserlich">Ich - Einfach unverbesserlich</option> <option value="Der Grinch">Der Grinch</option> <option value="Peter Hase">Peter Hase</option> <option value="Der kleine Prinz">Der kleine Prinz</option> <option value="Paw Patrol: Der Kinofilm">Paw Patrol: Der Kinofilm</option> <option value="Shaun das Schaf - Der Film">Shaun das Schaf - Der Film</option> <option value="Der SpongeBob Schwammkopf Film">Der SpongeBob Schwammkopf Film</option> <option value="Die Schlümpfe - Das verlorene Dorf">Die Schlümpfe - Das verlorene Dorf</option> <option value="Trolls">Trolls</option> <option value="Hotel Transsilvanien">Hotel Transsilvanien</option> <option value="Der kleine Drache Kokosnuss">Der kleine Drache Kokosnuss</option> <option value="Paddington">Paddington</option> <option value="Yakari - Der Kinofilm">Yakari - Der Kinofilm</option> </select> <p>Gib deinen Sitzplatz an:</p> <input type="text" id="seatInput" placeholder="Reihe, Platz (z.B. 5,8)"> <button onclick="generateTicket()">Ticket generieren</button> <div class="ticket" id="ticket"> <h2>Kino-Ticket 🎟️</h2> <p><strong>Name:</strong> <span id="ticketName"></span></p> <p><strong>Film:</strong> <span id="ticketFilm"></span></p> <p><strong>Sitzplatz:</strong> <span id="ticketSeat"></span></p> <button onclick="window.print()">Ticket drucken 🖨️</button> </div> </div> <script> function generateTicket() { var name = document.getElementById("nameInput").value; var film = document.getElementById("filmInput").value; var seat = document.getElementById("seatInput").value; if (name.trim() === "" || seat.trim() === "") { alert("Bitte fülle alle Felder aus!"); return; } document.getElementById("ticketName").textContent = name; document.getElementById("ticketFilm").textContent = film; document.getElementById("ticketSeat").textContent = seat; document.getElementById("ticket").style.display = "block"; } </script> </body> </html>
|
| 2 |
+
make better
|
| 3 |
+
mehr filme:Toy Story Toy Story 2 Toy Story 3 Toy Story 4 Findet Nemo Findet Dorie Die Monster AG Die Monster Uni Cars Cars 2 Cars 3 Oben Wall-E Ratatouille Coco Encanto Luca Soul Alles steht Kopf Vajana / Moana Zoomania Die Eiskönigin – Völlig unverfroren Die Eiskönigin 2 Rapunzel – Neu verföhnt Merida – Legende der Highlands Aladdin (Zeichentrick) Aladdin (Realfilm) Der König der Löwen (Zeichentrick) Der König der Löwen (Realfilm) Bambi Dumbo Dumbo (Realfilm) Aristocats 101 Dalmatiner Susi und Strolch Susi und Strolch (Realfilm) Peter Pan Peter Pan & Wendy Cinderella Cinderella (Realfilm) Alice im Wunderland Alice im Wunderland – Hinter den Spiegeln Die Schöne und das Biest (Zeichentrick) Die Schöne und das Biest (Realfilm) Winnie Puuh – Der Film Christopher Robin Bernard und Bianca Lilo & Stitch Bolt – Ein Hund für alle Fälle Die Kühe sind los Planes Planes 2 – Immer im Einsatz Ralph reicht’s Chaos im Netz Vaiana (Moana) Der Glöckner von Notre Dame Atlantis – Das Geheimnis der verlorenen Stadt Ein Königreich für ein Lama Ein Königreich für ein Lama 2 Die Chroniken von Narnia – Der König von Narnia Die Chroniken von Narnia – Prinz Kaspian Die Chroniken von Narnia – Reise auf der Morgenröte Drachenzähmen leicht gemacht Drachenzähmen leicht gemacht 2 Drachenzähmen leicht gemacht 3 Madagascar Madagascar 2 Madagascar 3 Die Pinguine aus Madagascar Kung Fu Panda Kung Fu Panda 2 Kung Fu Panda 3 Shrek – Der tollkühne Held Shrek 2 Shrek der Dritte Für immer Shrek Minions Minions
|