EmployeeQualificationEditDetailsView.xaml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <local:EmployeeQualificationEditView xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:local="clr-namespace:PRS.Mobile;assembly=PRS.Mobile"
  5. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  6. x:Class="PRS.Mobile.EmployeeQualificationEditDetailsView"
  7. x:DataType="local:EmployeeQualificationEditViewModel">
  8. <local:EmployeeQualificationEditView.Content>
  9. <Grid
  10. RowSpacing="5">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="Auto" />
  13. <RowDefinition Height="Auto" />
  14. <RowDefinition Height="Auto" />
  15. </Grid.RowDefinitions>
  16. <mobile:MobileDateButton
  17. x:Name="_qualified"
  18. Grid.Row="0"
  19. Date="{Binding Item.Qualified, Mode=TwoWay}"
  20. Prefix="Start:"
  21. Prompt="Select Start Date"
  22. HeightRequest="40"
  23. Changed="_qualified_OnChanged"/>
  24. <mobile:MobileDateButton
  25. x:Name="_expiry"
  26. Grid.Row="1"
  27. Date="{Binding Item.Expiry, Mode=TwoWay}"
  28. Prefix="Expiry:"
  29. Prompt="Select Expiry Date"
  30. HeightRequest="40"
  31. Changed="_expiry_Changed"/>
  32. <Frame
  33. Grid.Row="2"
  34. BackgroundColor="LightYellow"
  35. BorderColor="Gray"
  36. CornerRadius="5"
  37. HasShadow="False"
  38. Padding="5"
  39. Margin="0">
  40. <mobile:MobileEntry
  41. x:Name="_number"
  42. Text="{Binding Item.Number, Mode=TwoWay}"
  43. Placeholder="Number"
  44. HeightRequest="40"
  45. TextChanged="_number_Changed"/>
  46. </Frame>
  47. <!-- <Label Text="Tap inside boxes to make changes as appropriate" VerticalOptions="Center" HorizontalOptions="Center" LineBreakMode="WordWrap" -->
  48. <!-- FontSize="Medium"/> -->
  49. <!-- -->
  50. <!-- ~1~Row 0 Description@1@ -->
  51. <!-- <Label Text="Qualification:" FontSize="Medium" FontAttributes="Bold" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  52. <!-- <Frame x:Name="descriptionFrame" Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  53. <!-- <Picker x:Name="qualificationPicker" HorizontalOptions="FillAndExpand" VerticalOptions="Center" SelectedIndexChanged="QualificationPicker_IndexChanged" -->
  54. <!-- Title="Select an option"/> -->
  55. <!-- </Frame> -->
  56. <!-- -->
  57. <!-- ~1~Row 1 Qualified@1@ -->
  58. <!-- <Label Text="Qualified:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  59. <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  60. <!-- <DatePicker x:Name="qualifiedDatePicker" HorizontalOptions="FillAndExpand" VerticalOptions="Center" DateSelected="QualifiedDatePicker_Selected" -->
  61. <!-- /> -->
  62. <!-- </Frame> -->
  63. <!-- -->
  64. <!-- ~1~Row 2 Renewal@1@ -->
  65. <!-- <Label Text="Renewal:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  66. <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  67. <!-- <Label x:Name="renewalLbl" HorizontalOptions="Start" VerticalOptions="Center" FontSize="Medium"/> -->
  68. <!-- </Frame> -->
  69. <!-- -->
  70. <!-- ~1~Row 3 Expiry@1@ -->
  71. <!-- <Label Text="Expiry:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  72. <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  73. <!-- <DatePicker x:Name="expiryDatePicker" HorizontalOptions="FillAndExpand" VerticalOptions="Center" DateSelected="ExpiryDatePicker_Selected" -->
  74. <!-- /> -->
  75. <!-- </Frame> -->
  76. <!-- -->
  77. <!-- ~1~Row 4 Documents@1@ -->
  78. <!-- <Label x:Name="documentsLbl" -->
  79. <!-- Text="Documents:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  80. <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  81. <!-- <Button x:Name="addViewDocsBtn" Grid.Column="0" Text="Add / View Documents" Clicked="AddViewDocsBtn_Clicked" IsEnabled="False" -->
  82. <!-- Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/> -->
  83. <!-- </Frame> -->
  84. <!-- -->
  85. <!-- ~1~Row 5 Front Photo@1@ -->
  86. <!-- <Label Text="Front Photo:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  87. <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  88. <!-- <StackLayout Orientation="Vertical"> -->
  89. <!-- <Label Text="Use the camera button to add/change the photo" LineBreakMode="WordWrap" HorizontalOptions="Center" VerticalOptions="Center"/> -->
  90. <!-- <Button x:Name="TakeFrontPhotoBtn" Text="Camera" Clicked="TakeFrontPhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/> -->
  91. <!-- </StackLayout> -->
  92. <!-- </Frame> -->
  93. <!-- -->
  94. <!-- ~1~Row 6 Back Photo@1@ -->
  95. <!-- <Label Text="Back Photo:" FontAttributes="Bold" FontSize="Medium" Margin="5" HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> -->
  96. <!-- <Frame Padding="10" BorderColor="#15C7C1" CornerRadius="5"> -->
  97. <!-- <StackLayout Orientation="Vertical"> -->
  98. <!-- <Label Text="Use the camera button to add/change the photo" LineBreakMode="WordWrap" HorizontalOptions="Center" VerticalOptions="Center"/> -->
  99. <!-- <Button x:Name="TakeBackPhotoBtn" Text="Camera" Clicked="TakeBackPhoto_Clicked" Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold"/> -->
  100. <!-- </StackLayout> -->
  101. <!-- </Frame> -->
  102. </Grid>
  103. </local:EmployeeQualificationEditView.Content>
  104. </local:EmployeeQualificationEditView>