Files
CineBook/Views/LoginWindow.xaml

49 lines
2.5 KiB
XML

<Window x:Class="CineBook.Views.LoginWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="CineBook — Anmeldung" Height="460" Width="400"
WindowStartupLocation="CenterScreen"
ResizeMode="NoResize"
Background="#0A0A0A">
<Grid>
<StackPanel VerticalAlignment="Center" Margin="40">
<!-- Logo -->
<Border BorderBrush="#F5C518" BorderThickness="2" Padding="20,16" Margin="0,0,0,30">
<StackPanel>
<TextBlock Text="🎬 CINEBOOK" FontFamily="Courier New" FontSize="28"
FontWeight="Bold" Foreground="#F5C518" HorizontalAlignment="Center"/>
<TextBlock Text="━━━━━━━━━━━━━━━━━━" Foreground="#444" HorizontalAlignment="Center" Margin="0,4"/>
<TextBlock Text="K I N O V E R W A L T U N G S S Y S T E M" FontFamily="Courier New" FontSize="10"
Foreground="#888" HorizontalAlignment="Center"/>
</StackPanel>
</Border>
<!-- Status -->
<TextBlock x:Name="StatusText" Text="" Foreground="#C0392B"
FontFamily="Courier New" FontSize="12" HorizontalAlignment="Center"
Margin="0,0,0,10" Visibility="Collapsed"/>
<!-- Username -->
<TextBlock Text="BENUTZERNAME" Style="{StaticResource RetroLabel}" Margin="0,0,0,4"/>
<TextBox x:Name="UsernameBox" Style="{StaticResource RetroTextBox}"
Height="34" Margin="0,0,0,14"
KeyDown="InputKeyDown"/>
<!-- Password -->
<TextBlock Text="PASSWORT" Style="{StaticResource RetroLabel}" Margin="0,0,0,4"/>
<PasswordBox x:Name="PasswordBox" Style="{StaticResource RetroPasswordBox}"
Height="34" Margin="0,0,0,24"
KeyDown="InputKeyDown"/>
<!-- Login Button -->
<Button Content="[ ANMELDEN ]" Style="{StaticResource RetroButton}"
Height="38" Click="LoginClick"/>
<!-- Hint -->
<TextBlock Text="Demo: admin / admin123 | maria / 1" Foreground="#555"
FontFamily="Courier New" FontSize="10" HorizontalAlignment="Center"
Margin="0,20,0,0"/>
</StackPanel>
</Grid>
</Window>