135 lines
7.6 KiB
XML
135 lines
7.6 KiB
XML
<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">
|
|
<Window.Resources>
|
|
<local:DebugDummyConverter x:Key="DebugDummyConverter" />
|
|
</Window.Resources>
|
|
<Grid x:Name="testQuand">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10*" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<materialDesign:PackIcon Kind="Build" Grid.Column="2" HorizontalAlignment="Right" Cursor="Hand"/>
|
|
<Grid Grid.Column="0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<DataGrid x:Name="dgEventPasse2" ItemsSource="{Binding BcpPlats}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
|
SelectedItem="{Binding PlatSelectionnee, Mode=TwoWay}" Height="auto">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_plat}" />
|
|
<DataGridTextColumn Header="Avent Avent Hier" Binding="{Binding P_nom}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
<DataGrid x:Name="dgEventPasse1" Grid.Column="1" ItemsSource="{Binding BcpPlats}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
|
SelectedItem="{Binding PlatSelectionnee, Mode=TwoWay}" Grid.Row="1" Height="auto">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_plat}" />
|
|
<DataGridTextColumn Header="Avent Hier" Binding="{Binding P_nom}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
<DataGrid x:Name="dgEventPasse0" Grid.Column="2" ItemsSource="{Binding BcpPlats}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
|
SelectedItem="{Binding PlatSelectionnee, Mode=TwoWay}" Grid.Row="1" Height="auto">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_plat}" />
|
|
<DataGridTextColumn Header="Hier" Binding="{Binding P_nom}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
<Grid Grid.Column="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
</Grid>
|
|
|
|
<Grid Grid.Column="1" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto"/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock HorizontalAlignment="Center" Text="{Binding Plat1}"></TextBlock>
|
|
<TextBlock HorizontalAlignment="Center" Grid.Column="1">Demain</TextBlock>
|
|
<TextBlock HorizontalAlignment="Center" Grid.Column="2">Après demain</TextBlock>
|
|
|
|
|
|
<control:Repa Grid.Row="1" x:Name="RepasAjd" Loaded="RepasMatin_Loaded"></control:Repa>
|
|
<control:Repa Grid.Row="1" x:Name="RepasDemain" Grid.Column="1" ></control:Repa>
|
|
<control:Repa Grid.Row="1" x:Name="RepasApresDemain" Grid.Column="2" ></control:Repa>
|
|
<DataGrid Grid.Row="2" x:Name="dgEventFutur" ItemsSource="{Binding BcpPlats}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
|
SelectedItem="{Binding PlatSelectionnee, Mode=TwoWay}" Height="auto">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_plat}" />
|
|
<DataGridTextColumn Header="Avent Avent Hier" Binding="{Binding P_nom}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
<DataGrid Grid.Row="2" Grid.Column="1" x:Name="dgEventFutur2" ItemsSource="{Binding BcpPlats}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
|
SelectedItem="{Binding PlatSelectionnee, Mode=TwoWay}" Height="auto">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_plat}" />
|
|
<DataGridTextColumn Header="Avent Avent Hier" Binding="{Binding P_nom}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
<DataGrid Grid.Row="2" Grid.Column="2" x:Name="dgEventFutur3" ItemsSource="{Binding BcpPlats}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
|
SelectedItem="{Binding PlatSelectionnee, Mode=TwoWay}" Height="auto">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_plat}" />
|
|
<DataGridTextColumn Header="Avent Avent Hier" Binding="{Binding P_nom}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
<control:EventFutur Grid.Row="2" x:Name="EventFuture1" ></control:EventFutur>
|
|
<control:EventFutur Grid.Row="2" x:Name="EventFuture2" Grid.Column="1"></control:EventFutur>
|
|
<control:EventFutur Grid.Row="2" x:Name="EventFuture3" Grid.Column="2"></control:EventFutur>
|
|
|
|
</Grid>
|
|
|
|
|
|
<Grid Grid.Row="2" Visibility="Visible" Grid.ColumnSpan="2">
|
|
<Border >
|
|
<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" />
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</Window>
|