Statistiques
| Branche: | Révision:

root / GES_PAC / View / EndDayView.xaml @ 957bebf1

Historique | Voir | Annoter | Télécharger (2,94 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
             xmlns:vm="clr-namespace:GES_PAC.ViewModel"
5
             xmlns:tools="clr-namespace:GES_PAC.View.Tools"
6
             x:Class="GES_PAC.View.EndDayView"
7
             x:DataType="vm:EndDayViewModel">
8

    
9
    <Grid>
10
        <StackLayout BackgroundColor="White" Spacing="50">
11

    
12
            <tools:ConnectionIndicatorView />
13
            <ScrollView>
14
                <StackLayout Spacing="50">
15

    
16
                    <Label Text="Terminer la journée ?"
17
                       FontSize="22"
18
                       FontAttributes="Bold"
19
                       HorizontalOptions="Center"/>
20

    
21
                    <Label
22
                        Text="{Binding NumberSet, StringFormat='Nombre de séries : {0}'}"
23
                        FontSize="16"
24
                        HorizontalOptions="Center" />
25

    
26
                    <Label
27
                        Text="{Binding NumberAnimal, StringFormat='Nombre d animaux étudiés : {0}'}"
28
                        FontSize="16"
29
                        HorizontalOptions="Center" />
30

    
31
                    <Label
32
                        Text="{Binding NumberMeasure, StringFormat='Nombre de mesures : {0}'}"
33
                        FontSize="16"
34
                        HorizontalOptions="Center" />
35

    
36
                    <Label
37
                        Text="{Binding NumberBehaviour, StringFormat='Nombre de comportements : {0}'}"
38
                        FontSize="16"
39
                        HorizontalOptions="Center" />
40

    
41
                </StackLayout>
42
            </ScrollView>
43
            <StackLayout
44
                Margin="10"
45
                HorizontalOptions="CenterAndExpand"
46
                Orientation="Horizontal"
47
                VerticalOptions="FillAndExpand">
48

    
49
                <Button 
50
                    Text="Confirmer"
51
                    Command="{Binding GoToCalibrationCommand}"
52
                    Style="{StaticResource btnNormal}"
53
                    VerticalOptions="End"/>
54
            </StackLayout>
55
        </StackLayout>
56
        <Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}">
57
            <Border StrokeThickness="0"
58
                Background="Black"
59
                Opacity="0.5"
60
                Padding="20"
61
                WidthRequest="160"
62
                HeightRequest="160"
63
                HorizontalOptions="Center"
64
                VerticalOptions="Center"
65
                StrokeShape="RoundRectangle 20">
66

    
67
                <VerticalStackLayout HorizontalOptions="Center" VerticalOptions="Center">
68
                    <ActivityIndicator IsRunning="True" Color="White" />
69
                    <Label Text="Chargement..."
70
                        FontSize="14"
71
                        TextColor="white"
72
                        HorizontalOptions="Center"/>
73
                </VerticalStackLayout>
74
            </Border>
75
        </Grid>
76

    
77
    </Grid>
78
</ContentPage>