|
|
|
@ -1,11 +1,63 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
x:Class="ParionsCuite.Views.Pari.Parier">
|
|
|
|
|
<VerticalStackLayout>
|
|
|
|
|
<Label
|
|
|
|
|
Text="Welcome to .NET MAUI!"
|
|
|
|
|
VerticalOptions="Center"
|
|
|
|
|
HorizontalOptions="Center" />
|
|
|
|
|
<!--Grid menu-->
|
|
|
|
|
<Grid Margin="20">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Button Text="Invité" />
|
|
|
|
|
<Button Text="Participant" Grid.Column="1"/>
|
|
|
|
|
<Button Text="Pari" Grid.Column="2" BackgroundColor="Grey"/>
|
|
|
|
|
<Button Text="Information" Grid.Column="3" />
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--Grid Pari-->
|
|
|
|
|
<Grid Margin="20">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Button Text="Pari 1" BackgroundColor="Grey" />
|
|
|
|
|
<Button Text="Pari 2" Grid.Column="1"/>
|
|
|
|
|
<Button Text="Pari 3" Grid.Column="2" />
|
|
|
|
|
<Button Text="Ajouter Pari" Grid.Column="3" Margin="50,0,0,0"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--P1 vs P2-->
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
<ColumnDefinition Width="300"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Button Text="Parieur 1" Margin="40,0,0,0"/>
|
|
|
|
|
<Button Text="+" Grid.Column="1"/>
|
|
|
|
|
<Label Text="Contre" Grid.Column="2" HorizontalOptions="Center" FontAttributes="Bold" FontSize="Title"/>
|
|
|
|
|
<Button Text="Parieur 2" Grid.Column="3" />
|
|
|
|
|
<Button Text="+" Grid.Column="4"/>
|
|
|
|
|
<Button Text="Supprimer Pari" Grid.Column="5" Margin="50,0,0,0"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--Info Pari-->
|
|
|
|
|
<TableView RowHeight="70" Margin="30,0,0,0" HorizontalOptions="Start" WidthRequest="1000">
|
|
|
|
|
<TableRoot>
|
|
|
|
|
<TableSection>
|
|
|
|
|
<EntryCell Label="But du Pari"/>
|
|
|
|
|
<EntryCell Label="Enjeux du Pari"/>
|
|
|
|
|
<SwitchCell Text="Pari terminé" On="False" />
|
|
|
|
|
<SwitchCell Text="Joueur(s) 1 gagnant" On="True" />
|
|
|
|
|
<SwitchCell Text="Joueur(s) 2 gagnant" On="True" />
|
|
|
|
|
</TableSection>
|
|
|
|
|
</TableRoot>
|
|
|
|
|
</TableView>
|
|
|
|
|
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</ContentView>
|
|
|
|
|