mirror of
https://github.com/SirLecram/HospitalServerManager
synced 2025-01-09 13:37:33 +01:00
f234ec1f26
- last changes and visual edit
190 lines
11 KiB
XML
190 lines
11 KiB
XML
<Page
|
|
x:Class="HospitalServerManager.View.AdmissionsPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:HospitalServerManager.View"
|
|
xmlns:viewmodel="using:HospitalServerManager.ViewModel"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
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="Przyjęcia" 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='23' Content="Nowy rekord" Margin="30, 0, 30, 0" Grid.Row="1" Width="150" Name="btnNewRecord"/>
|
|
<Button x:ConnectionId='24' Content="Usuń zaznaczone" Margin="30, 0, 30, 0" Grid.Row="1" Grid.Column="1" Width="150"/>
|
|
<Button x:ConnectionId='25' 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='19' Name="searchBox" Grid.Row="1" Grid.ColumnSpan="2" Grid.Column="1" HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Center" Margin="10"/>
|
|
<ComboBox x:ConnectionId='20' 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='21' Content="Przeszukaj bazę" HorizontalAlignment="Stretch" Margin="10" />
|
|
<Button x:ConnectionId='22' 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='16' 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='17' Content="Rosnąco" Margin="15, 0, 15, 0" IsChecked="True" Tag="0" Name="radioBtn1" />
|
|
<RadioButton x:ConnectionId='18' Content="Malejąco" Margin="15, 0, 15, 0" Tag="1" Name="radionBtn2" />
|
|
</StackPanel>
|
|
|
|
</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/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<TextBlock Text="ID przyjęcia" Margin="8,0" Foreground="DarkRed" Grid.Column="0" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="Data przyjęcia" Foreground="DarkRed" Grid.Column="1" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="Data zwolnienia" Foreground="DarkRed" Grid.Column="2" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="Pesel pacjenta" Foreground="DarkRed" Grid.Column="3" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="Symbol diagnozy" Foreground="DarkRed" Grid.Column="4" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="ID lekarza" Foreground="DarkRed" Grid.Column="5" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="ID operacji" Foreground="DarkRed" Grid.Column="6" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="Nr pokoju" Foreground="DarkRed" Grid.Column="7" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="Planowane?" Foreground="DarkRed" Grid.Column="8" HorizontalAlignment="Center"/>
|
|
</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/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock x:ConnectionId='6' Name="ItemId" HorizontalAlignment="Center"
|
|
|
|
Grid.Column="0" />
|
|
<TextBlock x:ConnectionId='7' Name="ItemName" HorizontalAlignment="Center"
|
|
|
|
Grid.Column="1"/>
|
|
<TextBlock x:ConnectionId='8' HorizontalAlignment="Center"
|
|
Grid.Column="2"/>
|
|
<TextBlock x:ConnectionId='9' HorizontalAlignment="Center"
|
|
Grid.Column="3"/>
|
|
<TextBlock x:ConnectionId='10' HorizontalAlignment="Center"
|
|
Grid.Column="4"/>
|
|
<TextBlock x:ConnectionId='11' HorizontalAlignment="Center"
|
|
Grid.Column="5"/>
|
|
<TextBlock x:ConnectionId='12' HorizontalAlignment="Center"
|
|
Grid.Column="6"/>
|
|
<TextBlock x:ConnectionId='13' HorizontalAlignment="Center"
|
|
Grid.Column="7"/>
|
|
<TextBlock x:ConnectionId='14' HorizontalAlignment="Center"
|
|
Grid.Column="8"/>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ListView.ItemTemplate>
|
|
<ListView.ItemContainerStyle>
|
|
<Style TargetType="ListViewItem">
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
</Style>
|
|
</ListView.ItemContainerStyle>
|
|
|
|
</ListView>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</Page>
|
|
|