You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Seekers/Views/EndUserReportsPage.xaml

26 lines
1.3 KiB

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Justice.Views.EndUserReportsPage"
Title="My Reports">
<StackLayout Padding="20">
<Label Text="My Submitted Reports" FontSize="Large" HorizontalOptions="Center" />
<!-- List of Submitted Reports -->
<ListView x:Name="ReportsListView" HasUnevenRows="True">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Padding="10">
<Label Text="{Binding IncidentType}" FontSize="Medium" FontAttributes="Bold" />
<Label Text="{Binding Address}" FontSize="Small" TextColor="Gray" />
<Label Text="{Binding DateTime, StringFormat='Submitted on: {0:MMM dd, yyyy HH:mm}'}" FontSize="Small" />
<Label Text="{Binding Description}" FontSize="Small" />
<Label Text="{Binding Status}" FontSize="Small" FontAttributes="Bold" />
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentPage>