125 lines
5.1 KiB
XML
125 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="WguApp.Views.AssessmentPage">
|
|
|
|
|
|
<ContentPage.ToolbarItems>
|
|
<ToolbarItem Text="Save"
|
|
Order="Primary"
|
|
Priority="0"
|
|
IconImageSource="{FontImageSource Glyph='', FontFamily='Phosphor', Size=20, Color=AliceBlue}"
|
|
Clicked="SaveButton_OnClicked"/>
|
|
<ToolbarItem Text="Delete"
|
|
Order="Primary"
|
|
Priority="0"
|
|
IconImageSource="{FontImageSource Glyph='', FontFamily='Phosphor', Size=20, Color=Red}"
|
|
Clicked="DeleteButton_OnClicked"/>
|
|
</ContentPage.ToolbarItems>
|
|
|
|
<ContentPage.Content>
|
|
<Grid RowDefinitions="*">
|
|
<ScrollView HorizontalOptions="Fill"
|
|
HorizontalScrollBarVisibility="Never">
|
|
<VerticalStackLayout HorizontalOptions="Fill">
|
|
|
|
<Label Text="Assessment Info"
|
|
FontAttributes="Bold"
|
|
FontSize="20"
|
|
Margin="20, 10, 20, 5"/>
|
|
|
|
<Grid ColumnDefinitions="Auto, *"
|
|
ColumnSpacing="10"
|
|
Padding="5"
|
|
HorizontalOptions="Fill"
|
|
Margin="20, 10">
|
|
|
|
<Label Grid.Column="0"
|
|
Text="Title:"
|
|
VerticalOptions="Center" />
|
|
|
|
<Entry x:Name="TitleEntry"
|
|
Grid.Column="1"
|
|
Placeholder="Enter value here..."
|
|
VerticalOptions="Center"
|
|
WidthRequest="200"
|
|
HorizontalOptions="End" />
|
|
</Grid>
|
|
|
|
<Grid ColumnDefinitions="*, Auto"
|
|
ColumnSpacing="10"
|
|
Padding="5"
|
|
HorizontalOptions="Fill"
|
|
Margin="20, 10">
|
|
|
|
<Label Grid.Column="0"
|
|
Text="Start date:"
|
|
VerticalOptions="Center" />
|
|
|
|
<DatePicker x:Name="StartDatePicker"
|
|
Grid.Column="1"
|
|
VerticalOptions="Center"
|
|
WidthRequest="200"
|
|
HorizontalOptions="End" />
|
|
|
|
</Grid>
|
|
|
|
<Grid ColumnDefinitions="*, Auto"
|
|
ColumnSpacing="10"
|
|
Padding="5"
|
|
HorizontalOptions="Fill"
|
|
Margin="20, 10">
|
|
|
|
<Label Grid.Column="0"
|
|
Text="Expected end date:"
|
|
VerticalOptions="Center" />
|
|
|
|
<DatePicker x:Name="EndDatePicker"
|
|
Grid.Column="1"
|
|
VerticalOptions="Center"
|
|
WidthRequest="200"
|
|
HorizontalOptions="End" />
|
|
|
|
</Grid>
|
|
|
|
<Label Text="Notifications"
|
|
FontAttributes="Bold"
|
|
FontSize="20"
|
|
Margin="20, 5"/>
|
|
|
|
<Grid ColumnDefinitions="Auto, Auto"
|
|
ColumnSpacing="10"
|
|
Padding="5"
|
|
HorizontalOptions="Fill"
|
|
Margin="20, 10">
|
|
|
|
<Label Grid.Column="0"
|
|
Text="Start Date:"
|
|
VerticalOptions="Center" />
|
|
<CheckBox x:Name="StartNotifCheck"
|
|
Grid.Column="1"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="End" />
|
|
</Grid>
|
|
|
|
<Grid ColumnDefinitions="Auto, Auto"
|
|
ColumnSpacing="10"
|
|
Padding="5"
|
|
HorizontalOptions="Fill"
|
|
Margin="20, 10">
|
|
|
|
<Label Grid.Column="0"
|
|
Text="End Date:"
|
|
VerticalOptions="Center" />
|
|
<CheckBox x:Name="EndNotifCheck"
|
|
Grid.Column="1"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="End" />
|
|
</Grid>
|
|
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
</Grid>
|
|
</ContentPage.Content>
|
|
</ContentPage> |