inraetemplate / INRAETemplate / View / VivantEditionView.xaml @ 7b67ff55
Historique | Voir | Annoter | Télécharger (3,788 ko)
1 | fa2aa88f | ajournaux | <?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 | x:Class="INRAETemplate.View.VivantEditionView" |
||
5 | 7b67ff55 | ajournaux | xmlns:tools="clr-namespace:INRAETemplate.View.Tools" |
6 | fa2aa88f | ajournaux | Title="Edition Vivant"> |
7 | <Grid>
|
||
8 | <StackLayout BackgroundColor="{StaticResource InraePrimary}" Spacing="0"> |
||
9 | 7b67ff55 | ajournaux | <tools:ConnectionIndicatorView /> |
10 | fa2aa88f | ajournaux | <ScrollView>
|
11 | <StackLayout Spacing="0"> |
||
12 | <StackLayout
|
||
13 | Margin="10" |
||
14 | HorizontalOptions="FillAndExpand" |
||
15 | VerticalOptions="FillAndExpand"> |
||
16 | <Frame HorizontalOptions="FillAndExpand" |
||
17 | VerticalOptions="FillAndExpand" CornerRadius="5"> |
||
18 | |||
19 | <StackLayout>
|
||
20 | <Frame BorderColor="{StaticResource InraePrimary}" Margin="0,0,0,20"> |
||
21 | <Label
|
||
22 | Text="Edition Vivant" |
||
23 | VerticalOptions="Center" |
||
24 | HorizontalOptions="Center" |
||
25 | Style="{StaticResource textTitre}" |
||
26 | />
|
||
27 | </Frame>
|
||
28 | <Grid ColumnDefinitions="20*,80*" RowDefinitions="auto,auto"> |
||
29 | <Label Grid.Column="0" |
||
30 | Grid.Row="0" |
||
31 | Text="Id : " |
||
32 | Style="{StaticResource textLabel}"/> |
||
33 | <Entry
|
||
34 | Grid.Column="1" |
||
35 | Grid.Row="0" |
||
36 | Text="{Binding VivantId}" |
||
37 | VerticalOptions="Center" |
||
38 | HorizontalOptions="Center" |
||
39 | Keyboard="Numeric"/> |
||
40 | <Label Grid.Column="0" |
||
41 | Grid.Row="1" |
||
42 | Text="Nom : " |
||
43 | Style="{StaticResource textLabel}"/> |
||
44 | <Entry
|
||
45 | Grid.Column="1" |
||
46 | Grid.Row="1" |
||
47 | Text="{Binding VivantNom}" |
||
48 | VerticalOptions="Center" |
||
49 | HorizontalOptions="Center"/> |
||
50 | </Grid>
|
||
51 | </StackLayout>
|
||
52 | </Frame>
|
||
53 | </StackLayout>
|
||
54 | </StackLayout>
|
||
55 | </ScrollView>
|
||
56 | <StackLayout
|
||
57 | Margin="10" |
||
58 | HorizontalOptions="CenterAndExpand" |
||
59 | Orientation="Horizontal" |
||
60 | VerticalOptions="FillAndExpand"> |
||
61 | |||
62 | <Button
|
||
63 | Text="Enregistrer" |
||
64 | Command="{Binding EnregistrerCommand}" |
||
65 | Style="{StaticResource btnNormal}" |
||
66 | VerticalOptions="End"/> |
||
67 | </StackLayout>
|
||
68 | </StackLayout>
|
||
69 | <Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
||
70 | <BoxView BackgroundColor="#FFFFFF" Opacity="0.3" /> |
||
71 | <ActivityIndicator
|
||
72 | HorizontalOptions="Center" |
||
73 | IsRunning="True" |
||
74 | VerticalOptions="Center" /> |
||
75 | </Grid>
|
||
76 | </Grid>
|
||
77 | </ContentPage> |