Statistiques
| Branche: | Révision:

sicpaconnexions / SICPA_Connexions / View / VivantEditionView.xaml @ 87e7d061

Historique | Voir | Annoter | Télécharger (3,68 ko)

1
<?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="SICPA_Connexions.View.VivantEditionView"
5
             Title="Edition Vivant">
6
    <Grid>
7
        <StackLayout BackgroundColor="{StaticResource InraePrimary}" Spacing="0">
8
            <ScrollView>
9
                <StackLayout Spacing="0">
10
                    <StackLayout
11
                        Margin="10"
12
                        HorizontalOptions="FillAndExpand"
13
                        VerticalOptions="FillAndExpand">
14
                        <Frame HorizontalOptions="FillAndExpand"
15
                               VerticalOptions="FillAndExpand" CornerRadius="5">
16

    
17
                            <StackLayout>
18
                                <Frame BorderColor="{StaticResource InraePrimary}" Margin="0,0,0,20">
19
                                    <Label 
20
                                        Text="Edition Vivant"
21
                                        VerticalOptions="Center" 
22
                                        HorizontalOptions="Center"
23
                                        Style="{StaticResource textTitre}"
24
                                        />
25
                                </Frame>
26
                                <Grid ColumnDefinitions="20*,80*" RowDefinitions="auto,auto">
27
                                    <Label Grid.Column="0"
28
                                           Grid.Row="0"
29
                                           Text="Id : "
30
                                           Style="{StaticResource textLabel}"/>
31
                                    <Entry
32
                                        Grid.Column="1"
33
                                        Grid.Row="0"
34
                                        Text="{Binding VivantId}"
35
                                        VerticalOptions="Center" 
36
                                        HorizontalOptions="Center"
37
                                        Keyboard="Numeric"/>
38
                                    <Label Grid.Column="0"
39
                                           Grid.Row="1"
40
                                           Text="Nom : "
41
                                           Style="{StaticResource textLabel}"/>
42
                                    <Entry 
43
                                        Grid.Column="1"
44
                                        Grid.Row="1"
45
                                        Text="{Binding VivantNom}"
46
                                        VerticalOptions="Center" 
47
                                        HorizontalOptions="Center"/>
48
                                </Grid>
49
                            </StackLayout>
50
                        </Frame>
51
                    </StackLayout>
52
                </StackLayout>
53
            </ScrollView>
54
            <StackLayout
55
                    Margin="10"
56
                    HorizontalOptions="CenterAndExpand"
57
                    Orientation="Horizontal"
58
                    VerticalOptions="FillAndExpand">
59

    
60
                <Button 
61
                    Text="Enregistrer"
62
                    Command="{Binding EnregistrerCommand}"
63
                    Style="{StaticResource btnNormal}"
64
                    VerticalOptions="End"/>
65
            </StackLayout>
66
        </StackLayout>
67
        <Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}">
68
            <BoxView BackgroundColor="#FFFFFF" Opacity="0.3" />
69
            <ActivityIndicator
70
                    HorizontalOptions="Center"
71
                    IsRunning="True"
72
                    VerticalOptions="Center" />
73
        </Grid>
74
    </Grid>
75
</ContentPage>