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