root / GES_PAC / View / MainView.xaml @ 957b1f34
Historique | Voir | Annoter | Télécharger (2,425 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.MainView" |
7 |
x:DataType="vm:MainViewModel"> |
8 |
|
9 |
<Grid>
|
10 |
<StackLayout BackgroundColor="White" Spacing="50"> |
11 |
|
12 |
<tools:ConnectionIndicatorView /> |
13 |
<ScrollView>
|
14 |
<StackLayout Spacing="100"> |
15 |
|
16 |
<Label Text="Bonjour" |
17 |
FontSize="22" |
18 |
FontAttributes="Bold" |
19 |
HorizontalOptions="Center"/> |
20 |
|
21 |
<Label Text="Pas de journée disponible" |
22 |
FontSize="18" |
23 |
HorizontalOptions="Center"/> |
24 |
|
25 |
<Label Text="Créez une journée pour commencer" |
26 |
FontSize="16" |
27 |
HorizontalOptions="Center" |
28 |
Padding="10"/> |
29 |
|
30 |
</StackLayout>
|
31 |
</ScrollView>
|
32 |
<StackLayout
|
33 |
Margin="10" |
34 |
HorizontalOptions="CenterAndExpand" |
35 |
Orientation="Horizontal" |
36 |
VerticalOptions="FillAndExpand"> |
37 |
|
38 |
<Button
|
39 |
Text="Créer une journée" |
40 |
Command="{Binding GoToCreateDayCommand}" |
41 |
Style="{StaticResource btnNormal}" |
42 |
VerticalOptions="End"/> |
43 |
</StackLayout>
|
44 |
</StackLayout>
|
45 |
<Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
46 |
<Border StrokeThickness="0" |
47 |
Background="Black" |
48 |
Opacity="0.5" |
49 |
Padding="20" |
50 |
WidthRequest="160" |
51 |
HeightRequest="160" |
52 |
HorizontalOptions="Center" |
53 |
VerticalOptions="Center" |
54 |
StrokeShape="RoundRectangle 20"> |
55 |
|
56 |
<VerticalStackLayout HorizontalOptions="Center" VerticalOptions="Center"> |
57 |
<ActivityIndicator IsRunning="True" Color="White" /> |
58 |
<Label Text="Chargement..." |
59 |
FontSize="14" |
60 |
TextColor="white" |
61 |
HorizontalOptions="Center"/> |
62 |
</VerticalStackLayout>
|
63 |
</Border>
|
64 |
</Grid>
|
65 |
|
66 |
</Grid>
|
67 |
</ContentPage>
|