110 lines
4.8 KiB
XML
110 lines
4.8 KiB
XML
<Page x:Class="SkyTeam.RegistrationPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
|
Title="Registrierungsseite">
|
|
|
|
<Grid Margin="40,20">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0"
|
|
Orientation="Horizontal"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,0,40">
|
|
<iconPacks:PackIconMaterial Kind="AccountPlus"
|
|
Width="32"
|
|
Height="32"
|
|
Margin="0,0,15,0"/>
|
|
<StackPanel>
|
|
<TextBlock Text="Registrieren"
|
|
FontSize="28"
|
|
FontWeight="Bold"/>
|
|
<TextBlock Text="Erstellen Sie Ihren Sky Team Account"
|
|
FontSize="14"
|
|
Foreground="#666"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
<Border Grid.Row="1"
|
|
Background="White"
|
|
CornerRadius="12"
|
|
Padding="40"
|
|
BorderBrush="#E0E0E0"
|
|
BorderThickness="1"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Center">
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="60"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="220"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="Vorname:"
|
|
Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,8"/>
|
|
<TextBox x:Name="FirstNameTextBox" Grid.Row="0" Grid.Column="1" Margin="0,0,0,8"/>
|
|
|
|
<Label Content="Nachname:" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,8"/>
|
|
<TextBox x:Name="LastNameTextBox" Grid.Row="1" Grid.Column="1" Margin="0,0,0,8"/>
|
|
|
|
<Label Content="E-Mail:" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,8"/>
|
|
<TextBox x:Name="EmailTextBox" Grid.Row="2" Grid.Column="1" Margin="0,0,0,8"/>
|
|
|
|
<Label Content="Telefonnummer:" Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,8"/>
|
|
<TextBox x:Name="PhoneNumberTextBox" Grid.Row="3" Grid.Column="1" Margin="0,0,0,8"/>
|
|
|
|
<Label Content="Stadt:" Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,8"/>
|
|
<TextBox x:Name="CityTextBox" Grid.Row="4" Grid.Column="1" Margin="0,0,0,8"/>
|
|
|
|
<Label Content="Land:" Grid.Row="5" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,8"/>
|
|
<TextBox x:Name="CountryTextBox" Grid.Row="5" Grid.Column="1" Margin="0,0,0,8"/>
|
|
|
|
<Label Content="Passwort:" Grid.Row="6" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,12,0"/>
|
|
<PasswordBox x:Name="PasswordBox" Grid.Row="6" VerticalAlignment="Top" Margin="1,4,0,0" Height="21" Grid.Column="1"/>
|
|
|
|
<StackPanel Grid.Row="9"
|
|
Grid.ColumnSpan="2"
|
|
Orientation="Horizontal"
|
|
HorizontalAlignment="Center">
|
|
<Button Content="Registrieren"
|
|
Width="130"
|
|
Height="42"
|
|
Margin="0,0,20,0"
|
|
Background="#FF1E88E5"
|
|
Foreground="White"
|
|
FontWeight="Bold"
|
|
FontSize="14"
|
|
Click="RegisterButton_Click"/>
|
|
<Button Content="Abbrechen"
|
|
Width="130"
|
|
Height="42"
|
|
Background="#F5F5F5"
|
|
BorderBrush="#DDD"
|
|
Click="CancelButton_Click"/>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
</Border>
|
|
|
|
</Grid>
|
|
</Page>
|