| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?xml version="1.0" encoding="utf-8" ?>
- <timesheets:BasePage xmlns:timesheets="clr-namespace:comal.timesheets" xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="comal.timesheets.SiteITPModule.JobITPDetails"
- Title="ITP Forms">
- <timesheets:BasePage.PageContent>
- <ScrollView Padding="10">
- <StackLayout>
- <Frame BorderColor="#9f4576" CornerRadius="10" HasShadow="False">
- <Label x:Name="ITPNameLbl" HorizontalOptions="Center" FontSize="Medium" TextColor="#008b8b" FontAttributes="Bold"/>
- </Frame>
- <Frame BorderColor="#9f4576" CornerRadius="10" HasShadow="False">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="2*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Label Grid.Column="0" VerticalOptions="Center"
- x:Name="DFDescriptionLbl" FontSize="Small" FontAttributes="Bold" HorizontalTextAlignment="Center"/>
- <Button Grid.Column="1" HeightRequest="50"
- Text="Add Form" FontSize="Medium" FontAttributes="Bold" TextColor="White" BackgroundColor="#15C7C1" CornerRadius="10" Margin="5"
- HorizontalOptions="FillAndExpand" VerticalOptions="Center" Clicked="Add_Clicked"
- />
- </Grid>
- </Frame>
- <Frame BorderColor="#9f4576" CornerRadius="10" HasShadow="False">
- <StackLayout>
- <Label x:Name="countLbl" HorizontalOptions="Center"/>
- <ListView x:Name="ITPFormDisplayList" HasUnevenRows="True" BackgroundColor="Transparent" Margin="0,0,0,0">
- <ListView.ItemTemplate>
- <DataTemplate>
- <ViewCell Tapped="ITPFormList_Tapped">
- <Frame Padding="10" Margin="5" CornerRadius="10" HasShadow="False" BackgroundColor="{Binding Color}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="75"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Button Grid.Row="0" Grid.RowSpan="2" Grid.Column="0" WidthRequest="75" HeightRequest="75" Margin="2" Padding="0"
- ImageSource="dashboardsmall.png" BackgroundColor="Transparent"
- />
- <Label Grid.Row="0" Grid.Column="1" Margin="1"
- Text="{Binding Description}" FontAttributes="Bold" FontSize="Medium" HorizontalOptions="Start" LineBreakMode="WordWrap"/>
- <Label Grid.Row="1" Grid.Column="1" Margin="1"
- Text="{Binding Status}" FontSize="Medium" HorizontalOptions="Start" LineBreakMode="WordWrap"/>
- </Grid>
- </Frame>
- </ViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </StackLayout>
- </Frame>
- </StackLayout>
- </ScrollView>
- </timesheets:BasePage.PageContent>
- </timesheets:BasePage>
|