| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?xml version="1.0" encoding="utf-8"?>
- <local:EmployeeQualificationEditView xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:local="clr-namespace:PRS.Mobile;assembly=PRS.Mobile"
- xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
- x:Class="PRS.Mobile.EmployeeQualificationEditDetailsView"
- x:DataType="local:EmployeeQualificationEditViewModel">
-
- <local:EmployeeQualificationEditView.Content>
-
- <Grid
- RowSpacing="5">
-
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
-
-
- <mobile:MobileDateButton
- x:Name="_qualified"
- Grid.Row="0"
- Date="{Binding Item.Qualified, Mode=TwoWay}"
- Prefix="Start:"
- Prompt="Select Start Date"
- HeightRequest="40"
- Changed="_qualified_OnChanged"/>
-
- <mobile:MobileDateButton
- x:Name="_expiry"
- Grid.Row="1"
- Date="{Binding Item.Expiry, Mode=TwoWay}"
- Prefix="Expiry:"
- Prompt="Select Expiry Date"
- HeightRequest="40"
- Changed="_expiry_Changed"/>
-
- <Frame
- Grid.Row="2"
- BackgroundColor="LightYellow"
- BorderColor="Gray"
- CornerRadius="5"
- HasShadow="False"
- Padding="5"
- Margin="0">
- <mobile:MobileEntry
- x:Name="_number"
- Text="{Binding Item.Number, Mode=TwoWay}"
- Placeholder="Number"
- HeightRequest="40"
- TextChanged="_number_Changed"/>
- </Frame>
-
- <!-- <Label Text="Tap inside boxes to make changes as appropriate" VerticalOptions="Center" HorizontalOptions="Center" LineBreakMode="WordWrap" -->
- <!-- FontSize="Medium"/> -->
- <!-- -->
- <!-- ~1~Row 0 Description@1@ -->
- <!-- <Label Text="Qualification:" FontSize="Medium" FontAttributes="Bold" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame x:Name="descriptionFrame" Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <Picker x:Name="qualificationPicker" HorizontalOptions="FillAndExpand" VerticalOptions="Center" SelectedIndexChanged="QualificationPicker_IndexChanged" -->
- <!-- Title="Select an option"/> -->
- <!-- </Frame> -->
- <!-- -->
- <!-- ~1~Row 1 Qualified@1@ -->
- <!-- <Label Text="Qualified:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <DatePicker x:Name="qualifiedDatePicker" HorizontalOptions="FillAndExpand" VerticalOptions="Center" DateSelected="QualifiedDatePicker_Selected" -->
- <!-- /> -->
- <!-- </Frame> -->
- <!-- -->
- <!-- ~1~Row 2 Renewal@1@ -->
- <!-- <Label Text="Renewal:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <Label x:Name="renewalLbl" HorizontalOptions="Start" VerticalOptions="Center" FontSize="Medium"/> -->
- <!-- </Frame> -->
- <!-- -->
- <!-- ~1~Row 3 Expiry@1@ -->
- <!-- <Label Text="Expiry:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <DatePicker x:Name="expiryDatePicker" HorizontalOptions="FillAndExpand" VerticalOptions="Center" DateSelected="ExpiryDatePicker_Selected" -->
- <!-- /> -->
- <!-- </Frame> -->
- <!-- -->
- <!-- ~1~Row 4 Documents@1@ -->
- <!-- <Label x:Name="documentsLbl" -->
- <!-- Text="Documents:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <Button x:Name="addViewDocsBtn" Grid.Column="0" Text="Add / View Documents" Clicked="AddViewDocsBtn_Clicked" IsEnabled="False" -->
- <!-- Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/> -->
- <!-- </Frame> -->
- <!-- -->
- <!-- ~1~Row 5 Front Photo@1@ -->
- <!-- <Label Text="Front Photo:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <StackLayout Orientation="Vertical"> -->
- <!-- <Label Text="Use the camera button to add/change the photo" LineBreakMode="WordWrap" HorizontalOptions="Center" VerticalOptions="Center"/> -->
- <!-- <Button x:Name="TakeFrontPhotoBtn" Text="Camera" Clicked="TakeFrontPhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/> -->
- <!-- </StackLayout> -->
- <!-- </Frame> -->
- <!-- -->
- <!-- ~1~Row 6 Back Photo@1@ -->
- <!-- <Label Text="Back Photo:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
- <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
- <!-- <StackLayout Orientation="Vertical"> -->
- <!-- <Label Text="Use the camera button to add/change the photo" LineBreakMode="WordWrap" HorizontalOptions="Center" VerticalOptions="Center"/> -->
- <!-- <Button x:Name="TakeBackPhotoBtn" Text="Camera" Clicked="TakeBackPhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/> -->
- <!-- </StackLayout> -->
- <!-- </Frame> -->
- </Grid>
-
- </local:EmployeeQualificationEditView.Content>
-
- </local:EmployeeQualificationEditView>
|