ProjetThe/ProjetTheAlone/View/DashBoard.xaml

94 lines
4.4 KiB
Plaintext
Raw Normal View History

2019-01-18 13:08:55 +01:00
<Window x:Class="ProjetTheAlone.View.DashBoard"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ProjetTheAlone.View"
xmlns:control="clr-namespace:ProjetTheAlone.UserControlDIY"
xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
xmlns:classes="clr-namespace:ProjetTheAlone.Classes"
mc:Ignorable="d"
Title="DashBoard" Height="495.378" Width="1014.286" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{DynamicResource MaterialDesignFont}"
Name="wnd" Closing="wnd_Closing">
2019-01-18 13:08:55 +01:00
<Window.Resources>
<local:DebugDummyConverter x:Key="DebugDummyConverter" />
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="5*" />
<RowDefinition Height="5*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<!--<Grid.RowDefinitions>
2019-01-18 19:04:54 +01:00
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock ></TextBlock>
2019-01-18 19:04:54 +01:00
<DockPanel>
<ListView x:Name="RepasMatin">
<ListView.ItemContainerStyle>
<Style TargetType="{x:Type ListViewItem}">
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
<Setter Property="Height" Value="65"/>
</Style>
</ListView.ItemContainerStyle>
<ListView.ItemTemplate>
2019-01-18 13:08:55 +01:00
<DataTemplate DataType="classes:C_T_plat">
<control:Plat ></control:Plat>
</DataTemplate>
2019-01-18 19:04:54 +01:00
</ListView.ItemTemplate>
</ListView>
</DockPanel>-->
<control:Repa x:Name="RepasMatin"></control:Repa>
2019-01-19 22:29:09 +01:00
<control:Repa Grid.Column="1" x:Name="RepasMidi"></control:Repa>
<control:Repa Grid.Column="2" x:Name="RepasSoir"></control:Repa>
2019-01-18 13:08:55 +01:00
<materialDesign:PackIcon Kind="Build" Grid.Column="2" HorizontalAlignment="Right" Cursor="Hand"/>
2019-01-18 13:08:55 +01:00
</Grid>
<Grid Grid.Row="1" >
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<control:EventPasse x:Name="EventPasse1" Classement="{Binding Classement}" ></control:EventPasse>
2019-01-18 13:08:55 +01:00
<control:EventPasse x:Name="EventPasse2" Classement="{Binding Classement}" Grid.Column="1"></control:EventPasse>
<control:EventFutur Grid.Column="2"></control:EventFutur>
<control:EventFutur Grid.Column="3"></control:EventFutur>
</Grid>
2019-01-18 13:08:55 +01:00
<Grid Grid.Row="2" Visibility="Visible">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="356*"/>
<ColumnDefinition Width="147*"/>
</Grid.ColumnDefinitions>
<Border Grid.ColumnSpan="2">
2019-01-18 13:08:55 +01:00
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="OrangeRed" Offset="0" />
<GradientStop Color="DarkOrange" Offset="1" />
</LinearGradientBrush>
</Border.Background>
</Border>
<TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}" VerticalAlignment="Center" Height="Auto" Text="Absentéisme ou alerte" Grid.ColumnSpan="2" Margin="0,9" />
2019-01-18 13:08:55 +01:00
</Grid>
2019-01-18 13:08:55 +01:00
</Grid>
</Window>