|
|
|
@ -4,86 +4,84 @@
|
|
|
|
|
xmlns:HeaderView="clr-namespace:Stim"
|
|
|
|
|
x:Class="Stim.DetailledPage"
|
|
|
|
|
Title="Accueil"
|
|
|
|
|
Background="black">
|
|
|
|
|
Background="{StaticResource Secondary}">
|
|
|
|
|
|
|
|
|
|
<ScrollView>
|
|
|
|
|
<Grid BackgroundColor="#495057">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="5*"/>
|
|
|
|
|
<ColumnDefinition Width="10*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="{StaticResource Secondary}" Grid.Column="0"/>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="{StaticResource Secondary}" Grid.Column="2"/>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="{StaticResource Secondary}" Grid.Column="0"/>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="{StaticResource Secondary}" Grid.Column="2"/>
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout BackgroundColor="Black" Grid.Column="0"/>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="Black" Grid.Column="2"/>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="Black" Grid.Column="0" Grid.Row="1"/>
|
|
|
|
|
<VerticalStackLayout BackgroundColor="Black" Grid.Column="2" Grid.Row="1"/>
|
|
|
|
|
|
|
|
|
|
<Grid HeightRequest="1000" Grid.Column="1" Grid.Row="1" Margin="0">
|
|
|
|
|
<Grid Background="{StaticResource Tertiary}" Grid.Column="1" Margin="5">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="2*"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Image Margin="0, 10, 0, 0" Source="{Binding Cover}"/>
|
|
|
|
|
<Image Grid.RowSpan="4" Margin="5, 0, 0, 0" Source="{Binding Cover}" Aspect="AspectFit"/>
|
|
|
|
|
<Label Grid.Column="1" Text="{Binding Name}" FontSize="30"/>
|
|
|
|
|
<Label Grid.Column="2" Text="{Binding Year}" HorizontalOptions="Center"/>
|
|
|
|
|
<Button Grid.Column="3" Margin="10" Text="Suivre" HorizontalOptions="Center"
|
|
|
|
|
VerticalOptions="Center" Background="transparent" CornerRadius="0" BorderWidth="3" BorderColor="{StaticResource Secondary}"/>
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Column="2" Padding="5">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="4*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<ScrollView Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="1">
|
|
|
|
|
<Label Text="{Binding Description}"/>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="2">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="2*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding Name}" TextColor="White" VerticalTextAlignment="Center" FontSize="30"/>
|
|
|
|
|
<Label Grid.Column="1" TextColor="White" VerticalTextAlignment="Center" Text="{Binding Year}"/>
|
|
|
|
|
<Button Grid.Column="3" TextColor="White" Text="suivre" HorizontalOptions="End"
|
|
|
|
|
VerticalOptions="Center" Background="transparent" CornerRadius="0" BorderWidth="3" BorderColor="Black"/>
|
|
|
|
|
<Label Grid.Row="1" Grid.ColumnSpan="4" TextColor="White" Text="{Binding Description}"/>
|
|
|
|
|
<VerticalStackLayout Grid.Row="2" VerticalOptions="End">
|
|
|
|
|
<Label Text="Tags :" TextColor="White"/>
|
|
|
|
|
<Label Text=" - Tag 1" TextColor="White"/>
|
|
|
|
|
<Label Text=" - Tag 2" TextColor="White"/>
|
|
|
|
|
<Label Text=" - Tag 3" TextColor="White"/>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
<Label Text="Tags :"/>
|
|
|
|
|
<CollectionView Grid.Row="1" ItemsSource="{Binding Tags}">
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Label Padding="10,0,0,0" Text="{Binding}"/>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
</CollectionView>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Label Grid.Row="3" Grid.ColumnSpan="4" VerticalOptions="End" TextDecorations="Underline" TextColor="White" Text="https://idhaklzhdkhazkdhaz.fr https://ioghzilghieriugo.fr"/>
|
|
|
|
|
<HorizontalStackLayout Grid.Row="3" Grid.Column="2" VerticalOptions="End" HorizontalOptions="End" x:Name="starsContainer">
|
|
|
|
|
<Label Padding="5" HorizontalTextAlignment="End" FontAttributes="Bold" FontSize="20" TextColor="White" x:Name="avgLabel"/>
|
|
|
|
|
<Label Grid.Column="1" Grid.Row="3" Text="Link:kijazhdkailzhdkhdkazd.fr"/>
|
|
|
|
|
<HorizontalStackLayout Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="3" x:Name="starsContainer" HorizontalOptions="End">
|
|
|
|
|
<Label Padding="0,5,0,0" FontSize="25" x:Name="avgLabel"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout Padding="10" Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
|
<Label Grid.Row="1" Grid.RowSpan="2" Text="Avis de la communauté :" TextColor="White" FontSize="25"/>
|
|
|
|
|
<VerticalStackLayout Grid.ColumnSpan="4" Grid.Row="4">
|
|
|
|
|
<Label Text="Avis de la communauté :" FontSize="30"/>
|
|
|
|
|
<CollectionView ItemsSource="{Binding Reviews}">
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<VerticalStackLayout Margin="20,20,0,0">
|
|
|
|
|
<HorizontalStackLayout Grid.Column="1" Padding="0,0,0,5" VerticalOptions="Start" HorizontalOptions="Start" BindingContextChanged="AddStars">
|
|
|
|
|
<Label Margin="0, 0, 5, 0" FontSize="20" TextColor="White" Text="Avis 1"/>
|
|
|
|
|
<VerticalStackLayout>
|
|
|
|
|
<HorizontalStackLayout BindingContextChanged="AddStars">
|
|
|
|
|
<Label Text="Avis" FontSize="20"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<Label TextColor="White" Text="{Binding Text}"/>
|
|
|
|
|
<Label Text="{Binding Text}"/>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
</CollectionView>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</ContentPage>
|
|
|
|
|