mirror of
https://github.com/SirLecram/HospitalServerManager
synced 2024-11-09 13:00:26 +01:00
176 lines
9.7 KiB
Plaintext
176 lines
9.7 KiB
Plaintext
|
<Page
|
||
|
x:Class="HospitalServerManager.View.DoctorsPage"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:local="using:HospitalServerManager.View"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:viewmodel="using:HospitalServerManager.ViewModel"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
mc:Ignorable="d"
|
||
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||
|
<Page.Resources>
|
||
|
<viewmodel:RosterViewModel x:ConnectionId='2' x:Name="RosterViewModel"/>
|
||
|
</Page.Resources>
|
||
|
<!-- <Grid DataContext="{StaticResource ResourceKey=RosterViewModel}">
|
||
|
<userControls:ColumnListView DataContext="{StaticResource RosterViewModel}" Name="lv"/>
|
||
|
</Grid> -->
|
||
|
|
||
|
<Grid Background="DimGray">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="0.3*"/>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
<RowDefinition Height="1*"/>
|
||
|
<RowDefinition Height="1.75*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<TextBlock x:ConnectionId='3' Text="Pacjenci" HorizontalAlignment="Left" Margin="15, 5, 0, 0" FontSize="20"
|
||
|
VerticalAlignment="Top" Name="pageTitle" Grid.ColumnSpan="2"/>
|
||
|
<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
|
<Button x:ConnectionId='20' Content="Nowy rekord" Margin="30, 0, 30, 0" Grid.Row="1" Width="150"/>
|
||
|
<Button x:ConnectionId='21' Content="Usuń zaznaczone" Margin="30, 0, 30, 0" Grid.Row="1" Grid.Column="1" Width="150"/>
|
||
|
<Button x:ConnectionId='22' Content="Edytuj rekord" Margin="30, 0, 30, 0" Grid.Row="1" Width="150"/>
|
||
|
</StackPanel>
|
||
|
|
||
|
<!-- </StackPanel> -->
|
||
|
|
||
|
<Grid Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="2" Margin="2">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="0.3*"/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition Height="1.5*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="0.8*"/>
|
||
|
<ColumnDefinition Width="1.5*"/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Border BorderBrush="LightBlue" BorderThickness="2" CornerRadius="10" Grid.ColumnSpan="3" Grid.RowSpan="3"/>
|
||
|
<TextBlock Text="Szukaj" Margin="5, 0, 0, 0" />
|
||
|
<TextBlock Text="Szukaj wyrażenia:" Grid.Row="1" HorizontalAlignment="Stretch"
|
||
|
VerticalAlignment="Center" Margin="10"/>
|
||
|
<TextBlock Text="Szukaj w:" Grid.Row="2" HorizontalAlignment="Stretch"
|
||
|
VerticalAlignment="Center" Margin="10"/>
|
||
|
<TextBox x:ConnectionId='16' Name="searchBox" Grid.Row="1" Grid.ColumnSpan="2" Grid.Column="1" HorizontalAlignment="Stretch"
|
||
|
VerticalAlignment="Center" Margin="10"/>
|
||
|
<ComboBox x:ConnectionId='17' Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="10"
|
||
|
Name="lookInComboBox" />
|
||
|
<StackPanel Grid.Row="2" Grid.Column="2" VerticalAlignment="Center" Margin="10">
|
||
|
<Button x:ConnectionId='18' Content="Przeszukaj bazę" HorizontalAlignment="Stretch" Margin="10" />
|
||
|
<Button x:ConnectionId='19' Content="Resetuj" HorizontalAlignment="Stretch" Margin="10" />
|
||
|
</StackPanel>
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
<Grid Grid.Row="2" Grid.ColumnSpan="2" Margin="2">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="0.3*"/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="0.5*"/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Border BorderBrush="LightBlue" BorderThickness="2" CornerRadius="10" Grid.RowSpan="3" Grid.ColumnSpan="3"/>
|
||
|
|
||
|
<TextBlock Text="Sortowanie i filtry" Margin="5, 0, 0, 0" />
|
||
|
<TextBlock Text="Sortuj według:" Grid.Row="1" HorizontalAlignment="Stretch"
|
||
|
VerticalAlignment="Center" Margin="10"/>
|
||
|
<ComboBox x:ConnectionId='13' Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" VerticalAlignment="Center"
|
||
|
Margin="10" Name="sortComboBox" />
|
||
|
<StackPanel Grid.Row="2" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
|
<RadioButton x:ConnectionId='14' Content="Rosnąco" Margin="15, 0, 15, 0" IsChecked="True" Tag="0" Name="radioBtn1" />
|
||
|
<RadioButton x:ConnectionId='15' Content="Malejąco" Margin="15, 0, 15, 0" Tag="1" Name="radionBtn2" />
|
||
|
</StackPanel>
|
||
|
<Button Content="Zaawansowane filtry" Grid.Row="2" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Stretch"
|
||
|
Margin="15, 0, 15, 0"/>
|
||
|
|
||
|
</Grid>
|
||
|
<Grid Grid.Row="3" Grid.ColumnSpan="4" Margin="20, 5, 20, 5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
||
|
BorderBrush="AliceBlue" BorderThickness="2" >
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="Auto"/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<ListView Grid.Row="0" Margin="20, 5, 20, 5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
||
|
HorizontalContentAlignment="Stretch">
|
||
|
<ListView.HeaderTemplate >
|
||
|
|
||
|
<DataTemplate >
|
||
|
<Grid >
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<TextBlock Text="PESEL" Margin="8,0" Foreground="DarkRed" Grid.Column="0"/>
|
||
|
<TextBlock Text="Imię" Foreground="DarkRed" Grid.Column="1"/>
|
||
|
<TextBlock Text="Nazwisko" Foreground="DarkRed" Grid.Column="2"/>
|
||
|
<TextBlock Text="Data urodzenia" Foreground="DarkRed" Grid.Column="3"/>
|
||
|
<TextBlock Text="Stan" Foreground="DarkRed" Grid.Column="4"/>
|
||
|
<TextBlock Text="Płec" Foreground="DarkRed" Grid.Column="5"/>
|
||
|
</Grid>
|
||
|
</DataTemplate>
|
||
|
</ListView.HeaderTemplate>
|
||
|
</ListView>
|
||
|
<ListView x:ConnectionId='4' Grid.Row="3" Grid.ColumnSpan="4" Margin="20, 5, 20, 5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
||
|
BorderBrush="AliceBlue" BorderThickness="2" Name="databaseView"
|
||
|
ScrollViewer.VerticalScrollBarVisibility="Auto"
|
||
|
ScrollViewer.IsVerticalRailEnabled="True"
|
||
|
ScrollViewer.VerticalScrollMode="Enabled"
|
||
|
ScrollViewer.HorizontalScrollMode="Enabled"
|
||
|
ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
||
|
ScrollViewer.IsHorizontalRailEnabled="True">
|
||
|
|
||
|
<ListView.ItemTemplate>
|
||
|
|
||
|
<DataTemplate >
|
||
|
|
||
|
<Grid x:ConnectionId='5' Name="valueStoreGrid">
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition />
|
||
|
<ColumnDefinition />
|
||
|
<ColumnDefinition />
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<TextBlock x:ConnectionId='6' Name="ItemId"
|
||
|
|
||
|
Grid.Column="0" />
|
||
|
<TextBlock x:ConnectionId='7' Name="ItemName"
|
||
|
|
||
|
Grid.Column="1"/>
|
||
|
<TextBlock x:ConnectionId='8'
|
||
|
Grid.Column="2"/>
|
||
|
<TextBlock x:ConnectionId='9'
|
||
|
Grid.Column="3"/>
|
||
|
<TextBlock x:ConnectionId='10'
|
||
|
Grid.Column="4"/>
|
||
|
<TextBlock x:ConnectionId='11'
|
||
|
Grid.Column="5"/>
|
||
|
</Grid>
|
||
|
</DataTemplate>
|
||
|
</ListView.ItemTemplate>
|
||
|
<ListView.ItemContainerStyle>
|
||
|
<Style TargetType="ListViewItem">
|
||
|
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
||
|
</Style>
|
||
|
</ListView.ItemContainerStyle>
|
||
|
|
||
|
</ListView>
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
</Page>
|
||
|
|