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.
118 lines
3.9 KiB
118 lines
3.9 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:model="clr-namespace:CanYouBuildIt.Model"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="CanYouBuildIt.Views.Acceuil"
|
|
Title="Can You Build It"
|
|
BackgroundColor="DarkTurquoise">
|
|
|
|
<VerticalStackLayout>
|
|
|
|
<Image Source="logoapp.png"
|
|
MaximumHeightRequest="150"/>
|
|
|
|
<Grid Margin="0,50,0,0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition Height="1"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Image Source="pc1.png"
|
|
Grid.Row="0" Grid.Column="0"
|
|
HeightRequest="200"
|
|
/>
|
|
<Image Source="pc3.png"
|
|
Grid.Row="0" Grid.Column="2"
|
|
HeightRequest="200"
|
|
/>
|
|
<Image Source="pc3.png"
|
|
Grid.Row="0" Grid.Column="4"
|
|
HeightRequest="200"
|
|
/>
|
|
<Image
|
|
Grid.Row="1" Grid.Column="1"
|
|
Source="pc2.png"
|
|
HeightRequest="200"
|
|
/>
|
|
<Image Grid.Row="1" Grid.Column="3"
|
|
Source="pc4.png"
|
|
HeightRequest="200"
|
|
/>
|
|
<Image Grid.Row="1" Grid.Column="5"
|
|
Source="pc2.png"
|
|
HeightRequest="200"
|
|
/>
|
|
|
|
</Grid>
|
|
|
|
|
|
<Grid Margin="0,250">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button Grid.Row="0" Grid.Column="2"
|
|
x:Name="Config"
|
|
Text="Configurateur"
|
|
HorizontalOptions="Center"
|
|
Clicked="AddUtilisater"
|
|
BackgroundColor="DimGrey"
|
|
TextColor="Snow"/>
|
|
|
|
<Button Grid.Row="0" Grid.Column="5"
|
|
x:Name="Fav"
|
|
Text="Favoris"
|
|
HorizontalOptions="Center"
|
|
BackgroundColor="DimGrey"
|
|
TextColor="Snow"
|
|
Clicked="NavFav"/>
|
|
|
|
<ListView Grid.Row="1" Grid.Column="4"
|
|
x:Name="utilView"
|
|
ItemsSource="{Binding listUtil}">
|
|
<ListView.ItemTemplate>
|
|
<DataTemplate>
|
|
<Label Text="{Binding name}"/>
|
|
</DataTemplate>
|
|
</ListView.ItemTemplate>
|
|
</ListView>
|
|
|
|
<Button Grid.Row="1" Grid.Column="1"
|
|
x:Name="Quit"
|
|
Text="Quitter"
|
|
HorizontalOptions="Center"
|
|
Clicked="ToQuit"
|
|
BackgroundColor="DimGrey"
|
|
TextColor="Snow"/>
|
|
|
|
<Button Grid.Row="1" Grid.Column="6"
|
|
x:Name="Creds"
|
|
Text="Credits"
|
|
HorizontalOptions="Center"
|
|
BackgroundColor="DimGrey"
|
|
TextColor="Snow"
|
|
Clicked="NavCreds"/>
|
|
|
|
</Grid>
|
|
|
|
</VerticalStackLayout>
|
|
</ContentPage> |