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"
Title="Compte"
BackgroundColor="{StaticResource Yellow300Accent}">
<StackLayout>
<StackLayout Margin="20" Orientation="Vertical">
<Label
FontAttributes="Bold"
Text="Votre compte"
VerticalOptions="Start"
FontSize="30"/>
Text="VOTRE COMPTE"
VerticalOptions="StartAndExpand"
Style="{StaticResource TitreWindows}"/>
<Label
FontAttributes="Bold"
Text="Compte courant --- ???"
VerticalOptions="Center"
FontSize="30"/>
Text="Compte courant --- 'BINDING'"
HorizontalOptions="Center"
VerticalOptions="CenterAndExpand"
FontFamily="Comic Sans MS"
FontSize="20"/>
<Button
x:Name="ConnexionButton"
Text="Modifier votre solde"
VerticalOptions="End"
BackgroundColor="Brown"/>
x:Name="ConnexionButton"
Text="Modifier votre solde"
Style="{StaticResource WindowsButton}"
VerticalOptions="Fill"/>
</StackLayout>
</ContentPage>

@ -2,11 +2,27 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Echeancier"
Title="Echeancier">
<VerticalStackLayout>
Title="Echeancier"
BackgroundColor="{StaticResource Yellow300Accent}">
<VerticalStackLayout Margin="20">
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
Style="{StaticResource TitreWindows}"
Text="ECHEANCIER"
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>
</ContentPage>

@ -2,11 +2,35 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Operations"
Title="Operations">
Title="Operations"
BackgroundColor="{StaticResource Yellow300Accent}">
<VerticalStackLayout>
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
Style="{StaticResource TitreWindows}"
Text="OPERATION"
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>
</ContentPage>

@ -41,4 +41,11 @@
<Color x:Key="Blue200Accent">#72ACF1</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>

@ -219,6 +219,8 @@
</Setter>
</Style>
<Style TargetType="RadioButton">
<Setter Property="Background" Value="Transparent"/>
<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}}" />
</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>

Loading…
Cancel
Save