root / GES_PAC / View / CreatePlaceView.xaml @ 65ad7e66
Historique | Voir | Annoter | Télécharger (2,755 ko)
1 | 65ad7e66 | Lucas Bihannic | <?xml version="1.0" encoding="utf-8" ?>
|
---|---|---|---|
2 | <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
||
3 | xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
||
4 | xmlns:vm="clr-namespace:GES_PAC.ViewModel" |
||
5 | x:Class="GES_PAC.View.CreatePlaceView" |
||
6 | x:DataType="vm:CreatePlaceViewModel"> |
||
7 | |||
8 | <Grid Padding="20" RowDefinitions="Auto, *"> |
||
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 | <VerticalStackLayout Grid.Row="1" Spacing="20" |
||
21 | VerticalOptions="CenterAndExpand" |
||
22 | HorizontalOptions="Center"> |
||
23 | |||
24 | <Label Text="Informations sur l'élevage" |
||
25 | FontSize="20" |
||
26 | FontAttributes="Bold" |
||
27 | HorizontalOptions="Center" /> |
||
28 | |||
29 | <VerticalStackLayout Spacing="15" WidthRequest="300"> |
||
30 | |||
31 | <!-- Nom du lieu -->
|
||
32 | <VerticalStackLayout>
|
||
33 | <Label Text="Nom du lieu :" |
||
34 | FontSize="14" |
||
35 | TextColor="Gray" |
||
36 | FontAttributes="Bold"/> |
||
37 | |||
38 | <Entry Text="{Binding Nom}" |
||
39 | FontSize="16" |
||
40 | TextColor="Black" |
||
41 | Placeholder="Entrer le nom de l'élevage" |
||
42 | MaxLength="25"/> |
||
43 | </VerticalStackLayout>
|
||
44 | |||
45 | <!-- Client -->
|
||
46 | <VerticalStackLayout>
|
||
47 | <Label Text="Client :" |
||
48 | FontSize="14" |
||
49 | TextColor="Gray" |
||
50 | FontAttributes="Bold"/> |
||
51 | |||
52 | <Entry Text="{Binding Client}" |
||
53 | FontSize="16" |
||
54 | TextColor="Black" |
||
55 | Placeholder="Entrer le nom du client" |
||
56 | MaxLength="25"/> |
||
57 | </VerticalStackLayout>
|
||
58 | |||
59 | <!-- Espèce -->
|
||
60 | <VerticalStackLayout>
|
||
61 | <Label Text="Espèce :" |
||
62 | FontSize="14" |
||
63 | TextColor="Gray" |
||
64 | FontAttributes="Bold"/> |
||
65 | |||
66 | <Entry Text="{Binding Client}" |
||
67 | FontSize="16" |
||
68 | TextColor="Black" |
||
69 | Placeholder="Entrer l'espèce" |
||
70 | MaxLength="25"/> |
||
71 | </VerticalStackLayout>
|
||
72 | |||
73 | </VerticalStackLayout>
|
||
74 | |||
75 | </VerticalStackLayout>
|
||
76 | |||
77 | </Grid>
|
||
78 | |||
79 | </ContentPage> |