Übetsetzung aller Benutzerseiten hinzugefügt
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
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"
|
||||
xmlns:properties="clr-namespace:SkyTeam"
|
||||
Title="verfuegbareFluge"
|
||||
Background="{DynamicResource PageBackground}">
|
||||
|
||||
@@ -19,8 +20,8 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Sky Team Airlines" FontSize="20" FontWeight="Bold" Foreground="White"/>
|
||||
<TextBlock Text="Sichere und komfortable Flüge weltweit" FontSize="12" Foreground="White"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.HeaderTitle}" FontSize="20" FontWeight="Bold" Foreground="White"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.HeaderSubtitle}" FontSize="12" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
@@ -30,36 +31,36 @@
|
||||
<Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="Home" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.SidebarHome}" Foreground="{DynamicResource PrimaryText}"/>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
|
||||
<Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="Meine Buchungen" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.SidebarBookings}" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
|
||||
<Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="Einstellungen" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.SidebarSettings}" Foreground="{DynamicResource PrimaryText}"/>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
|
||||
<Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/>
|
||||
<TextBlock Text="Abmelden"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.SidebarLogout}"/>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<Grid Grid.Row="1" Grid.Column="1" Margin="30">
|
||||
<StackPanel Margin="0,0,0,25">
|
||||
<TextBlock Text="Verfügbare Flüge" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="Wählen Sie einen Flug aus und klicken Sie auf Buchen" FontSize="16" Foreground="{DynamicResource SecondaryText}"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.AvailableFlightsTitle}" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
|
||||
<TextBlock Text="{x:Static properties:Resources.SelectFlightInstruction}" FontSize="16" Foreground="{DynamicResource SecondaryText}"/>
|
||||
</StackPanel>
|
||||
|
||||
<Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="20">
|
||||
@@ -79,17 +80,17 @@
|
||||
SelectionMode="Single"
|
||||
Margin="0,0,0,20">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Flug Nummer" Width="120" Binding="{Binding FlightNumber}"/>
|
||||
<DataGridTextColumn Header="Von" Width="100" Binding="{Binding From}"/>
|
||||
<DataGridTextColumn Header="Bis" Width="100" Binding="{Binding To}"/>
|
||||
<DataGridTextColumn Header="Pilot" Width="120" Binding="{Binding Pilot}"/>
|
||||
<DataGridTextColumn Header="Flugzeug" Width="120" Binding="{Binding Plane}"/>
|
||||
<DataGridTextColumn Header="Datum" Width="140" Binding="{Binding Date}"/>
|
||||
<DataGridTextColumn Header="{x:Static properties:Resources.FlightNumberLabel}" Width="120" Binding="{Binding FlightNumber}"/>
|
||||
<DataGridTextColumn Header="{x:Static properties:Resources.PrepositionVon}" Width="100" Binding="{Binding From}"/>
|
||||
<DataGridTextColumn Header="{x:Static properties:Resources.ToLabel}" Width="100" Binding="{Binding To}"/>
|
||||
<DataGridTextColumn Header="{x:Static properties:Resources.PilotLabel}" Width="120" Binding="{Binding Pilot}"/>
|
||||
<DataGridTextColumn Header="{x:Static properties:Resources.PlaneLabel}" Width="120" Binding="{Binding Plane}"/>
|
||||
<DataGridTextColumn Header="{x:Static properties:Resources.DateLabel}" Width="140" Binding="{Binding Date}"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
<Button Grid.Row="1"
|
||||
Content="Buchen"
|
||||
Content="{x:Static properties:Resources.BookButtonLabel}"
|
||||
Height="45"
|
||||
Width="140"
|
||||
HorizontalAlignment="Right"
|
||||
|
||||
Reference in New Issue
Block a user