dev_jannis #3

Merged
Jannis merged 20 commits from dev_jannis into master 2026-05-05 11:46:01 +00:00
6 changed files with 18 additions and 18 deletions
Showing only changes of commit e143d8360a - Show all commits

View File

@@ -948,10 +948,10 @@
</div>
</div>
<script src="src/main.js"></script>
<script src="src/cart.js"></script>
<script src="src/booking.js"></script>
<script src="src/checkout.js"></script>
<script type="module" src="dist/main.js"></script>
<script type="module" src="dist/cart.js"></script>
<script type="module" src="dist/booking.js"></script>
<script type="module" src="dist/checkout.js"></script>
<script type="module" src="dist/account.js"></script>
</body>
</html>

View File

@@ -1,4 +1,4 @@
import type { User } from "./interfaces";
import type { User } from "./interfaces.js";
function readStorageJson(key: string, fallbackValue: any) {
const raw = localStorage.getItem(key);

View File

@@ -1,6 +1,6 @@
import { seatLayouts, occupiedSeatsData, prices, cart } from "./main"
import { renderCart, saveCart } from "./cart";
import { renderCheckout } from "./checkout";
import { seatLayouts, occupiedSeatsData, prices, cart } from "./main.js"
import { renderCart, saveCart } from "./cart.js";
import { renderCheckout } from "./checkout.js";
let currentBookingContext: any = null;
let currentHallLayout: any = null;

View File

@@ -1,4 +1,4 @@
import { cart } from "./main";
import { cart } from "./main.js";
function formatEuro(value: number) {
return `${Number(value || 0).toFixed(2).replace(".", ",")} EUR`;

View File

@@ -1,6 +1,6 @@
import { currentUser, users } from "./account";
import { renderCart, saveCart } from "./cart";
import { cart, emptyCart, occupiedSeatsData } from "./main";
import { currentUser, users } from "./account.js";
import { renderCart, saveCart } from "./cart.js";
import { cart, emptyCart, occupiedSeatsData } from "./main.js";
function formatCheckoutEuro(value: number) {
return `${Number(value || 0).toFixed(2).replace(".", ",")} EUR`;

View File

@@ -1,7 +1,7 @@
import { currentUser, loginUser, openAccountDashboard, registerUser } from "./account";
import { openBooking } from "./booking";
import { renderCart, saveCart, updateCartBadge } from "./cart";
import { renderCheckout } from "./checkout";
import { currentUser, loginUser, openAccountDashboard, registerUser } from "./account.js";
import { openBooking } from "./booking.js";
import { renderCart, saveCart, updateCartBadge } from "./cart.js";
import { renderCheckout } from "./checkout.js";
// Shared app state for legacy script files (account.js, booking.js, cart.js, checkout.js)
export const prices: Record<string, number> = { normal: 11.0, imax: 15.0, vip: 12.0, dbox: 16.0 };
@@ -67,8 +67,8 @@ document.addEventListener("DOMContentLoaded", () => {
duration: 148,
fsk: "6",
description: "In Walt Disney Animation Studios \"Zoomania 2\" geraten die tierischen Detektive Judy Hopps und Nick Wilde auf die rätselhafte Spur eines geheimnisvollen Reptils, das in Zoomania auftaucht und die Metropole völlig auf den Kopf stellt: Gary DeSnake! ",
poster: "img/zoomania-2.jpg",
backdrop: "img/zoomania-2.jpg"
poster: "img/Zoomania-2.jpg",
backdrop: "img/Zoomania-2.jpg"
},
{
title: "Shelter",