indexation planification
continuous-integration/drone/push Build is failing Details

UI_Windows
Nicolas MAYE 2 years ago
commit 20601db044

@ -4,27 +4,31 @@
x:Class="IHM.Desktop.Compte" x:Class="IHM.Desktop.Compte"
Title="Compte" Title="Compte"
BackgroundColor="{StaticResource Yellow300Accent}"> BackgroundColor="{StaticResource Yellow300Accent}">
<StackLayout>
<StackLayout Margin="20" Orientation="Vertical">
<Label <Label
FontAttributes="Bold" Text="VOTRE COMPTE"
Text="Votre compte" VerticalOptions="StartAndExpand"
VerticalOptions="Start" Style="{StaticResource TitreWindows}"/>
FontSize="30"/>
<Label <Label
FontAttributes="Bold" FontAttributes="Bold"
Text="Compte courant --- ???" Text="Compte courant --- 'BINDING'"
VerticalOptions="Center" HorizontalOptions="Center"
FontSize="30"/> VerticalOptions="CenterAndExpand"
FontFamily="Comic Sans MS"
FontSize="20"/>
<Button <Button
x:Name="ConnexionButton" x:Name="ConnexionButton"
Text="Modifier votre solde" Text="Modifier votre solde"
VerticalOptions="End" Style="{StaticResource WindowsButton}"
BackgroundColor="Brown"/> VerticalOptions="Fill"/>
</StackLayout> </StackLayout>
</ContentPage> </ContentPage>

@ -2,11 +2,27 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Echeancier" x:Class="IHM.Desktop.Echeancier"
Title="Echeancier"> Title="Echeancier"
<VerticalStackLayout> BackgroundColor="{StaticResource Yellow300Accent}">
<VerticalStackLayout Margin="20">
<Label <Label
Text="Welcome to .NET MAUI!" Style="{StaticResource TitreWindows}"
VerticalOptions="Center" Text="ECHEANCIER"
HorizontalOptions="Center" /> VerticalOptions="StartAndExpand"/>
<HorizontalStackLayout>
<Button
x:Name="SaveEcheance"
Text="Enregistrer une échéance"
Style="{StaticResource WindowsButton}"/>
<Button
x:Name="DelEcheance"
Text="Supprimer une échéance"
Style="{StaticResource WindowsButton}"/>
</HorizontalStackLayout>
</VerticalStackLayout> </VerticalStackLayout>
</ContentPage> </ContentPage>

@ -2,11 +2,35 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Operations" x:Class="IHM.Desktop.Operations"
Title="Operations"> Title="Operations"
BackgroundColor="{StaticResource Yellow300Accent}">
<VerticalStackLayout> <VerticalStackLayout>
<Label <Label
Text="Welcome to .NET MAUI!" Style="{StaticResource TitreWindows}"
VerticalOptions="Center" Text="OPERATION"
HorizontalOptions="Center" /> VerticalOptions="StartAndExpand"/>
<HorizontalStackLayout>
<Button
x:Name="AddCredit"
Text="Effectuer un crédit"
Style="{StaticResource WindowsButton}"/>
<Button
x:Name="RetireOperation"
Text="Retirer une opération"
Style="{StaticResource WindowsButton}"/>
<Button
x:Name="AddDebit"
Text="effectuer un débit"
Style="{StaticResource WindowsButton}"/>
<Button
x:Name="DelOperation"
Text="Supprimer une opération"
Style="{StaticResource WindowsButton}"/>
</HorizontalStackLayout>
</VerticalStackLayout> </VerticalStackLayout>
</ContentPage> </ContentPage>

@ -41,4 +41,11 @@
<Color x:Key="Blue200Accent">#72ACF1</Color> <Color x:Key="Blue200Accent">#72ACF1</Color>
<Color x:Key="Blue300Accent">#A7CBF6</Color> <Color x:Key="Blue300Accent">#A7CBF6</Color>
<LinearGradientBrush x:Key="TestColor" StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="RosyBrown" Offset="0" />
<GradientStop Color="Brown" Offset="0.5" />
<GradientStop Color="RosyBrown" Offset="1" />
</LinearGradientBrush>
</ResourceDictionary> </ResourceDictionary>

@ -219,6 +219,8 @@
</Setter> </Setter>
</Style> </Style>
<Style TargetType="RadioButton"> <Style TargetType="RadioButton">
<Setter Property="Background" Value="Transparent"/> <Setter Property="Background" Value="Transparent"/>
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
@ -395,4 +397,21 @@
<Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> <Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
</Style> </Style>
<Style TargetType="Label" x:Key="TitreWindows">
<Setter Property="FontAttributes" Value="Bold"/>
<Setter Property="FontFamily" Value="Comic sans MS"/>
<Setter Property="FontSize" Value="30"/>
<Setter Property="HorizontalOptions" Value="Center"/>
</Style>
<Style TargetType="Button" x:Key="WindowsButton">
<Setter Property="TextColor" Value="Black"/>
<Setter Property="Margin" Value="20"/>
<Setter Property="CornerRadius" Value="20"/>
<Setter Property="BorderWidth" Value="2"/>
<Setter Property="BorderColor" Value="Black"/>
<Setter Property="FontFamily" Value="Comic sans MS"/>
<Setter Property="Background" Value="{StaticResource TestColor}"/>
</Style>
</ResourceDictionary> </ResourceDictionary>

Loading…
Cancel
Save