75 lines
4.1 KiB
XML
75 lines
4.1 KiB
XML
<Window x:Class="CineBook.Views.MovieEditDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Film bearbeiten" Height="420" Width="480"
|
|
WindowStartupLocation="CenterOwner"
|
|
ResizeMode="NoResize"
|
|
Background="#0A0A0A">
|
|
<Grid Margin="24">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock x:Name="DialogTitle" Text="🎥 FILM BEARBEITEN" Style="{StaticResource RetroHeader}"
|
|
Margin="0,0,0,20"/>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="110"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="TITEL *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
|
<TextBox x:Name="TitleBox" Grid.Column="1" Style="{StaticResource RetroTextBox}" Height="30" Margin="0,0,0,10"/>
|
|
|
|
<TextBlock Grid.Row="1" Text="GENRE" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
|
<ComboBox x:Name="GenreBox" Grid.Row="1" Grid.Column="1" Style="{StaticResource RetroComboBox}"
|
|
Height="30" Margin="0,0,0,10" Background="#111" Foreground="#F5C518">
|
|
<ComboBoxItem>Action</ComboBoxItem>
|
|
<ComboBoxItem>Drama</ComboBoxItem>
|
|
<ComboBoxItem>Komödie</ComboBoxItem>
|
|
<ComboBoxItem>Sci-Fi</ComboBoxItem>
|
|
<ComboBoxItem>Thriller</ComboBoxItem>
|
|
<ComboBoxItem>Horror</ComboBoxItem>
|
|
<ComboBoxItem>Dokumentation</ComboBoxItem>
|
|
<ComboBoxItem>Animation</ComboBoxItem>
|
|
</ComboBox>
|
|
|
|
<TextBlock Grid.Row="2" Text="DAUER (Min)" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
|
<TextBox x:Name="DurationBox" Grid.Row="2" Grid.Column="1" Style="{StaticResource RetroTextBox}"
|
|
Height="30" Margin="0,0,0,10"/>
|
|
|
|
<TextBlock Grid.Row="3" Text="BEWERTUNG" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
|
<TextBox x:Name="RatingBox" Grid.Row="3" Grid.Column="1" Style="{StaticResource RetroTextBox}"
|
|
Height="30" Margin="0,0,0,10"/>
|
|
|
|
<TextBlock Grid.Row="4" Text="AKTIV" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
|
<CheckBox x:Name="ActiveCheck" Grid.Row="4" Grid.Column="1" IsChecked="True"
|
|
Foreground="#F5C518" FontFamily="Courier New" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
|
|
|
<TextBlock Grid.Row="5" Text="BESCHREIBUNG" Style="{StaticResource RetroLabel}" VerticalAlignment="Top" Margin="0,4,0,0"/>
|
|
<TextBox x:Name="DescBox" Grid.Row="5" Grid.Column="1" Style="{StaticResource RetroTextBox}"
|
|
TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto"/>
|
|
</Grid>
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,16,0,0">
|
|
<TextBlock x:Name="ErrorText" Foreground="#C0392B" FontFamily="Courier New" FontSize="11"
|
|
VerticalAlignment="Center" Margin="0,0,12,0"/>
|
|
<Button Content="[ ABBRECHEN ]" Style="{StaticResource RetroButtonGray}"
|
|
Height="32" Click="CancelClick" Margin="0,0,8,0"/>
|
|
<Button Content="[ SPEICHERN ]" Style="{StaticResource RetroButtonGreen}"
|
|
Height="32" Click="SaveClick"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|