Finalisation de l'UCConnexion. Ajout de style

Navigator
Vincent ASTOLFI 2 years ago
parent 2935b453de
commit 063cc54f64

@ -7,11 +7,27 @@
<Style x:Key="BorderRessource" TargetType="Border"> <Style x:Key="BorderRessource" TargetType="Border">
<Setter Property="BorderBrush" Value="Black"/> <Setter Property="BorderBrush" Value="Black"/>
<Setter Property="BorderThickness" Value="2"/> <Setter Property="BorderThickness" Value="2"/>
<Setter Property="Margin" Value="15"/>
</Style> </Style>
<Style x:Key="TextBlockRessource" TargetType="TextBlock"> <Style x:Key="TextBlockRessource" TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center"/> <Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="" <Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style x:Key="TransparentButtonRessource" TargetType="Button">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style x:Key="GreenButtonRessource" TargetType="Button">
<Setter Property="Background" Value="#7FB196"/>
<Setter Property="BorderBrush" Value="Black"/>
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style> </Style>
</Application.Resources> </Application.Resources>

@ -6,10 +6,130 @@
xmlns:local="clr-namespace:IHM" xmlns:local="clr-namespace:IHM"
mc:Ignorable="d" mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"> d:DesignHeight="450" d:DesignWidth="800">
<DockPanel Background="#F2C98C"> <DockPanel Background="#F2C98C">
<Border DockPanel.Dock="Top" Style="{StaticResource BorderRessource} "> <Border DockPanel.Dock="Top" Style="{StaticResource BorderRessource}">
<Border.Background>White</Border.Background> <Border.Background>White</Border.Background>
<TextBlock Text="Login"/> <TextBlock Text="Login" Style="{StaticResource TextBlockRessource}"/>
</Border> </Border>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Border Style="{StaticResource BorderRessource}">
<StackPanel>
<Border Style="{StaticResource BorderRessource}">
<TextBlock Text="Connexion" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Border Style="{StaticResource BorderRessource}">
<TextBlock Text="Nom d'utilisateur" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Border Style="{StaticResource BorderRessource}">
<TextBlock Text="Mot de passe" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
</Grid>
<Border Style="{StaticResource BorderRessource}">
<Button Style="{StaticResource TransparentButtonRessource}">
<TextBlock Text="Mot de passe oubliée ?" Style="{StaticResource TextBlockRessource}"/>
</Button>
</Border>
<Button Style="{StaticResource GreenButtonRessource}" Height="25" Width="150">
<TextBlock Text="Valider" Style="{StaticResource TextBlockRessource}"/>
</Button>
</StackPanel>
</Border>
<Border DockPanel.Dock="Right" Style="{StaticResource BorderRessource}">
</Border>
<Border Style="{StaticResource BorderRessource}" Grid.Column="1">
<Border.Background>#DF775C</Border.Background>
<StackPanel>
<Border Style="{StaticResource BorderRessource}">
<TextBlock Text="Inscription" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Border Style="{StaticResource BorderRessource}">
<TextBlock Text="Nom d'utilisateur" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
<Border Style="{StaticResource BorderRessource}" Grid.Row="1">
<TextBlock Text="Nom" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Grid.Row="1" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
<Border Grid.Row="2" Style="{StaticResource BorderRessource}" >
<TextBlock Text="Prenom" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Grid.Row="2" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
<Border Grid.Row="3" Style="{StaticResource BorderRessource}" >
<TextBlock Text="Mail" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Grid.Row="3" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
<Border Grid.Row="4" Style="{StaticResource BorderRessource}" >
<TextBlock Text="Mot de passe" Style="{StaticResource TextBlockRessource}"/>
</Border>
<Border Grid.Column="1" Grid.Row="4" Style="{StaticResource BorderRessource}">
<TextBox></TextBox>
</Border>
</Grid>
<Button Style="{StaticResource GreenButtonRessource}" Height="25" Width="150">
<TextBlock Text="Valider" Style="{StaticResource TextBlockRessource}"/>
</Button>
</StackPanel>
</Border>
</Grid>
</DockPanel> </DockPanel>
</UserControl> </UserControl>

Loading…
Cancel
Save