Pricelist hinzugefügt
This commit is contained in:
@@ -62,6 +62,7 @@ import { PurchaseSuccessComponent } from './purchase-success/purchase-success.co
|
|||||||
import { PurchaseFailedComponent } from './purchase-failed/purchase-failed.component';
|
import { PurchaseFailedComponent } from './purchase-failed/purchase-failed.component';
|
||||||
import { TicketSmallComponent } from './ticket-small/ticket-small.component';
|
import { TicketSmallComponent } from './ticket-small/ticket-small.component';
|
||||||
import { TicketListComponent } from './ticket-list/ticket-list.component';
|
import { TicketListComponent } from './ticket-list/ticket-list.component';
|
||||||
|
import { PricelistComponent } from './pricelist/pricelist.component';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
@@ -105,6 +106,7 @@ import { TicketListComponent } from './ticket-list/ticket-list.component';
|
|||||||
PurchaseFailedComponent,
|
PurchaseFailedComponent,
|
||||||
TicketSmallComponent,
|
TicketSmallComponent,
|
||||||
TicketListComponent,
|
TicketListComponent,
|
||||||
|
PricelistComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import { ScheduleComponent } from './schedule/schedule.component';
|
|||||||
import { TheaterOverlayComponent} from './theater-overlay/theater-overlay.component';
|
import { TheaterOverlayComponent} from './theater-overlay/theater-overlay.component';
|
||||||
import { MovieImporterComponent } from './movie-importer/movie-importer.component';
|
import { MovieImporterComponent } from './movie-importer/movie-importer.component';
|
||||||
import { AuthGuard } from './auth.guard';
|
import { AuthGuard } from './auth.guard';
|
||||||
|
import { PricelistComponent } from './pricelist/pricelist.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
// Seiten ohne Layout
|
// Seiten ohne Layout
|
||||||
@@ -28,6 +29,7 @@ const routes: Routes = [
|
|||||||
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
||||||
},
|
},
|
||||||
{ path: 'selection/performance/:id', component: TheaterOverlayComponent},
|
{ path: 'selection/performance/:id', component: TheaterOverlayComponent},
|
||||||
|
{ path: 'prices', component: PricelistComponent },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import { Component, inject, computed, OnInit } from '@angular/core';
|
|||||||
export class NavbarComponent {
|
export class NavbarComponent {
|
||||||
navItems: { label:string, path:string }[] = [
|
navItems: { label:string, path:string }[] = [
|
||||||
{label: 'Programm', path: '/schedule'},
|
{label: 'Programm', path: '/schedule'},
|
||||||
|
{label: 'Preise', path: '/prices'},
|
||||||
{label: 'Film importieren', path: '/admin/movie-importer'},
|
{label: 'Film importieren', path: '/admin/movie-importer'},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
0
src/app/pricelist/pricelist.component.css
Normal file
0
src/app/pricelist/pricelist.component.css
Normal file
99
src/app/pricelist/pricelist.component.html
Normal file
99
src/app/pricelist/pricelist.component.html
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Kino Preisliste</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
margin: 0;
|
||||||
|
padding: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-container {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||||
|
gap: 30px;
|
||||||
|
max-width: 1000px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background: #faf8ff;
|
||||||
|
padding: 20px;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card h2 {
|
||||||
|
margin-top: 0;
|
||||||
|
border-bottom: 1px solid rgba(255, 215, 0, 0.5);
|
||||||
|
padding-bottom: 10px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 8px 0;
|
||||||
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item:last-child {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Kino Preisliste</h1>
|
||||||
|
|
||||||
|
<div class="menu-container">
|
||||||
|
<!-- Popcorn -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>🍿 Popcorn</h2>
|
||||||
|
<div class="item"><span>Klein</span><span>3,50 €</span></div>
|
||||||
|
<div class="item"><span>Mittel</span><span>5,00 €</span></div>
|
||||||
|
<div class="item"><span>Groß</span><span>6,50 €</span></div>
|
||||||
|
<div class="item"><span>Extra Butter</span><span>1,00 €</span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Nachos -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>🧀 Nachos</h2>
|
||||||
|
<div class="item"><span>Portion</span><span>4,50 €</span></div>
|
||||||
|
<div class="item"><span>Käse-Dip</span><span>1,00 €</span></div>
|
||||||
|
<div class="item"><span>Salsa-Dip</span><span>1,00 €</span></div>
|
||||||
|
<div class="item"><span>Guacamole</span><span>1,50 €</span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Getränke -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>🥤 Getränke</h2>
|
||||||
|
<div class="item"><span>Softdrink Klein</span><span>2,80 €</span></div>
|
||||||
|
<div class="item"><span>Softdrink Mittel</span><span>3,50 €</span></div>
|
||||||
|
<div class="item"><span>Softdrink Groß</span><span>4,20 €</span></div>
|
||||||
|
<div class="item"><span>Wasser</span><span>2,50 €</span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Süßigkeiten -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>🍬 Süßigkeiten</h2>
|
||||||
|
<div class="item"><span>Schokoladentafel</span><span>2,50 €</span></div>
|
||||||
|
<div class="item"><span>Gummibärchen</span><span>2,20 €</span></div>
|
||||||
|
<div class="item"><span>Kindertüte</span><span>3,00 €</span></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
11
src/app/pricelist/pricelist.component.ts
Normal file
11
src/app/pricelist/pricelist.component.ts
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-pricelist',
|
||||||
|
standalone: false,
|
||||||
|
templateUrl: './pricelist.component.html',
|
||||||
|
styleUrl: './pricelist.component.css'
|
||||||
|
})
|
||||||
|
export class PricelistComponent {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user