Révision 18f910c6 GES_PAC/View/CreatePlaceView.xaml

Voir les différences:

GES_PAC/View/CreatePlaceView.xaml
7 7

  
8 8
    <Grid Padding="20" RowDefinitions="Auto, *">
9 9

  
10
        <Button Text="Retour"
11
                BackgroundColor="DarkRed"
12
                TextColor="White"
13
                CornerRadius="10"
14
                Padding="10"
15
                FontSize="14"
16
                HorizontalOptions="Start"
17
                VerticalOptions="Start"
18
                Command="{Binding ReturnCommand}"/>
19

  
20 10
        <VerticalStackLayout Grid.Row="1" Spacing="20"
21 11
                             VerticalOptions="CenterAndExpand"
22 12
                             HorizontalOptions="Center">
......
30 20

  
31 21
                <!-- Nom du lieu -->
32 22
                <VerticalStackLayout>
33
                    <Label Text="Nom du lieu :"
23
                    <Label Text="Nom de l'élevage :"
34 24
                           FontSize="14"
35 25
                           TextColor="Gray"
36 26
                           FontAttributes="Bold"/>
......
40 30
                           TextColor="Black"
41 31
                           Placeholder="Entrer le nom de l'élevage"
42 32
                           MaxLength="25"/>
33
                    
34
                    <Label Text="Min. 3 caractères"
35
                        FontSize="12"
36
                        TextColor="Red"
37
                        IsVisible="{Binding NomError}"/>
43 38
                </VerticalStackLayout>
44 39

  
45 40
                <!-- Client -->
46 41
                <VerticalStackLayout>
47 42
                    <Label Text="Client :"
48
                           FontSize="14"
49
                           TextColor="Gray"
50
                           FontAttributes="Bold"/>
43
                        FontSize="14"
44
                        TextColor="Gray"
45
                        FontAttributes="Bold"/>
51 46

  
52 47
                    <Entry Text="{Binding Client}"
53
                           FontSize="16"
54
                           TextColor="Black"
55
                           Placeholder="Entrer le nom du client"
56
                           MaxLength="25"/>
48
                        FontSize="16"
49
                        TextColor="Black"
50
                        Placeholder="Entrer le nom du client"
51
                        MaxLength="25"/>
52
                    
53
                    <Label Text="Min. 3 caractères"
54
                        FontSize="12"
55
                        TextColor="Red"
56
                        IsVisible="{Binding ClientError}"/>
57 57
                </VerticalStackLayout>
58 58

  
59 59
                <!-- Espèce -->
......
63 63
                       TextColor="Gray"
64 64
                       FontAttributes="Bold"/>
65 65

  
66
                    <Entry Text="{Binding Client}"
66
                    <Entry Text="{Binding Espece}"
67 67
                       FontSize="16"
68 68
                       TextColor="Black"
69 69
                       Placeholder="Entrer l'espèce"
70 70
                       MaxLength="25"/>
71
                    <Label Text="Min. 3 caractères"
72
                        FontSize="12"
73
                        TextColor="Red"
74
                        IsVisible="{Binding EspeceError}"/>
71 75
                </VerticalStackLayout>
72 76

  
77
                <Button Text="Enregistrer"
78
                    BackgroundColor="Green"
79
                    TextColor="White"
80
                    CornerRadius="10"
81
                    Padding="15"
82
                    FontSize="16"
83
                    HorizontalOptions="Center"
84
                    WidthRequest="180"
85
                    IsEnabled="{Binding IsFormValid}"
86
                    Command="{Binding CreatePlaceCommand}"/>
87

  
73 88
            </VerticalStackLayout>
74 89

  
75 90
        </VerticalStackLayout>

Formats disponibles : Unified diff