131 lines
7.1 KiB
Text
131 lines
7.1 KiB
Text
|
|
<UserControl x:Class="eDosStation.DosimeterReturnSummary"
|
||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
|
||
|
|
|
||
|
|
<UserControl.Resources>
|
||
|
|
<!-- Card Style -->
|
||
|
|
<Style TargetType="Border" x:Key="ReturnCardStyle">
|
||
|
|
<Setter Property="Background" Value="White" />
|
||
|
|
<Setter Property="BorderBrush" Value="#D0D0D0" />
|
||
|
|
<Setter Property="BorderThickness" Value="1.5" />
|
||
|
|
<Setter Property="CornerRadius" Value="12" />
|
||
|
|
<Setter Property="Padding" Value="32" />
|
||
|
|
<Setter Property="Effect">
|
||
|
|
<Setter.Value>
|
||
|
|
<DropShadowEffect BlurRadius="20" ShadowDepth="4" Direction="270" Color="Black" Opacity="0.08" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
<Style TargetType="TextBlock" x:Key="MetaLabelStyle">
|
||
|
|
<Setter Property="FontSize" Value="22" />
|
||
|
|
<Setter Property="FontWeight" Value="SemiBold" />
|
||
|
|
<Setter Property="Foreground" Value="#666666" />
|
||
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||
|
|
<Setter Property="Margin" Value="0,0,12,0" />
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
<Style TargetType="TextBlock" x:Key="MetaValueStyle">
|
||
|
|
<Setter Property="FontSize" Value="24" />
|
||
|
|
<Setter Property="FontWeight" Value="Bold" />
|
||
|
|
<Setter Property="Foreground" Value="{DynamicResource sckbP}" />
|
||
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
</UserControl.Resources>
|
||
|
|
|
||
|
|
<Grid HorizontalAlignment="Center" VerticalAlignment="Center" Margin="24">
|
||
|
|
<!-- Main Container Card -->
|
||
|
|
<Border Style="{StaticResource ReturnCardStyle}" Width="700">
|
||
|
|
<StackPanel>
|
||
|
|
|
||
|
|
<!-- 1. Header Banner -->
|
||
|
|
<Border Background="{DynamicResource sckbLB}" CornerRadius="8" Padding="16,12" Margin="0,0,0,24">
|
||
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||
|
|
<!-- Success Indicator -->
|
||
|
|
<TextBlock Text="✓" FontSize="32" FontWeight="Bold" Foreground="{DynamicResource sckbP}" Margin="0,0,12,0" VerticalAlignment="Center" />
|
||
|
|
<TextBlock Text="Visit Registered" FontSize="32" FontWeight="Bold" Foreground="{DynamicResource sckbP}" VerticalAlignment="Center" />
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
|
||
|
|
<!-- 2. Person & Visit Information -->
|
||
|
|
<Border Background="#F8F9FA" CornerRadius="8" Padding="20" Margin="0,0,0,20">
|
||
|
|
<StackPanel>
|
||
|
|
<!-- Person Name Header -->
|
||
|
|
<TextBlock x:Name="PersonName" Text="John Doe" FontSize="28" FontWeight="Bold"
|
||
|
|
Foreground="{DynamicResource sckbP}" HorizontalAlignment="Center" Margin="0,0,0,16" />
|
||
|
|
|
||
|
|
<Grid>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="*" />
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="*" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
|
||
|
|
<!-- Pers ID -->
|
||
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
|
|
<TextBlock Text="Pers ID:" Style="{StaticResource MetaLabelStyle}" />
|
||
|
|
<TextBlock x:Name="Wearer" Text="12345" Style="{StaticResource MetaValueStyle}" />
|
||
|
|
</StackPanel>
|
||
|
|
|
||
|
|
<!-- Divider -->
|
||
|
|
<Rectangle Grid.Column="1" Width="1" Fill="#E0E0E0" Height="24" VerticalAlignment="Center" Margin="16,0" />
|
||
|
|
|
||
|
|
<!-- Visit # -->
|
||
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
|
|
<TextBlock Text="Visit:" Style="{StaticResource MetaLabelStyle}" />
|
||
|
|
<TextBlock x:Name="EpdVisit" Text="12345545" Style="{StaticResource MetaValueStyle}" />
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
|
||
|
|
<!-- 3. Recorded Dose Values Card -->
|
||
|
|
<Border BorderBrush="#E0E0E0" BorderThickness="1" CornerRadius="8" Padding="20" Margin="0,0,0,28">
|
||
|
|
<Grid>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="*" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
|
||
|
|
<TextBlock Text="Recorded Dose:" Style="{StaticResource MetaLabelStyle}" VerticalAlignment="Top" Margin="0,4,24,0" />
|
||
|
|
|
||
|
|
<StackPanel Grid.Column="1" x:Name="DosePanel">
|
||
|
|
<!-- Hp(0.07) -->
|
||
|
|
<Grid Margin="0,0,0,8">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="*" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Text="Hp(0.07):" FontSize="22" Foreground="#555555" Width="110" VerticalAlignment="Center" />
|
||
|
|
<TextBlock x:Name="HpDose07" Grid.Column="1" Text="1234 µSv" FontSize="26" FontWeight="Bold" Foreground="{DynamicResource sckbP}" VerticalAlignment="Center" />
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<!-- Hp(10) -->
|
||
|
|
<Grid>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="*" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Text="Hp(10):" FontSize="22" Foreground="#555555" Width="110" VerticalAlignment="Center" />
|
||
|
|
<TextBlock x:Name="HpDose10" Grid.Column="1" Text="1223 µSv" FontSize="26" FontWeight="Bold" Foreground="{DynamicResource sckbP}" VerticalAlignment="Center" />
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
</Border>
|
||
|
|
|
||
|
|
<!-- 4. Kiosk Touch Button -->
|
||
|
|
<telerik:RadButton x:Name="bCloseExit"
|
||
|
|
Click="BCloseExit_Click"
|
||
|
|
Content="OK"
|
||
|
|
Width="220"
|
||
|
|
Height="60"
|
||
|
|
FontSize="24"
|
||
|
|
FontWeight="Bold"
|
||
|
|
Style="{StaticResource OkCancelButton}"
|
||
|
|
HorizontalAlignment="Center" />
|
||
|
|
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
</Grid>
|
||
|
|
</UserControl>
|