|
|
@ -1,4 +1,5 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
x:Class="Qwirkle.Pages.Leaderboard"
|
|
|
|
x:Class="Qwirkle.Pages.Leaderboard"
|
|
|
@ -11,16 +12,16 @@
|
|
|
|
<Grid Style="{StaticResource GridMain}">
|
|
|
|
<Grid Style="{StaticResource GridMain}">
|
|
|
|
<controls:GoBack></controls:GoBack>
|
|
|
|
<controls:GoBack></controls:GoBack>
|
|
|
|
<Label Text="Leaderboard"
|
|
|
|
<Label Text="Leaderboard"
|
|
|
|
Style="{StaticResource Title}"/>
|
|
|
|
Style="{StaticResource Title}" />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
<Border Style="{StaticResource TabBorder}">
|
|
|
|
<Border Style="{StaticResource TabBorder}">
|
|
|
|
|
|
|
|
|
|
|
|
<Border.Shadow>
|
|
|
|
<Border.Shadow>
|
|
|
|
<Shadow/>
|
|
|
|
<Shadow />
|
|
|
|
</Border.Shadow>
|
|
|
|
</Border.Shadow>
|
|
|
|
<Border.StrokeShape>
|
|
|
|
<Border.StrokeShape>
|
|
|
|
<RoundRectangle CornerRadius="3"/>
|
|
|
|
<RoundRectangle CornerRadius="3" />
|
|
|
|
</Border.StrokeShape>
|
|
|
|
</Border.StrokeShape>
|
|
|
|
|
|
|
|
|
|
|
|
<StackLayout>
|
|
|
|
<StackLayout>
|
|
|
@ -28,37 +29,38 @@
|
|
|
|
RowDefinitions="50">
|
|
|
|
RowDefinitions="50">
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="Player tag"
|
|
|
|
Text="Player tag"
|
|
|
|
Style="{StaticResource ContentTab}"/>
|
|
|
|
Style="{StaticResource ContentTab}" />
|
|
|
|
<Rectangle
|
|
|
|
<Rectangle
|
|
|
|
Style="{StaticResource RectangleTab}"
|
|
|
|
Style="{StaticResource RectangleTab}"
|
|
|
|
Grid.Column="1"/>
|
|
|
|
Grid.Column="1" />
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Column="2"
|
|
|
|
Text="Date"
|
|
|
|
Text="Date"
|
|
|
|
Style="{StaticResource ContentTab}"/>
|
|
|
|
Style="{StaticResource ContentTab}" />
|
|
|
|
<Rectangle
|
|
|
|
<Rectangle
|
|
|
|
Style="{StaticResource RectangleTab}"
|
|
|
|
Style="{StaticResource RectangleTab}"
|
|
|
|
Grid.Column="3"/>
|
|
|
|
Grid.Column="3" />
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Grid.Column="4"
|
|
|
|
Grid.Column="4"
|
|
|
|
Text="Points"
|
|
|
|
Text="Points"
|
|
|
|
Style="{StaticResource ContentTab}"/>
|
|
|
|
Style="{StaticResource ContentTab}" />
|
|
|
|
<Rectangle
|
|
|
|
<Rectangle
|
|
|
|
Style="{StaticResource RectangleTab}"
|
|
|
|
Style="{StaticResource RectangleTab}"
|
|
|
|
Grid.Column="5"/>
|
|
|
|
Grid.Column="5" />
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Grid.Column="6"
|
|
|
|
Grid.Column="6"
|
|
|
|
Style="{StaticResource ContentTab}"
|
|
|
|
Style="{StaticResource ContentTab}"
|
|
|
|
Text="Victories"/>
|
|
|
|
Text="Victories" />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
<CollectionView ItemsSource="{Binding Lb}">
|
|
|
|
<CollectionView ItemsSource="{Binding Lb}">
|
|
|
|
<CollectionView.ItemsLayout>
|
|
|
|
<CollectionView.ItemsLayout>
|
|
|
|
<GridItemsLayout Orientation="Vertical"/>
|
|
|
|
<GridItemsLayout Orientation="Vertical" />
|
|
|
|
</CollectionView.ItemsLayout>
|
|
|
|
</CollectionView.ItemsLayout>
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<controls:LeaderboardLine PlayerName="{Binding PlayerName}" Date="{Binding Date}" Points="{Binding Points}" Victories="{Binding Victories}" />
|
|
|
|
<controls:LeaderboardLine PlayerName="{Binding PlayerName}" Date="{Binding Date}"
|
|
|
|
|
|
|
|
Points="{Binding Points}" Victories="{Binding Victories}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView>
|
|
|
|
</CollectionView>
|
|
|
|