Fertig mit der UI, code dahinter muss implementiert werde (nach datenbank fertig herstellung)
This commit is contained in:
@@ -4,84 +4,111 @@
|
||||
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
||||
Title="LogInPage">
|
||||
|
||||
<Grid Margin="20">
|
||||
<Grid Margin="40,20">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header -->
|
||||
<StackPanel Grid.Row="0"
|
||||
Orientation="Horizontal"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="0,0,0,30">
|
||||
Margin="0,0,0,50">
|
||||
<iconPacks:PackIconMaterial Kind="Account"
|
||||
Width="28"
|
||||
Height="28"
|
||||
Margin="0,0,10,0"/>
|
||||
Width="36"
|
||||
Height="36"
|
||||
Margin="0,0,15,0"/>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Sky Team"
|
||||
FontSize="28"
|
||||
FontSize="36"
|
||||
FontWeight="Bold"/>
|
||||
<TextBlock Text="Melden Sie sich an um zu starten"
|
||||
FontSize="12"
|
||||
Foreground="Gray"/>
|
||||
FontSize="14"
|
||||
Foreground="#666"
|
||||
Margin="0,5,0,0"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<!-- Form -->
|
||||
<Grid Grid.Row="1"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center">
|
||||
<!-- Form Container -->
|
||||
<Border Grid.Row="1"
|
||||
Background="White"
|
||||
CornerRadius="16"
|
||||
Padding="50"
|
||||
BorderBrush="#E0E0E0"
|
||||
BorderThickness="1"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center">
|
||||
<Grid>
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="24"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="40"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="200"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Content="Benutzername:"
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="0,0,10,10"/>
|
||||
<Label Content="Benutzername:"
|
||||
Grid.Row="0" Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,0,12,8"
|
||||
FontSize="14"
|
||||
FontWeight="SemiBold"/>
|
||||
<TextBox x:Name="BenutzernameTextBox"
|
||||
Grid.Row="1" Grid.ColumnSpan="2"
|
||||
Height="45"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,0"/>
|
||||
|
||||
<TextBox x:Name="BenutzernameTextBox"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="0,0,0,10"/>
|
||||
<Label Content="Passwort:"
|
||||
Grid.Row="3" Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,0,12,8"
|
||||
FontSize="14"
|
||||
FontWeight="SemiBold"/>
|
||||
<PasswordBox x:Name="PasswortTextBox"
|
||||
Grid.Row="4" Grid.ColumnSpan="2"
|
||||
Height="45"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,0"/>
|
||||
|
||||
<Label Content="Passwort:"
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="0,0,10,20"/>
|
||||
<StackPanel Grid.Row="6"
|
||||
Grid.ColumnSpan="2"
|
||||
Orientation="Horizontal"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="0,20,0,0">
|
||||
<Button Content="Login"
|
||||
Width="140"
|
||||
Height="48"
|
||||
Margin="0,0,20,0"
|
||||
Background="#FF1E88E5"
|
||||
Foreground="White"
|
||||
FontSize="15"
|
||||
FontWeight="Bold"
|
||||
Click="LogInButton_Click"/>
|
||||
<Button Content="Registrieren"
|
||||
Width="140"
|
||||
Height="48"
|
||||
Background="Transparent"
|
||||
BorderBrush="#DDD"
|
||||
BorderThickness="1"
|
||||
Foreground="#666"
|
||||
FontSize="15"
|
||||
FontWeight="SemiBold"
|
||||
Click="anmeldungsButton_Click"/>
|
||||
</StackPanel>
|
||||
|
||||
<PasswordBox x:Name="PasswortTextBox"
|
||||
Grid.Row="2"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="0,0,0,20"/>
|
||||
|
||||
<!-- Buttons -->
|
||||
<StackPanel Grid.Row="3"
|
||||
Grid.ColumnSpan="2"
|
||||
Orientation="Horizontal"
|
||||
HorizontalAlignment="Center">
|
||||
<Button Content="Login"
|
||||
Width="110"
|
||||
Margin="0,0,20,0"
|
||||
Click="LogInButton"/>
|
||||
<Button Content="Registrieren"
|
||||
Width="110"
|
||||
Click="anmeldungsButton"/>
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user