12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?xml version="1.0" encoding="UTF-8"?>
- <timesheets:BasePage
- xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
- xmlns:timesheets="clr-namespace:comal.timesheets"
- x:Class="comal.timesheets.FrameDetailsPage"
- Title = "Frame Details"
- x:DataType="timesheets:DeliveryItemDetailModel"
- >
- <timesheets:BasePage.Resources>
- <timesheets:EnumerableToBooleanConverter x:Key="EnumerableToBooleanConverter" />
- </timesheets:BasePage.Resources>
-
- <timesheets:BasePage.PageContent>
- <ScrollView>
- <StackLayout Orientation="Vertical">
-
- <material:MaterialLabel TypeScale="H6" Text="Barcode" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body1" Text="{Binding Item.Barcode}" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="H6" Text="Description" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body1" Padding="2" Text="{Binding Item.Description}" HorizontalTextAlignment="Center"/>
-
- <material:MaterialLabel TypeScale="H6" Text="Location" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body1" Padding="2" Text="{Binding Item.Location}" HorizontalTextAlignment="Center"/>
-
- <material:MaterialLabel TypeScale="H6" Text="Job Details" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body1" Padding="2" Text="{Binding Item.Job}" HorizontalTextAlignment="Center"/>
-
- <material:MaterialLabel TypeScale="H6" Text="Setout Details" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body2" Padding="2" Text="{Binding Item.Setout}" HorizontalTextAlignment="Center"/>
-
- <material:MaterialLabel TypeScale="H6" Text="Serial Number" HorizontalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body2" Padding="2" Text="{Binding Item.SerialNumber}" HorizontalTextAlignment="Center"/>
-
- <material:MaterialLabel
- TypeScale="H6"
- Text="Delivery Drawings"
- HorizontalTextAlignment="Center"/>
-
- <timesheets:MobileList
- x:Name="_deliveryDocuments"
- ItemsSource="{Binding DeliveryDocuments}"
- VerticalOptions="Start"
- BackgroundColor="Green"
- PullToRefresh="False"
- RowHeight="80"
- HeightRequest="100">
-
- <timesheets:MobileList.ItemTemplate>
- <DataTemplate x:DataType="timesheets:DeliveryItemDetailDeliveryDocumentShell">
- <Frame HeightRequest="100" BackgroundColor="White" BorderColor="Black" CornerRadius="5" Margin="5,5,5,0">
- <Label Text="Hi There" />
- <!-- <timesheets:ActionButton Text="{Binding FileName}" Clicked="Document_Clicked" /> -->
- </Frame>
-
- </DataTemplate>
- </timesheets:MobileList.ItemTemplate>
-
- </timesheets:MobileList>
-
- <material:MaterialLabel
- TypeScale="H6"
- Text="Manufacturing Drawings"
- HorizontalTextAlignment="Center"/>
-
- <timesheets:MobileList
- x:Name="_setoutDocuments"
- ItemsSource="{Binding SetoutDocuments}"
- VerticalOptions="Start"
- PullToRefresh="False">
-
- <timesheets:MobileList.ItemTemplate>
- <DataTemplate x:DataType="timesheets:DeliveryItemDetailSetoutDocumentShell">
- <timesheets:ActionButton Text="{Binding FileName}" Clicked="Document_Clicked" />
- </DataTemplate>
- </timesheets:MobileList.ItemTemplate>
-
- </timesheets:MobileList>
-
- <material:MaterialLabel
- TypeScale="H6"
- Text="--End--"
- HorizontalTextAlignment="Center"/>
-
- </StackLayout>
- </ScrollView>
- </timesheets:BasePage.PageContent>
- </timesheets:BasePage>
|