|
|
|
@ -4,12 +4,12 @@
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
x:Class="CanYouBuildIt.Views.Acceuil"
|
|
|
|
|
Title="Can You Build It"
|
|
|
|
|
BackgroundColor="DarkTurquoise">
|
|
|
|
|
BackgroundColor="#26B4BE">
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
<Image Source="logoapp.png"
|
|
|
|
|
MaximumHeightRequest="150"/>
|
|
|
|
|
<Image Source="logoapp.png"
|
|
|
|
|
MaximumHeightRequest="150"/>
|
|
|
|
|
|
|
|
|
|
<Grid Margin="0,50,0,0">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
@ -25,35 +25,35 @@
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Image Source="pc1.png"
|
|
|
|
|
Grid.Row="0" Grid.Column="0"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
<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="2"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
/>
|
|
|
|
|
<Image Source="pc3.png"
|
|
|
|
|
Grid.Row="0" Grid.Column="4"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
<Image Source="pc3.png"
|
|
|
|
|
Grid.Row="0" Grid.Column="4"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
/>
|
|
|
|
|
<Image Source="pc2.png"
|
|
|
|
|
Grid.Row="1" Grid.Column="1"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
<Image Source="pc2.png"
|
|
|
|
|
Grid.Row="1" Grid.Column="1"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
/>
|
|
|
|
|
<Image Source="pc4.png"
|
|
|
|
|
Grid.Row="1" Grid.Column="3"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
<Image Source="pc4.png"
|
|
|
|
|
Grid.Row="1" Grid.Column="3"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
/>
|
|
|
|
|
<Image Source="pc2.png"
|
|
|
|
|
Grid.Row="1" Grid.Column="5"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
<Image Source="pc2.png"
|
|
|
|
|
Grid.Row="1" Grid.Column="5"
|
|
|
|
|
HeightRequest="200"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid Margin="0,250">
|
|
|
|
|
<Grid Margin="0,250">
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition />
|
|
|
|
@ -72,20 +72,20 @@
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Button BackgroundColor="DimGrey"
|
|
|
|
|
Clicked="NavLogin"
|
|
|
|
|
Grid.Row="0" Grid.Column="2"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Text="Configurateur"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Config"/>
|
|
|
|
|
Clicked="NavLogin"
|
|
|
|
|
Grid.Row="0" Grid.Column="2"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Text="Configurateur"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Config"/>
|
|
|
|
|
|
|
|
|
|
<Button BackgroundColor="DimGrey"
|
|
|
|
|
Clicked="NavFav"
|
|
|
|
|
Grid.Row="0" Grid.Column="5"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Fav"
|
|
|
|
|
Text="Favoris"/>
|
|
|
|
|
Clicked="NavFav"
|
|
|
|
|
Grid.Row="0" Grid.Column="5"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Fav"
|
|
|
|
|
Text="Favoris"/>
|
|
|
|
|
|
|
|
|
|
<ListView Grid.Row="1" Grid.Column="4"
|
|
|
|
|
ItemsSource="{Binding listUtil}"
|
|
|
|
@ -101,22 +101,32 @@
|
|
|
|
|
<Label Text="{Binding listUtil[0].username}"/>
|
|
|
|
|
|
|
|
|
|
<Button BackgroundColor="DimGrey"
|
|
|
|
|
Clicked="ToQuit"
|
|
|
|
|
Grid.Row="1" Grid.Column="1"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Text="Quitter"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Quit"/>
|
|
|
|
|
Clicked="ToQuit"
|
|
|
|
|
Grid.Row="1" Grid.Column="1"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Text="Quitter"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Quit"/>
|
|
|
|
|
|
|
|
|
|
<Button BackgroundColor="DimGrey"
|
|
|
|
|
Clicked="NavCreds"
|
|
|
|
|
Grid.Row="1" Grid.Column="6"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Text="Credits"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Creds"/>
|
|
|
|
|
Clicked="NavCreds"
|
|
|
|
|
Grid.Row="1" Grid.Column="6"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Text="Credits"
|
|
|
|
|
TextColor="Snow"
|
|
|
|
|
x:Name="Creds"/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Text="Vous devez vous connecter pour acceder au favoris."
|
|
|
|
|
IsVisible="false"
|
|
|
|
|
x:Name="aConnecter"
|
|
|
|
|
BackgroundColor="Green"
|
|
|
|
|
FontAttributes="Bold"
|
|
|
|
|
Padding="30"
|
|
|
|
|
Margin="0,30,0,0"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
WidthRequest="500"/>
|
|
|
|
|
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</ContentPage>
|