Ajout d'éléments dans la vue dashboard

UI_Windows
Nicolas MAYE 2 years ago
parent a8d240dc6e
commit 869ead0667

@ -3,12 +3,25 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Dashboard"
Title="Dashboard">
<VerticalStackLayout>
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
</VerticalStackLayout>
<StackLayout BackgroundColor="{StaticResource Yellow300Accent}" >
<StackLayout BackgroundColor="{StaticResource Gray900}" VerticalOptions="Start">
<Button Text="Mon compte" BackgroundColor="{StaticResource Yellow100Accent}" Padding="10" Margin="10" HorizontalOptions="End"></Button>
</StackLayout>
<StackLayout BackgroundColor="{StaticResource Gray900}" HorizontalOptions="StartAndExpand" VerticalOptions="FillAndExpand">
<Button Text="ACCUEIL" BackgroundColor="{StaticResource Primary}" TextColor="{StaticResource Yellow300Accent}" Padding="20" Margin="20"></Button>
<Button Text="COMPTE" BackgroundColor="{StaticResource Yellow100Accent}" Padding="20" Margin="20"></Button>
<Button Text="OPERATION" BackgroundColor="{StaticResource Yellow100Accent}" Padding="20" Margin="20"></Button>
<Button Text="ECHEANCIER" BackgroundColor="{StaticResource Yellow100Accent}" Padding="20" Margin="20"></Button>
<Button Text="PLANIFICATION" BackgroundColor="{StaticResource Yellow100Accent}" Padding="20" Margin="20"></Button>
</StackLayout>
</StackLayout>
</ContentPage>

@ -59,6 +59,6 @@ public partial class MainPage : ContentPage
private void Button_Clicked(object sender, EventArgs e)
{
Navigation.PushAsync(new Planification());
Navigation.PushAsync(new Dashboard());
}
}
Loading…
Cancel
Save