113 lines
4.3 KiB
XML
113 lines
4.3 KiB
XML
<Page x:Class="SkyTeam.MeineBuchungenPage"
|
|
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="MeineBuchungenPage">
|
|
|
|
<Grid Margin="20">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Row="0"
|
|
Orientation="Horizontal"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,0,15">
|
|
<iconPacks:PackIconMaterial Kind="Airplane"
|
|
Width="28"
|
|
Height="28"
|
|
Margin="0,0,10,0"/>
|
|
<StackPanel>
|
|
<TextBlock Text="Meine Buchungen"
|
|
FontSize="22"
|
|
FontWeight="Bold"/>
|
|
<TextBlock Text="Übersicht über Ihre gebuchten Flüge"
|
|
FontSize="12"
|
|
Foreground="Gray"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<Grid Grid.Row="0"
|
|
Margin="0,0,0,10">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="200"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="200"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="Von:"
|
|
Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,5,0"/>
|
|
<TextBox x:Name="FromFilterTextBox"
|
|
Grid.Column="1"
|
|
Margin="0,0,15,0"/>
|
|
|
|
<Label Content="Nach:"
|
|
Grid.Column="2"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,5,0"/>
|
|
<TextBox x:Name="ToFilterTextBox"
|
|
Grid.Column="3"
|
|
Margin="0,0,15,0"/>
|
|
|
|
<Button x:Name="SearchBookingsButton"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
Padding="10,0"
|
|
Click="SearchBookingsButton_Click">
|
|
<StackPanel Orientation="Horizontal">
|
|
<iconPacks:PackIconMaterial Kind="Magnify"
|
|
Width="18"
|
|
Height="18"
|
|
Margin="0,0,5,0"/>
|
|
<TextBlock Text="Suchen"/>
|
|
</StackPanel>
|
|
</Button>
|
|
</Grid>
|
|
|
|
<DataGrid x:Name="BookingsDataGrid"
|
|
Grid.Row="1"
|
|
AutoGenerateColumns="False"
|
|
IsReadOnly="True"
|
|
CanUserAddRows="False">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Header="Buchungsnummer"
|
|
|
|
Width="*"/>
|
|
<DataGridTextColumn Header="Von"
|
|
|
|
Width="*"/>
|
|
<DataGridTextColumn Header="Nach"
|
|
|
|
Width="*"/>
|
|
<DataGridTextColumn Header="Abflug"
|
|
|
|
Width="*"/>
|
|
<DataGridTextColumn Header="Ankunft"
|
|
Width="*"/>
|
|
<DataGridTextColumn Header="Status"
|
|
|
|
Width="*"/>
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</Page>
|