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.
77 lines
3.1 KiB
77 lines
3.1 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="ParionsCuite.MainPage"
|
|
xmlns:views="clr-namespace:ParionsCuite.Views"
|
|
xmlns:participation="clr-namespace:ParionsCuite.Views.Participations"
|
|
xmlns:invite="clr-namespace:ParionsCuite.Views.Invite"
|
|
xmlns:pari="clr-namespace:ParionsCuite.Views.Pari"
|
|
xmlns:info="clr-namespace:ParionsCuite.Views.Information"
|
|
xmlns:ajout="clr-namespace:ParionsCuite.Views.Ajout_Paris"
|
|
xmlns:boisson="clr-namespace:ParionsCuite.Views.Participations.Boisson"
|
|
xmlns:nourriture="clr-namespace:ParionsCuite.Views.Participations"
|
|
xmlns:autre="clr-namespace:ParionsCuite.Views.Participations.Autre"
|
|
>
|
|
|
|
<VerticalStackLayout>
|
|
|
|
<ScrollView>
|
|
<Grid >
|
|
<!-- Séparation de la page -->
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="10*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Grid.Column="0" Height="2*" />
|
|
<RowDefinition Grid.Column="0" Height="3*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Première colonne -->
|
|
<ScrollView >
|
|
<StackLayout x:Name="ButtonStackLayout" BindingContext="{Binding mgr.Evenement}">
|
|
<Button Text="+" BackgroundColor="Green" Grid.Column="0" Grid.Row="1" HeightRequest="5 0" Clicked="Button_Clicked"/>
|
|
</StackLayout>
|
|
</ScrollView>
|
|
|
|
|
|
|
|
<!-- Deuxième colonne -->
|
|
<Grid Grid.Column="1">
|
|
<!-- Création de 2 lignes -->
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="100"/>
|
|
<RowDefinition Height="1500"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- 1er ligne -->
|
|
<!--Grid menu-->
|
|
<Grid Grid.Row="0" Margin="20" ColumnDefinitions="*,*,*,*">
|
|
<Button Text="Invité" Clicked="InviteView" />
|
|
<Button Text="Participant" Grid.Column="1" Clicked="ParticipantView"/>
|
|
<Button Text="Pari" Grid.Column="2" BackgroundColor="Grey" Clicked="PariView"/>
|
|
<Button Text="Information" Grid.Column="3" Clicked="InfoView" />
|
|
</Grid>
|
|
|
|
|
|
<!-- 2e ligne -->
|
|
<Grid Grid.Row="1" >
|
|
<ContentView x:Name="changeButton">
|
|
<views:Accueil/>
|
|
</ContentView>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</ScrollView>
|
|
|
|
</VerticalStackLayout>
|
|
|
|
</ContentPage>
|