commit
cf490830d0
@ -0,0 +1,123 @@
|
|||||||
|
<?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"
|
||||||
|
xmlns:local="clr-namespace:MangaMap"
|
||||||
|
x:Class="MangaMap.Views.homePageDisconnect"
|
||||||
|
xmlns:modeles="clr-namespace:MangaMap.Model"
|
||||||
|
xmlns:views="clr-namespace:MangaMap.Views.Composants">
|
||||||
|
|
||||||
|
<ContentPage.BindingContext>
|
||||||
|
<modeles:Manager/>
|
||||||
|
</ContentPage.BindingContext>
|
||||||
|
|
||||||
|
<Grid RowDefinitions="40, *">
|
||||||
|
<local:NewContent1 HeightRequest="40" VerticalOptions="Start" Padding="10, 0"/>
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
BackgroundColor="#1E1E1E"
|
||||||
|
Grid.Row="1">
|
||||||
|
<VerticalStackLayout
|
||||||
|
Spacing="70"
|
||||||
|
VerticalOptions="Center">
|
||||||
|
|
||||||
|
<SearchBar Placeholder="Recherche"
|
||||||
|
CancelButtonColor="Orange"
|
||||||
|
TextColor="Black"
|
||||||
|
BackgroundColor="White"
|
||||||
|
HorizontalTextAlignment="Center"
|
||||||
|
Margin="30"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<ListView x:Name="a2" ItemsSource="{Binding Oeuvres}">
|
||||||
|
<ListView.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<ViewCell>
|
||||||
|
<ImageButton
|
||||||
|
Style="{StaticResource ImageAnime}"
|
||||||
|
BackgroundColor="Red"
|
||||||
|
Source="{Binding Affiche}"
|
||||||
|
/>
|
||||||
|
</ViewCell>
|
||||||
|
</DataTemplate>
|
||||||
|
</ListView.ItemTemplate>
|
||||||
|
</ListView>
|
||||||
|
|
||||||
|
<HorizontalStackLayout
|
||||||
|
Spacing="100"
|
||||||
|
HorizontalOptions="Center">
|
||||||
|
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
Style="{StaticResource ImageAnime}"
|
||||||
|
BackgroundColor="Orange"
|
||||||
|
Source="test.jpg"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
|
||||||
|
<HorizontalStackLayout
|
||||||
|
Spacing="100"
|
||||||
|
HorizontalOptions="Center">
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
|
||||||
|
<HorizontalStackLayout
|
||||||
|
Spacing="100"
|
||||||
|
HorizontalOptions="Center">
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
|
||||||
|
<HorizontalStackLayout
|
||||||
|
Spacing="100"
|
||||||
|
HorizontalOptions="Center">
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
<views:StyleBouton/>
|
||||||
|
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
|
||||||
|
<ListView x:Name="a1" ItemsSource="{Binding Utilisateurs}">
|
||||||
|
|
||||||
|
<ListView.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<ViewCell>
|
||||||
|
<Label Text="{Binding Pseudo}" TextColor="White" FontSize="Header"/>
|
||||||
|
</ViewCell>
|
||||||
|
</DataTemplate>
|
||||||
|
</ListView.ItemTemplate>
|
||||||
|
</ListView>
|
||||||
|
|
||||||
|
</VerticalStackLayout>
|
||||||
|
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace MangaMap.Views;
|
||||||
|
|
||||||
|
public partial class homePageDisconnect : ContentPage
|
||||||
|
{
|
||||||
|
public homePageDisconnect()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue