Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions HospitalApp/SettingPageView.axaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="HospitalApp.Views.PatientProfileView">

<Grid Background="#FFF5F5F5">
<!-- Patient Profile Header -->
<Border Background="#FFF0E6E8" Padding="20" Margin="0,0,0,10">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>

<!-- Patient Image -->
<Image Grid.Column="0" Source="/Assets/patient-avatar.png" Width="100" Height="100" Margin="0,0,20,0"/>

<!-- Patient Details -->
<StackPanel Grid.Column="1" VerticalAlignment="Center">
<TextBlock Text="Juan Dela Cruz" FontSize="24" FontWeight="Bold" Margin="0,0,0,5"/>
<StackPanel Orientation="Horizontal" Margin="0,0,0,5">
<TextBlock Text="Male" Foreground="#888888"/>
<TextBlock Text=" • " Foreground="#888888"/>
<TextBlock Text="Age 76" Foreground="#888888"/>
</StackPanel>
<TextBlock Text="Lahug, Cebu City" Foreground="#555555" Margin="0,0,0,5"/>
<TextBlock Text="+063 9560723343" Foreground="#555555"/>
<TextBlock Text="Hypertension" Foreground="#555555" Margin="0,10,0,0"/>
</StackPanel>

<!-- Action Buttons -->
<StackPanel Grid.Column="2" VerticalAlignment="Top">
<Button Content="Edit" Background="#3498DB" Foreground="White" Width="80" Margin="0,0,0,10"/>
<Button Content="Remove Patient" Background="Transparent" Foreground="#FF5252" Width="120"/>
</StackPanel>
</Grid>
</Border>

<!-- Navigation Tabs -->
<StackPanel Margin="0,130,0,0">
<Border BorderBrush="#DDDDDD" BorderThickness="0,0,0,1">
<StackPanel Orientation="Horizontal" Margin="20,0,20,0">
<Button Content="Overview" Classes="TabButton Selected" Margin="0,0,20,0"/>
<Button Content="Appointment History" Classes="TabButton" Margin="0,0,20,0"/>
<Button Content="Medical Record" Classes="TabButton" Margin="0,0,20,0"/>
<Button Content="Medication" Classes="TabButton"/>
</StackPanel>
</Border>

<!-- Notes and Prescription Sections -->
<ScrollViewer Margin="20,20,20,0">
<StackPanel>
<!-- Nurse Note -->
<TextBlock Text="Nurse Note:" Margin="0,0,0,5" FontWeight="SemiBold"/>
<Border Background="#F0E6E8" CornerRadius="8" Padding="15" Margin="0,0,0,20">
<TextBlock Text="Click to expand" Foreground="#888888" HorizontalAlignment="Center"/>
</Border>

<!-- Doctor Note -->
<TextBlock Text="Doctor Note:" Margin="0,0,0,5" FontWeight="SemiBold"/>
<Border Background="#F0E6E8" CornerRadius="8" Padding="15" Margin="0,0,0,20">
<TextBlock Text="Click to expand" Foreground="#888888" HorizontalAlignment="Center"/>
</Border>

<!-- Prescription -->
<TextBlock Text="Prescription:" Margin="0,0,0,5" FontWeight="SemiBold"/>
<Border Background="#F0E6E8" CornerRadius="8" Padding="15" Margin="0,0,0,20">
<TextBlock Text="Click to expand" Foreground="#888888" HorizontalAlignment="Center"/>
</Border>
</StackPanel>
</ScrollViewer>
</StackPanel>
</Grid>
</UserControl>