WidgetDashboard.xaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <UserControl x:Class="PRSDesktop.WidgetDashboard"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PRSDesktop"
  7. xmlns:sf="http://schemas.syncfusion.com/wpf"
  8. mc:Ignorable="d"
  9. d:DesignHeight="450" d:DesignWidth="800">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="*" />
  13. <ColumnDefinition Width="*" />
  14. <ColumnDefinition Width="*" />
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="Auto" />
  18. <RowDefinition Height="*" />
  19. <RowDefinition Height="*" />
  20. <RowDefinition Height="*" />
  21. </Grid.RowDefinitions>
  22. <Border CornerRadius="5,5,0,0" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Margin="0,0,0,2" Padding="5"
  23. BorderBrush="Gray" BorderThickness="0.75" Background="WhiteSmoke">
  24. <DockPanel>
  25. <Label DockPanel.Dock="Left" Content="Date" />
  26. <Button x:Name="PrevDay" DockPanel.Dock="Left" Width="25" Content="-" Margin="0,0,2,0"
  27. Click="PrevDay_Click" />
  28. <sf:DateTimeEdit x:Name="SelectDate" DockPanel.Dock="Left" Width="100" Pattern="CustomPattern"
  29. CustomPattern="dd MMM yy" DropDownView="Calendar"
  30. DateTimeChanged="SelectDate_DateTimeChanged" />
  31. <Button x:Name="NextDay" DockPanel.Dock="Left" Width="25" Content="+" Margin="2,0,0,0"
  32. Click="NextDay_Click" />
  33. <ComboBox x:Name="SelectEmployees" DockPanel.Dock="Right" Width="150"
  34. SelectionChanged="SelectEmployees_SelectionChanged" DisplayMemberPath="Value"
  35. SelectedValuePath="Key" />
  36. <Label DockPanel.Dock="Right" Content="Employees" />
  37. <Label DockPanel.Dock="Left" Content="Daily Status Report" HorizontalContentAlignment="Center"
  38. FontWeight="DemiBold" />
  39. </DockPanel>
  40. </Border>
  41. <local:TimesheetWidget x:Name="Timesheets" Grid.Row="1" Grid.Column="0" Margin="0,0,2,2" />
  42. <local:TaskWidget x:Name="Tasks" Grid.Row="1" Grid.Column="1" Margin="0,0,2,2" />
  43. <local:ManufacturingStatusWidget x:Name="Manufacturing" Grid.Row="1" Grid.Column="2" Margin="0,0,0,2" />
  44. <local:FactoryAllocationWidget x:Name="FactoryAllocation" Grid.Row="2" Grid.Column="0" Margin="0,0,2,0" />
  45. <local:ReadyToGoWidget x:Name="ReadyToGo" Grid.Row="2" Grid.Column="1" Margin="0,0,2,0" />
  46. <local:DeliveredToSiteWidget x:Name="DeliveredToSite" Grid.Row="2" Grid.Column="2" Margin="0,0,0,0" />
  47. <local:ConsignmentsWidget x:Name="Consignments" Grid.Row="3" Grid.Column="0" Margin="0,2,2,0" />
  48. <local:RackListWidget x:Name="Racks" Grid.Row="3" Grid.Column="1" Margin="0,2,2,0" />
  49. <local:RequisitionsWidget x:Name="Requisitions" Grid.Row="3" Grid.Column="2" Margin="0,2,0,0" />
  50. </Grid>
  51. </UserControl>