|
|
@ -1,7 +1,9 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
<ContentView 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"
|
|
|
|
|
|
|
|
xmlns:model="clr-namespace:ParionsCuite.Modeles"
|
|
|
|
x:Class="ParionsCuite.Views.Participations.Nourriture">
|
|
|
|
x:Class="ParionsCuite.Views.Participations.Nourriture">
|
|
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout>
|
|
|
|
<VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<!--Grid menu-->
|
|
|
|
<!--Grid menu-->
|
|
|
@ -24,8 +26,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!--Input des nourritures et quantité-->
|
|
|
|
<!--Input des nourritures et quantité-->
|
|
|
|
<StackLayout Grid.Column="0" >
|
|
|
|
<StackLayout Grid.Column="0" >
|
|
|
|
<Entry Text="Entrer nourriture" HorizontalOptions="End" FontSize="Large" Margin="0,20,0,0" />
|
|
|
|
<Entry Placeholder="Entrer nourriture" HorizontalOptions="End" FontSize="Large" Margin="0,20,0,0" />
|
|
|
|
<Entry Text="Entrer quantité" HorizontalOptions="End" FontSize="Large" Margin="0,20,0,0" />
|
|
|
|
<Entry Placeholder="Entrer quantité" HorizontalOptions="End" FontSize="Large" Margin="0,20,0,0" />
|
|
|
|
<Button Text="Ajouter" HorizontalOptions="Center" Margin="0,20,0,0"/>
|
|
|
|
<Button Text="Ajouter" HorizontalOptions="Center" Margin="0,20,0,0"/>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
|
@ -47,10 +49,38 @@
|
|
|
|
<Label Grid.Column="2" Grid.Row="0" BackgroundColor="LightGrey" FontSize="Large"/>
|
|
|
|
<Label Grid.Column="2" Grid.Row="0" BackgroundColor="LightGrey" FontSize="Large"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!--Content Grille quantité+nourritre-->
|
|
|
|
<!--Content Grille quantité+nourritre-->
|
|
|
|
<Label Text="Pizza" Grid.Row="1" FontSize="Large" HorizontalOptions="Center"/>
|
|
|
|
|
|
|
|
<Label Text="2" Grid.Column="1" Grid.Row="1" FontSize="Large" HorizontalOptions="Center"/>
|
|
|
|
<VerticalStackLayout Grid.Column="1" Grid.Row="0" BindingContext="model:Participation">
|
|
|
|
|
|
|
|
<ListView ItemsSource="{Binding Participation}">
|
|
|
|
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
|
|
|
<Label Text="{Binding Key}"/>
|
|
|
|
|
|
|
|
<Label Text="{Binding Value}"/>
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
|
|
|
|
</ListView>
|
|
|
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<ScrollView>
|
|
|
|
|
|
|
|
<HorizontalStackLayout BindableLayout.ItemsSource="{model:Participation}">
|
|
|
|
|
|
|
|
<BindableLayout.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate x:DataType="model:Participation.">
|
|
|
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
|
|
|
<Label Text="{Binding Map_Boisson}" FontSize="Large" HorizontalOptions="Center"/>
|
|
|
|
|
|
|
|
<Label Text="2" FontSize="Large" HorizontalOptions="Center"/>
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</BindableLayout.ItemTemplate>
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
|
|
|
</ScrollView>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button Text="-" Grid.Row="1" Grid.Column="2"/>
|
|
|
|
<Button Text="-" Grid.Row="1" Grid.Column="2"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</VerticalStackLayout>
|
|
|
|
</VerticalStackLayout>
|
|
|
|