CineBook Projekt hinzugefügt
This commit is contained in:
56
Views/UserEditDialog.xaml
Normal file
56
Views/UserEditDialog.xaml
Normal file
@@ -0,0 +1,56 @@
|
||||
<Window x:Class="CineBook.Views.UserEditDialog"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Benutzer bearbeiten" Height="340" Width="420"
|
||||
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="👤 BENUTZER 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"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Text="BENUTZERNAME *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
||||
<TextBox x:Name="UsernameBox" Grid.Column="1" Style="{StaticResource RetroTextBox}" Height="30" Margin="0,0,0,10"/>
|
||||
|
||||
<TextBlock Grid.Row="1" Text="PASSWORT" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
||||
<PasswordBox x:Name="PasswordBox" Grid.Row="1" Grid.Column="1" Style="{StaticResource RetroPasswordBox}"
|
||||
Height="30" Margin="0,0,0,10"/>
|
||||
|
||||
<TextBlock Grid.Row="2" Text="ROLLE *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
|
||||
<ComboBox x:Name="RoleBox" Grid.Row="2" Grid.Column="1" Height="30" Margin="0,0,0,10"
|
||||
Background="#111" Foreground="#F5C518" FontFamily="Courier New">
|
||||
<ComboBoxItem>User</ComboBoxItem>
|
||||
<ComboBoxItem>Admin</ComboBoxItem>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock Grid.Row="3" Text="E-MAIL" Style="{StaticResource RetroLabel}" VerticalAlignment="Center"/>
|
||||
<TextBox x:Name="EmailBox" Grid.Row="3" Grid.Column="1" Style="{StaticResource RetroTextBox}" Height="30"/>
|
||||
</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>
|
||||
Reference in New Issue
Block a user