MainWindow.xaml 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173
  1. <fluent:RibbonWindow x:Class="PRSDesktop.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:PRSDesktop"
  7. mc:Ignorable="d"
  8. xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
  9. xmlns:themes="clr-namespace:InABox.WPF.Themes;assembly=InABox.Wpf"
  10. xmlns:fluent="urn:fluent-ribbon"
  11. Title="PRS Desktop"
  12. Height="900" Width="1200" Left="100" Top="100"
  13. WindowStartupLocation="CenterScreen"
  14. WindowState="Maximized"
  15. HorizontalContentAlignment="Stretch"
  16. VerticalContentAlignment="Stretch"
  17. Loaded="Window_Loaded"
  18. Unloaded="Window_Unloaded"
  19. Closing="Window_Closing"
  20. Closed="RibbonWindow_Closed"
  21. PreviewMouseUp="RibbonWindow_PreviewMouseUp"
  22. PreviewKeyUp="RibbonWindow_PreviewKeyUp"
  23. Activated="RibbonWindow_Activated"
  24. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  25. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  26. TitleBackground="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  27. TitleForeground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  28. NonActiveBorderBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}">
  29. <!-- GlowBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}" -->
  30. <!-- NonActiveGlowBrush="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}" -->
  31. <fluent:RibbonWindow.Resources>
  32. <!-- <ResourceDictionary> -->
  33. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Background"
  34. Color="{Binding Path=(themes:ThemeManager.BackstageBackgroundColor)}" />
  35. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Foreground"
  36. Color="{Binding Path=(themes:ThemeManager.BackstageForegroundColor)}" />
  37. <ControlTemplate x:Key="VerticalSplitter">
  38. <Grid Background="{TemplateBinding Background}" Width="4">
  39. <Button x:Name="PART_Left" Visibility="Collapsed" />
  40. <Button x:Name="PART_Right" Visibility="Collapsed" />
  41. <StackPanel Margin="0" Orientation="Vertical" VerticalAlignment="Center"
  42. HorizontalAlignment="Center">
  43. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  44. Margin="0,2,0,0" />
  45. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  46. Margin="0,2,0,0" />
  47. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  48. Margin="0,2,0,0" />
  49. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  50. Margin="0,2,0,0" />
  51. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  52. Margin="0,2,0,0" />
  53. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  54. Margin="0,2,0,0" />
  55. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  56. Margin="0,2,0,0" />
  57. </StackPanel>
  58. </Grid>
  59. </ControlTemplate>
  60. <!-- </ResourceDictionary> -->
  61. </fluent:RibbonWindow.Resources>
  62. <Grid x:Name="_mainScreen">
  63. <Grid.ColumnDefinitions>
  64. <ColumnDefinition Width="*" />
  65. <ColumnDefinition Width="Auto" />
  66. </Grid.ColumnDefinitions>
  67. <Grid.RowDefinitions>
  68. <RowDefinition x:Name="_ribbonRow" Height="Auto" />
  69. <RowDefinition Height="*" />
  70. <RowDefinition Height="Auto" />
  71. </Grid.RowDefinitions>
  72. <fluent:Ribbon x:Name="_ribbon" Grid.Row="0" Grid.ColumnSpan="2" IsCollapsed="False"
  73. PreviewMouseDoubleClick="_ribbon_OnPreviewMouseDoubleClick"
  74. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  75. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  76. Loaded="_ribbon_OnLoaded"
  77. >
  78. <fluent:Ribbon.Menu>
  79. <fluent:Backstage Header="System"
  80. Background="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  81. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}">
  82. <fluent:BackstageTabControl
  83. x:Name="_backstage"
  84. ItemsPanelBackground="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  85. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  86. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}">
  87. <fluent:SeparatorTabItem x:Name="BackstageSeparator" Height="20" />
  88. <fluent:Button
  89. x:Name="DatabaseSettings"
  90. Header="Database Settings"
  91. Click="DatabaseSettings_OnClick"
  92. Size="Middle"
  93. HorizontalAlignment="Stretch"
  94. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  95. <fluent:SeparatorTabItem x:Name="BackstageSeparator0" Height="20" />
  96. <fluent:Button
  97. x:Name="CompanyInformation"
  98. Header="Company Information"
  99. Click="CompanyInformation_OnClick"
  100. Size="Middle"
  101. HorizontalAlignment="Stretch"
  102. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  103. <fluent:SeparatorTabItem x:Name="BackstageSeparator1" Height="20" />
  104. <fluent:Button
  105. x:Name="SecurityDefaultsButton"
  106. Header="Security Defaults"
  107. Click="SecurityDefaultsButton_OnClick"
  108. Size="Middle"
  109. HorizontalAlignment="Stretch"
  110. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  111. <fluent:SeparatorTabItem x:Name="BackstageSeparator1a" Height="20" />
  112. <fluent:Button
  113. x:Name="SystemLogsButton"
  114. Header="View System Logs"
  115. Click="SystemLogsButton_OnClick"
  116. Size="Middle"
  117. HorizontalAlignment="Stretch"
  118. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  119. <fluent:SeparatorTabItem x:Name="BackstageSeparator2" Height="20" />
  120. <fluent:Button
  121. x:Name="DocumentTypeList"
  122. Header="Document Types"
  123. Click="DocumentTypeList_OnClick"
  124. Size="Middle"
  125. HorizontalAlignment="Stretch"
  126. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  127. <fluent:SeparatorTabItem x:Name="BackstageSeparator5" Height="20" />
  128. <fluent:Button
  129. x:Name="EditDetailsButton"
  130. VerticalAlignment="Bottom"
  131. Header="My Details"
  132. Click="EditDetailsButton_OnClick"
  133. Size="Middle"
  134. HorizontalAlignment="Stretch"
  135. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  136. <fluent:Button
  137. x:Name="LogoutButton"
  138. VerticalAlignment="Bottom"
  139. Header="Log Out"
  140. Click="LogoutButton_OnClick"
  141. Size="Middle"
  142. HorizontalAlignment="Stretch"
  143. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  144. <fluent:Button
  145. x:Name="LoginButton"
  146. VerticalAlignment="Bottom"
  147. Header="Log In"
  148. Click="LoginButton_OnClick"
  149. Size="Middle"
  150. HorizontalAlignment="Stretch"
  151. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  152. <fluent:SeparatorTabItem Height="20" />
  153. <fluent:Button
  154. x:Name="ExitButton"
  155. VerticalAlignment="Bottom"
  156. Header="Exit"
  157. Click="ExitButton_OnClick"
  158. Size="Middle"
  159. HorizontalAlignment="Stretch"
  160. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  161. </fluent:BackstageTabControl>
  162. </fluent:Backstage>
  163. </fluent:Ribbon.Menu>
  164. <fluent:RibbonTabItem x:Name="ProjectsTab" Header="Projects" IsSelected="False" Visibility="Collapsed">
  165. <fluent:RibbonGroupBox x:Name="ProjectsActions" Header="Actions">
  166. <fluent:Button Header="Refresh"
  167. LargeIcon="pack://application:,,,/Resources/refresh.png"
  168. Click="RefreshMenu_Click" MinWidth="60" />
  169. <syncfusion:RibbonSeparator />
  170. <fluent:Button x:Name="ProjectsDashboardButton" Header="Dashboards"
  171. LargeIcon="pack://application:,,,/Resources/kpi.png"
  172. Click="Dashboards_Checked" MinWidth="60" />
  173. <fluent:Button x:Name="ProjectMessagesButton" Size="Large"
  174. Header="Notification Centre"
  175. LargeIcon="pack://application:,,,/Resources/email.png"
  176. Click="Messages_Checked" MinWidth="60" />
  177. <fluent:Button x:Name="ProjectTaskButton" Header="Task List"
  178. LargeIcon="pack://application:,,,/Resources/kanban.png"
  179. Click="Tasks_Checked" MinWidth="60" />
  180. <fluent:Button x:Name="ProjectAttendanceButton" Header="In/Out Board"
  181. LargeIcon="pack://application:,,,/Resources/attendance.png"
  182. Click="Attendance_Checked" MinWidth="60" />
  183. <fluent:Button x:Name="ProjectsMapButton" Header="Live Maps"
  184. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  185. MinWidth="60" />
  186. <fluent:Button x:Name="ProjectDailyReportButton" Header="Daily Report"
  187. LargeIcon="pack://application:,,,/Resources/report.png"
  188. Click="DailyReport_Checked" MinWidth="60" />
  189. <syncfusion:RibbonSeparator x:Name="ProjectTaskSeparator" />
  190. <fluent:Button x:Name="QuotesButton" Header="Quotes"
  191. LargeIcon="pack://application:,,,/Resources/quotation.png"
  192. Click="Quotes_Checked" MinWidth="60" />
  193. <fluent:Button x:Name="ProjectsButton" Header="Projects"
  194. LargeIcon="pack://application:,,,/Resources/project.png"
  195. Click="Jobs_Checked" MinWidth="60" />
  196. <fluent:Button x:Name="ProjectPlannerButton" Header="Project Planner"
  197. LargeIcon="pack://application:,,,/Resources/calendar.png"
  198. Click="ProjectPlanner_Checked" MinWidth="60" />
  199. </fluent:RibbonGroupBox>
  200. <fluent:RibbonGroupBox x:Name="ProjectsSetup" Width="Auto" MinWidth="60" Header="Setup" Visibility="Collapsed">
  201. <fluent:Button x:Name="KitsMasterList" Header="Product Kits"
  202. LargeIcon="pack://application:,,,/Resources/kit.png"
  203. Click="KitsMasterList_Click" MinWidth="60" />
  204. <fluent:Button x:Name="CostSheetsMasterList" Header="Cost Sheets"
  205. LargeIcon="pack://application:,,,/Resources/costsheet.png"
  206. Click="CostSheetsMasterList_Click" MinWidth="60" />
  207. </fluent:RibbonGroupBox>
  208. <fluent:RibbonGroupBox x:Name="ProjectReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  209. </fluent:RibbonTabItem>
  210. <fluent:RibbonTabItem x:Name="ManufacturingTab" Header="Manufacturing" IsSelected="False"
  211. Visibility="Collapsed">
  212. <fluent:RibbonGroupBox x:Name="ManufacturingActions" Header="Actions">
  213. <fluent:Button Header="Refresh"
  214. LargeIcon="pack://application:,,,/Resources/refresh.png"
  215. Click="RefreshMenu_Click" MinWidth="60"/>
  216. <syncfusion:RibbonSeparator x:Name="ManufacturingTaskSeparator" />
  217. <fluent:Button x:Name="ManufacturingDashboardButton" Header="Dashboards"
  218. LargeIcon="pack://application:,,,/Resources/kpi.png"
  219. Click="Dashboards_Checked" MinWidth="60" />
  220. <fluent:Button x:Name="ManufacturingMessagesButton" Size="Large"
  221. Header="Notification Centre"
  222. LargeIcon="pack://application:,,,/Resources/email.png"
  223. Click="Messages_Checked" MinWidth="60" />
  224. <fluent:Button x:Name="ManufacturingTaskButton" Header="Task List"
  225. LargeIcon="pack://application:,,,/Resources/kanban.png"
  226. Click="Tasks_Checked" MinWidth="60" />
  227. <fluent:Button x:Name="ManufacturingAttendanceButton" Size="Large"
  228. Header="In/Out Board"
  229. LargeIcon="pack://application:,,,/Resources/attendance.png"
  230. Click="Attendance_Checked" MinWidth="60" />
  231. <fluent:Button x:Name="ManufacturingMapButton" Header="Live Maps"
  232. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  233. MinWidth="60" />
  234. <fluent:Button x:Name="ManufacturingDailyReportButton" Size="Large"
  235. Header="Daily Report"
  236. LargeIcon="pack://application:,,,/Resources/report.png"
  237. Click="DailyReport_Checked" MinWidth="60" />
  238. <syncfusion:RibbonSeparator x:Name="ManufacturingDesignSeparator" />
  239. <fluent:Button x:Name="DesignManagementButton" Header="Design Management"
  240. LargeIcon="pack://application:,,,/Resources/design.png"
  241. Click="DesignManagement_Checked" MinWidth="60" />
  242. <syncfusion:RibbonSeparator x:Name="ManufacturingActionSeparator" />
  243. <fluent:Button x:Name="FactoryStatusButton" Header="Manufacturing Status"
  244. LargeIcon="pack://application:,,,/Resources/factory.png"
  245. Click="ManufacturingMenu_Checked" MinWidth="60" />
  246. <fluent:Button x:Name="FactoryAllocationButton" Size="Large"
  247. Header="Factory Allocation"
  248. LargeIcon="pack://application:,,,/Resources/assignments.png"
  249. Click="FactoryAllocationButton_Click" MinWidth="60" />
  250. <!--<fluent:Button x:Name="FactoryScheduleButton" Header="Factory Schedule" LargeIcon="pack://application:,,,/Resources/clock.png" Click="Schedule_Checked" MinWidth="60"/>-->
  251. <fluent:Button x:Name="FactoryFloorButton" Header="Factory Floor"
  252. LargeIcon="pack://application:,,,/Resources/wrench.png"
  253. Click="FactoryFloorButton_Click" MinWidth="60" />
  254. <!--<fluent:Button x:Name="FactoryReadyButton" Header="Ready To Go" LargeIcon="pack://application:,,,/Resources/truck.png" Click="FactoryReadyButton_Click" MinWidth="60"/>-->
  255. </fluent:RibbonGroupBox>
  256. <fluent:RibbonGroupBox x:Name="ManufacturingReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  257. <!--fluent:RibbonGroupBox x:Name="ManufacturingSetup" Width="Auto" Header="Tools"
  258. IsLauncherVisible="False">
  259. <fluent:Button x:Name="FactorySettingsButton" Header="Factory Settings"
  260. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  261. Click="FactorySetup_Click" MinWidth="60" />
  262. <fluent:Button x:Name="ManufacturingTemplatesButton" Size="Large"
  263. Header="Manufacturing Templates"
  264. LargeIcon="pack://application:,,,/Resources/template.png"
  265. Click="TemplateSetup_Click" MinWidth="60" />
  266. <fluent:Button x:Name="ManufacturingTrolleysButton" Size="Large"
  267. Header="Manufacturing Trolleys"
  268. LargeIcon="pack://application:,,,/Resources/trolley.png"
  269. Click="TrolleySetup_Click" MinWidth="60" />
  270. <fluent:Button x:Name="ManufacturingLostTimeButton" Size="Large"
  271. Header="Lost Time Types"
  272. LargeIcon="pack://application:,,,/Resources/smiley.png"
  273. Click="LostTimeSetup_Click" MinWidth="60" />
  274. <! - - <fluent:Button x:Name="ManufacturingTransferButton" Header="Transfer Settings" LargeIcon="pack://application:,,,/Resources/warning.png" Click="ManufacturingTransferButton_Click" MinWidth="60"/>
  275. <fluent:Button x:Name="RebuildPacketsButton" Header="Rebuild Packets" LargeIcon="pack://application:,,,/Resources/warning.png" Click="RebuildPacketsButton_Click" MinWidth="60"/> - - >
  276. </fluent:RibbonGroupBox-->
  277. </fluent:RibbonTabItem>
  278. <fluent:RibbonTabItem x:Name="ProductTab" Header="Products" IsSelected="False"
  279. Visibility="Collapsed">
  280. <fluent:RibbonGroupBox x:Name="ProductActions" Width="Auto" Header="Actions">
  281. <fluent:Button Header="Refresh"
  282. LargeIcon="pack://application:,,,/Resources/refresh.png"
  283. Click="RefreshMenu_Click" MinWidth="60" />
  284. <syncfusion:RibbonSeparator />
  285. <fluent:Button x:Name="ProductsDashboardButton" Header="Dashboards"
  286. LargeIcon="pack://application:,,,/Resources/kpi.png"
  287. Click="Dashboards_Checked" MinWidth="60" />
  288. <fluent:Button x:Name="ProductsMessagesButton" Size="Large"
  289. Header="Notification Centre"
  290. LargeIcon="pack://application:,,,/Resources/email.png"
  291. Click="Messages_Checked" MinWidth="60" />
  292. <fluent:Button x:Name="ProductsTaskButton" Header="Task List"
  293. LargeIcon="pack://application:,,,/Resources/kanban.png"
  294. Click="Tasks_Checked" MinWidth="60" />
  295. <fluent:Button x:Name="ProductsAttendanceButton" Header="In/Out Board"
  296. LargeIcon="pack://application:,,,/Resources/attendance.png"
  297. Click="Attendance_Checked" MinWidth="60" />
  298. <fluent:Button x:Name="ProductsMapButton" Header="Live Maps"
  299. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  300. MinWidth="60" />
  301. <fluent:Button x:Name="ProductsDailyReportButton" Header="Daily Report"
  302. LargeIcon="pack://application:,,,/Resources/report.png"
  303. Click="DailyReport_Checked" MinWidth="60" />
  304. <syncfusion:RibbonSeparator x:Name="ProductsTaskSeparator" />
  305. <fluent:Button x:Name="ProductsMasterList" Header="Product List"
  306. LargeIcon="pack://application:,,,/Resources/product.png"
  307. Click="Products_Checked" MinWidth="60" />
  308. <fluent:Button x:Name="StockLocationList" Header="Stock Locations"
  309. LargeIcon="pack://application:,,,/Resources/parcel.png"
  310. Click="StockLocations_Checked" MinWidth="60" />
  311. <fluent:Button x:Name="StockMovementList" Header="Stock Movements"
  312. LargeIcon="pack://application:,,,/Resources/forklift.png"
  313. Click="StockMovements_Checked" MinWidth="60" />
  314. <fluent:Button x:Name="StockForecastButton" Header="Stock Forecast"
  315. LargeIcon="pack://application:,,,/Resources/kpi.png"
  316. Click="StockForecastButton_Clicked" MinWidth="60" />
  317. <fluent:Button x:Name="ReservationManagementButton" Header="Reservation Management"
  318. LargeIcon="pack://application:,,,/Resources/requisition.png"
  319. Click="ReservationManagementButton_Clicked" MinWidth="60" />
  320. </fluent:RibbonGroupBox>
  321. <fluent:RibbonGroupBox x:Name="ProductReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  322. <!--fluent:RibbonGroupBox x:Name="ProductSetup" Width="Auto" Header="Tools"
  323. IsLauncherVisible="False">
  324. <fluent:Button x:Name="ProductDimensionUnitsList" Size="Large"
  325. Header="Units of Measure"
  326. LargeIcon="pack://application:,,,/Resources/unitofmeasure.png"
  327. Click="ProductDimensionUnitsList_Click" MinWidth="60" />
  328. <fluent:Button x:Name="ProductGroupsList" Header="Product Groups"
  329. LargeIcon="pack://application:,,,/Resources/productgroup.png"
  330. Click="ProductGroupsList_Click" MinWidth="60" />
  331. <fluent:Button x:Name="ProductStylesList" Header="Product Styles"
  332. LargeIcon="pack://application:,,,/Resources/palette.png"
  333. Click="ProductStylesList_Click" MinWidth="60" />
  334. <fluent:Button x:Name="StockAreasList" Header="Stock Areas"
  335. LargeIcon="pack://application:,,,/Resources/rack.png"
  336. Click="StockAreasList_Click" MinWidth="60" />
  337. <fluent:Button x:Name="StockWarehouseList" Header="Stock Warehouses"
  338. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  339. Click="StockWarehouseList_Click" MinWidth="60" />
  340. </fluent:RibbonGroupBox-->
  341. </fluent:RibbonTabItem>
  342. <fluent:RibbonTabItem x:Name="LogisticsTab" Header="Logistics" IsSelected="False" Visibility="Collapsed">
  343. <fluent:RibbonGroupBox x:Name="LogisticsActions" Header="Actions">
  344. <fluent:Button Header="Refresh"
  345. LargeIcon="pack://application:,,,/Resources/refresh.png"
  346. Click="RefreshMenu_Click" MinWidth="60" />
  347. <syncfusion:RibbonSeparator />
  348. <fluent:Button x:Name="LogisticsDashboardButton" Header="Dashboards"
  349. LargeIcon="pack://application:,,,/Resources/kpi.png"
  350. Click="Dashboards_Checked" MinWidth="60" />
  351. <fluent:Button x:Name="LogisticsMessagesButton" Size="Large"
  352. Header="Notification Centre"
  353. LargeIcon="pack://application:,,,/Resources/email.png"
  354. Click="Messages_Checked" MinWidth="60" />
  355. <fluent:Button x:Name="LogisticsTaskButton" Header="Task List"
  356. LargeIcon="pack://application:,,,/Resources/kanban.png"
  357. Click="Tasks_Checked" MinWidth="60" />
  358. <fluent:Button x:Name="LogisticsAttendanceButton" Header="In/Out Board"
  359. LargeIcon="pack://application:,,,/Resources/attendance.png"
  360. Click="Attendance_Checked" MinWidth="60" />
  361. <fluent:Button x:Name="LogisticsMapButton" Header="Live Maps"
  362. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  363. MinWidth="60" />
  364. <fluent:Button x:Name="LogisticsDailyReportButton" Header="Daily Report"
  365. LargeIcon="pack://application:,,,/Resources/report.png"
  366. Click="DailyReport_Checked" MinWidth="60" />
  367. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator1" />
  368. <fluent:Button x:Name="ReadyToGoItemsButton" Header="Ready To Go"
  369. LargeIcon="pack://application:,,,/Resources/truck.png"
  370. Click="ReadyToGoMenu_Checked" MinWidth="60" />
  371. <fluent:Button x:Name="DispatchButton" Header="Rack List"
  372. LargeIcon="pack://application:,,,/Resources/barcode.png"
  373. Click="DispatchMenu_Checked" MinWidth="60" />
  374. <fluent:Button x:Name="RequisitionsButton" Header="Picking Lists"
  375. LargeIcon="pack://application:,,,/Resources/box.png"
  376. Click="Requisitions_Checked" MinWidth="60" />
  377. <fluent:Button x:Name="DeliveriesButton" Header="Deliveries"
  378. LargeIcon="pack://application:,,,/Resources/truck.png"
  379. Click="DeliveriesButton_Click" MinWidth="60" />
  380. <fluent:Button x:Name="DeliveredItemsButton" Header="Delivered On Site"
  381. LargeIcon="pack://application:,,,/Resources/lifter.png"
  382. Click="DeliveredOnSiteMenu_Checked" MinWidth="60" />
  383. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator2" />
  384. <fluent:Button x:Name="ConsignmentButton" Header="Incoming Consignments"
  385. LargeIcon="pack://application:,,,/Resources/consignment.png"
  386. Click="ConsignmentButton_Click" MinWidth="60" />
  387. </fluent:RibbonGroupBox>
  388. <fluent:RibbonGroupBox x:Name="LogisticsReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  389. <!--fluent:RibbonGroupBox x:Name="LogisticsSetup" Width="Auto" Header="Tools"
  390. IsLauncherVisible="False">
  391. <fluent:Button x:Name="DeliveryTypesButton" Header="Delivery Types"
  392. LargeIcon="pack://application:,,,/Resources/truck.png"
  393. Click="DeliveryTypesButton_Click" MinWidth="60" />
  394. <fluent:Button x:Name="ConsignmentTypesButton" Header="Consignment Types"
  395. LargeIcon="pack://application:,,,/Resources/service.png"
  396. Click="ConsignmentTypesButton_Click" MinWidth="60" />
  397. </fluent:RibbonGroupBox-->
  398. </fluent:RibbonTabItem>
  399. <fluent:RibbonTabItem x:Name="HumanResourcesTab" Header="Human Resources" IsSelected="False"
  400. Visibility="Collapsed">
  401. <fluent:RibbonGroupBox x:Name="HumanResourcesActions" Header="Actions">
  402. <fluent:Button Header="Refresh"
  403. LargeIcon="pack://application:,,,/Resources/refresh.png"
  404. Click="RefreshMenu_Click" MinWidth="60" />
  405. <syncfusion:RibbonSeparator />
  406. <fluent:Button x:Name="HumanResourcesDashboardButton" Header="Dashboards"
  407. LargeIcon="pack://application:,,,/Resources/kpi.png"
  408. Click="Dashboards_Checked" MinWidth="60" />
  409. <fluent:Button x:Name="HumanResourcesMessagesButton" Size="Large"
  410. Header="Notification Centre"
  411. LargeIcon="pack://application:,,,/Resources/email.png"
  412. Click="Messages_Checked" MinWidth="60" />
  413. <fluent:Button x:Name="HumanResourcesTaskButton" Header="Task List"
  414. LargeIcon="pack://application:,,,/Resources/kanban.png"
  415. Click="Tasks_Checked" MinWidth="60" />
  416. <fluent:Button x:Name="HumanResourcesAttendanceButton" Size="Large"
  417. Header="In/Out Board"
  418. LargeIcon="pack://application:,,,/Resources/attendance.png"
  419. Click="Attendance_Checked" MinWidth="60" />
  420. <fluent:Button x:Name="HumanResourcesMapButton" Header="Live Maps"
  421. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  422. MinWidth="60" />
  423. <fluent:Button x:Name="HumanResourcesDailyReportButton" Size="Large"
  424. Header="Daily Report"
  425. LargeIcon="pack://application:,,,/Resources/report.png"
  426. Click="DailyReport_Checked" MinWidth="60" />
  427. <syncfusion:RibbonSeparator x:Name="HumanResourcesTaskSeparator" />
  428. <fluent:Button x:Name="CalendarButton" Header="Calendar"
  429. LargeIcon="pack://application:,,,/Resources/assignments.png"
  430. Click="CalendarButton_Click" MinWidth="60" />
  431. <fluent:Button x:Name="EmployeePlannerButton" Header="Employee Planner"
  432. LargeIcon="pack://application:,,,/Resources/calendar.png"
  433. Click="EmployeePlannerButton_Click" MinWidth="60" />
  434. <fluent:Button x:Name="TimesheetsButton" Header="Staff TimeSheets"
  435. LargeIcon="pack://application:,,,/Resources/clock.png"
  436. Click="Timesheets_Checked" MinWidth="60" />
  437. <fluent:Button x:Name="LeaveRequestsButton" Header="Leave Requests"
  438. LargeIcon="pack://application:,,,/Resources/leave.png"
  439. Click="LeaveRequestsButton_Click" MinWidth="60" />
  440. <fluent:Button x:Name="MeetingsButton" Header="Meetings"
  441. LargeIcon="pack://application:,,,/Resources/employees.png"
  442. Click="MeetingsButton_Click" MinWidth="60" />
  443. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator1" />
  444. <fluent:Button x:Name="UsersButton" Header="User Accounts"
  445. LargeIcon="pack://application:,,,/Resources/user.png"
  446. Click="UserSetup_Click" MinWidth="60" />
  447. <fluent:Button x:Name="EmployeesButton" Header="Employee List"
  448. LargeIcon="pack://application:,,,/Resources/employee.png"
  449. Click="Employees_Click" MinWidth="60" />
  450. <fluent:Button x:Name="OrgChartButton" Header="Org Chart"
  451. LargeIcon="pack://application:,,,/Resources/orgchart.png"
  452. Click="OrgChartButton_Click" MinWidth="60" />
  453. </fluent:RibbonGroupBox>
  454. <fluent:RibbonGroupBox x:Name="HumanResourcesReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  455. <!--fluent:RibbonGroupBox x:Name="HumanResourcesSetup" Width="Auto" Header="Tools"
  456. IsLauncherVisible="False">
  457. <fluent:Button x:Name="SecurityGroupsButton" Header="Security Groups"
  458. LargeIcon="pack://application:,,,/Resources/securitygroup.png"
  459. Click="SecurityGroupsButton_Click" MinWidth="60" />
  460. <fluent:Button x:Name="EmployeeGroupsButton" Header="Employee Groups"
  461. LargeIcon="pack://application:,,,/Resources/employees.png"
  462. Click="GroupsSetup_Click" MinWidth="60" />
  463. <fluent:Button x:Name="EmployeePositionsButton" Header="Positions"
  464. LargeIcon="pack://application:,,,/Resources/position.png"
  465. Click="PositionsSetup_Click" MinWidth="60" />
  466. <fluent:Button x:Name="EmployeeRolesButton" Header="Roles"
  467. LargeIcon="pack://application:,,,/Resources/employeerole.png"
  468. Click="RolesSetup_Click" MinWidth="60" />
  469. <fluent:Button x:Name="EmployeeTeamsButton" Header="Teams"
  470. LargeIcon="pack://application:,,,/Resources/team.png"
  471. Click="EmployeeTeamsButton_Click" MinWidth="60" />
  472. <fluent:Button x:Name="EmployeeActivitiesButton" Header="Activities"
  473. LargeIcon="pack://application:,,,/Resources/quality.png"
  474. Click="ActivityMenu_Click" MinWidth="60" />
  475. <fluent:Button x:Name="EmployeeQualificationsButton" Size="Large"
  476. Header="Qualifications"
  477. LargeIcon="pack://application:,,,/Resources/certificate.png"
  478. Click="QualificationMenu_Click" MinWidth="60" />
  479. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator2" />
  480. <fluent:Button x:Name="OvertimeRulesButton" Header="Overtime Rules"
  481. LargeIcon="pack://application:,,,/Resources/overtime.png"
  482. Click="OvertimeRulesButton_Click" MinWidth="60" />
  483. <fluent:Button x:Name="StandardLeaveButton" Header="Standard Leave"
  484. LargeIcon="pack://application:,,,/Resources/fireworks.png"
  485. Click="StandardLeaveButton_Click" MinWidth="60" />
  486. </fluent:RibbonGroupBox-->
  487. </fluent:RibbonTabItem>
  488. <fluent:RibbonTabItem x:Name="AccountsTab" Header="Accounts" IsSelected="False" Visibility="Collapsed">
  489. <fluent:RibbonGroupBox x:Name="AccountsActions" Header="Actions">
  490. <fluent:Button Header="Refresh"
  491. LargeIcon="pack://application:,,,/Resources/refresh.png"
  492. Click="RefreshMenu_Click" MinWidth="60" />
  493. <syncfusion:RibbonSeparator />
  494. <fluent:Button x:Name="AccountsDashboardButton" Header="Dashboards"
  495. LargeIcon="pack://application:,,,/Resources/kpi.png"
  496. Click="Dashboards_Checked" MinWidth="60" />
  497. <fluent:Button x:Name="AccountsMessagesButton" Size="Large"
  498. Header="Notification Centre"
  499. LargeIcon="pack://application:,,,/Resources/email.png"
  500. Click="Messages_Checked" MinWidth="60" />
  501. <fluent:Button x:Name="AccountsTaskButton" Header="Task List"
  502. LargeIcon="pack://application:,,,/Resources/kanban.png"
  503. Click="Tasks_Checked" MinWidth="60" />
  504. <fluent:Button x:Name="AccountsAttendanceButton" Header="In/Out Board"
  505. LargeIcon="pack://application:,,,/Resources/attendance.png"
  506. Click="Attendance_Checked" MinWidth="60" />
  507. <fluent:Button x:Name="AccountsMapButton" Header="Live Maps"
  508. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  509. MinWidth="60" />
  510. <fluent:Button x:Name="AccountsDailyReportButton" Header="Daily Report"
  511. LargeIcon="pack://application:,,,/Resources/report.png"
  512. Click="DailyReport_Checked" MinWidth="60" />
  513. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator1" />
  514. <fluent:Button x:Name="CustomerList" Header="Customers"
  515. LargeIcon="pack://application:,,,/Resources/customer.png"
  516. Click="CustomerList_Click" MinWidth="60" />
  517. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  518. LargeIcon="pack://application:,,,/Resources/invoice.png"
  519. Click="InvoiceList_Click" MinWidth="60" />
  520. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  521. LargeIcon="pack://application:,,,/Resources/receipt.png"
  522. Click="ReceiptList_Click" MinWidth="60" />
  523. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator2" />
  524. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  525. LargeIcon="pack://application:,,,/Resources/supplier.png"
  526. Click="SupplierList_Click" MinWidth="60" />
  527. <fluent:Button x:Name="AccountsDataButton" Header="Data Entry"
  528. LargeIcon="pack://application:,,,/Resources/pencil.png"
  529. Click="DataEntry_Click" MinWidth="60" />
  530. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  531. LargeIcon="pack://application:,,,/Resources/purchase.png"
  532. Click="PurchasesList_Click" MinWidth="60" />
  533. <fluent:Button x:Name="BillsList" Header="Bills"
  534. LargeIcon="pack://application:,,,/Resources/bill.png"
  535. Click="BillsList_Click" MinWidth="60" />
  536. <fluent:Button x:Name="PaymentsList" Header="Payments"
  537. LargeIcon="pack://application:,,,/Resources/payment.png"
  538. Click="PaymentsList_Click" MinWidth="60" />
  539. </fluent:RibbonGroupBox>
  540. <fluent:RibbonGroupBox x:Name="AccountsReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  541. <!--fluent:RibbonGroupBox x:Name="AccountsSetup" Width="Auto" Header="Tools"
  542. IsLauncherVisible="False">
  543. <fluent:Button x:Name="ContactTypeList" Header="Contact Types"
  544. LargeIcon="pack://application:,,,/Resources/contacttype.png"
  545. Click="ContactTypeList_Click" MinWidth="60" />
  546. <fluent:Button x:Name="TaxCodeList" Header="Tax Codes"
  547. LargeIcon="pack://application:,,,/Resources/taxcode.png"
  548. Click="TaxCodeList_Click" MinWidth="60" />
  549. <fluent:Button x:Name="ReceiptTypeList" Header="Receipt Types"
  550. LargeIcon="pack://application:,,,/Resources/receipt.png"
  551. Click="ReceiptTypeList_Click" MinWidth="60" />
  552. <fluent:Button x:Name="PaymentTypeList" Header="Payment Types"
  553. LargeIcon="pack://application:,,,/Resources/payment.png"
  554. Click="PaymentTypeList_Click" MinWidth="60" />
  555. <fluent:Button x:Name="CostCentresList" Header="Cost Centres"
  556. LargeIcon="pack://application:,,,/Resources/costcentre.png"
  557. Click="CostCentresList_Click" MinWidth="60" />
  558. <fluent:Button x:Name="GLCodesList" Header="GL Codes"
  559. LargeIcon="pack://application:,,,/Resources/glcode.png"
  560. Click="GLCodesList_Click" MinWidth="60" />
  561. <fluent:Button x:Name="PurchaseOrderCategoriesList" Size="Large"
  562. Header="Purchase Order Categories"
  563. LargeIcon="pack://application:,,,/Resources/service.png"
  564. Click="PurchaseOrderCategoriesButton_Click" MinWidth="60" />
  565. </fluent:RibbonGroupBox-->
  566. </fluent:RibbonTabItem>
  567. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  568. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions">
  569. <fluent:Button Header="Refresh"
  570. LargeIcon="pack://application:,,,/Resources/refresh.png"
  571. Click="RefreshMenu_Click" MinWidth="60" />
  572. <syncfusion:RibbonSeparator />
  573. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  574. LargeIcon="pack://application:,,,/Resources/kpi.png"
  575. Click="Dashboards_Checked" MinWidth="60" />
  576. <fluent:Button x:Name="EquipmentMessagesButton" Size="Large"
  577. Header="Notification Centre"
  578. LargeIcon="pack://application:,,,/Resources/email.png"
  579. Click="Messages_Checked" MinWidth="60" />
  580. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  581. LargeIcon="pack://application:,,,/Resources/kanban.png"
  582. Click="Tasks_Checked" MinWidth="60" />
  583. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  584. LargeIcon="pack://application:,,,/Resources/attendance.png"
  585. Click="Attendance_Checked" MinWidth="60" />
  586. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  587. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  588. MinWidth="60" />
  589. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  590. LargeIcon="pack://application:,,,/Resources/report.png"
  591. Click="DailyReport_Checked" MinWidth="60" />
  592. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  593. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  594. LargeIcon="pack://application:,,,/Resources/specifications.png"
  595. Click="Equipment_Checked" MinWidth="60" />
  596. <fluent:Button x:Name="EquipmentMaintenanceButton" Header="Planned Maintenance"
  597. LargeIcon="pack://application:,,,/Resources/service.png"
  598. Click="EquipmentMaintenance_Checked" MinWidth="60" />
  599. <fluent:Button x:Name="EquipmentPlannerButton" Header="Equipment Planner"
  600. LargeIcon="pack://application:,,,/Resources/calendar.png"
  601. Click="EquipmentPlannerButton_Click" MinWidth="60" />
  602. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  603. LargeIcon="pack://application:,,,/Resources/milestone.png"
  604. Click="Trackers_Click" MinWidth="60" />
  605. </fluent:RibbonGroupBox>
  606. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  607. <!--fluent:RibbonGroupBox x:Name="EquipmentSetup" Width="Auto" Header="Tools"
  608. IsLauncherVisible="False">
  609. <fluent:Button x:Name="TrackerTypesMasterList" Header="Tracker Types"
  610. LargeIcon="pack://application:,,,/Resources/milestone.png"
  611. Click="TrackerTypes_Click" MinWidth="60" />
  612. <fluent:Button x:Name="StickersMasterList" Header="Stickers"
  613. LargeIcon="pack://application:,,,/Resources/barcode.png"
  614. Click="Stickers_Click" MinWidth="60" />
  615. <fluent:Button x:Name="DigitalKeysMasterList" Header="Digital Keys"
  616. LargeIcon="pack://application:,,,/Resources/key.png"
  617. Click="DigitalKeys_Click" MinWidth="60" />
  618. <fluent:Button x:Name="EquipmentGroupList" Header="Equipment Groups"
  619. LargeIcon="pack://application:,,,/Resources/specifications.png"
  620. Click="EquipmentGroupList_Click" MinWidth="60" />
  621. </fluent:RibbonGroupBox-->
  622. </fluent:RibbonTabItem>
  623. <fluent:RibbonTabItem x:Name="DigitalFormsTab" Header="Digital Forms" IsSelected="False" Visibility="Collapsed">
  624. <fluent:RibbonGroupBox x:Name="DigitalFormsActions" Width="Auto" Header="Actions">
  625. <fluent:Button Header="Refresh"
  626. LargeIcon="pack://application:,,,/Resources/refresh.png"
  627. Click="RefreshMenu_Click" MinWidth="60" />
  628. <syncfusion:RibbonSeparator />
  629. <fluent:Button x:Name="DigitalFormsDashboardButton" Header="Dashboards"
  630. LargeIcon="pack://application:,,,/Resources/kpi.png"
  631. Click="Dashboards_Checked" MinWidth="60" />
  632. <fluent:Button x:Name="DigitalFormsMessagesButton" Size="Large"
  633. Header="Notification Centre"
  634. LargeIcon="pack://application:,,,/Resources/email.png"
  635. Click="Messages_Checked" MinWidth="60" />
  636. <fluent:Button x:Name="DigitalFormsTaskButton" Header="Task List"
  637. LargeIcon="pack://application:,,,/Resources/kanban.png"
  638. Click="Tasks_Checked" MinWidth="60" />
  639. <fluent:Button x:Name="DigitalFormsAttendanceButton" Header="In/Out Board"
  640. LargeIcon="pack://application:,,,/Resources/attendance.png"
  641. Click="Attendance_Checked" MinWidth="60" />
  642. <fluent:Button x:Name="DigitalFormsMapButton" Header="Live Maps"
  643. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  644. MinWidth="60" />
  645. <fluent:Button x:Name="DigitalFormsDailyReportButton" Header="Daily Report"
  646. LargeIcon="pack://application:,,,/Resources/report.png"
  647. Click="DailyReport_Checked" MinWidth="60" />
  648. <syncfusion:RibbonSeparator x:Name="DigitalFormsTaskSeparator" />
  649. <fluent:Button x:Name="DigitalFormsFormsLibraryButton" Header="Forms Library"
  650. LargeIcon="pack://application:,,,/Resources/formslibrary.png"
  651. Click="DigitalFormsFormsLibraryButton_Click" MinWidth="60" />
  652. <fluent:Button x:Name="DigitalFormsCompletedFormsButton" Header="Forms Dashboard"
  653. LargeIcon="pack://application:,,,/Resources/forminstance.png"
  654. Click="DigitalFormsCompletedFormsButton_Click" MinWidth="60" />
  655. </fluent:RibbonGroupBox>
  656. <fluent:RibbonGroupBox x:Name="DigitalFormReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  657. </fluent:RibbonTabItem>
  658. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  659. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions">
  660. <fluent:Button Header="Refresh"
  661. LargeIcon="pack://application:,,,/Resources/refresh.png"
  662. Click="RefreshMenu_Click" MinWidth="60" />
  663. <syncfusion:RibbonSeparator />
  664. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  665. LargeIcon="pack://application:,,,/Resources/kpi.png"
  666. Click="Dashboards_Checked" MinWidth="60" />
  667. <fluent:Button x:Name="DashboardMessagesButton" Size="Large"
  668. Header="Notification Centre"
  669. LargeIcon="pack://application:,,,/Resources/email.png"
  670. Click="Messages_Checked" MinWidth="60" />
  671. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  672. LargeIcon="pack://application:,,,/Resources/kanban.png"
  673. Click="Tasks_Checked" MinWidth="60" />
  674. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  675. LargeIcon="pack://application:,,,/Resources/attendance.png"
  676. Click="Attendance_Checked" MinWidth="60" />
  677. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  678. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  679. MinWidth="60" />
  680. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  681. LargeIcon="pack://application:,,,/Resources/report.png"
  682. Click="DailyReport_Checked" MinWidth="60" />
  683. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  684. <!--This is where the static dashboards need to go-->
  685. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  686. LargeIcon="pack://application:,,,/Resources/kpi.png"
  687. Click="FactoryProductivityButton_Click" MinWidth="60" />
  688. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  689. LargeIcon="pack://application:,,,/Resources/kpi.png"
  690. Click="TemplateAnalysisButton_Click" MinWidth="60" />
  691. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  692. LargeIcon="pack://application:,,,/Resources/kpi.png"
  693. Click="FactoryAnalysisButton_Click" MinWidth="60" />
  694. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  695. LargeIcon="pack://application:,,,/Resources/kpi.png"
  696. Click="DatabaseActivityButton_Click" MinWidth="60" />
  697. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  698. LargeIcon="pack://application:,,,/Resources/kpi.png"
  699. Click="UserActivityButton_Click" MinWidth="60" />
  700. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  701. LargeIcon="pack://application:,,,/Resources/kpi.png"
  702. Click="QuickStatus_Click" MinWidth="60" />
  703. </fluent:RibbonGroupBox>
  704. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" MinWidth="60" Header="Print" Visibility="Collapsed"/>
  705. </fluent:RibbonTabItem>
  706. </fluent:Ribbon>
  707. <Grid Grid.Row="0" Grid.Column="1">
  708. <Grid.ColumnDefinitions>
  709. <ColumnDefinition Width="*" />
  710. <ColumnDefinition Width="*" />
  711. <ColumnDefinition Width="*" />
  712. </Grid.ColumnDefinitions>
  713. <Grid.RowDefinitions>
  714. <RowDefinition Height="30" />
  715. <RowDefinition Height="*" />
  716. </Grid.RowDefinitions>
  717. <fluent:Button
  718. x:Name="SendNotification"
  719. Header="Send Notification"
  720. BorderBrush="Gray"
  721. BorderThickness="0.75"
  722. Margin="0,0,5,0"
  723. Background="WhiteSmoke"
  724. Grid.Row="0"
  725. Grid.Column="2"
  726. Size="Middle"
  727. Icon="Resources/team.png"
  728. HorizontalAlignment="Stretch"
  729. Height="25"
  730. Click="SendNotificationClick" />
  731. <fluent:Button Grid.Row="1" Grid.Column="0"
  732. Header="Setup"
  733. LargeIcon="Resources/view.png"
  734. Click="Setup_Click"
  735. Margin="0,0,5,20"/>
  736. <fluent:Button Grid.Row="1" Grid.Column="1"
  737. Header="Forms"
  738. LargeIcon="Resources/contract.png"
  739. Click="Forms_Click"
  740. Margin="0,0,5,20"/>
  741. <Border Grid.Row="1" Grid.Column="2"
  742. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  743. <StackPanel Orientation="Horizontal">
  744. <fluent:Button
  745. Header="Online Help"
  746. LargeIcon="Resources/help.png"
  747. Click="Wiki_Click" />
  748. <fluent:Button
  749. x:Name="EquipmentTechnicalLibrary"
  750. Header="Technical Library"
  751. LargeIcon="Resources/doc-pdf.png"
  752. Click="Library_Click" />
  753. </StackPanel>
  754. </Border>
  755. </Grid>
  756. <DockingManager x:Name="DockingManager"
  757. Grid.Row="1"
  758. Grid.Column="0"
  759. Grid.ColumnSpan="2"
  760. AllowMixedOrientation="True"
  761. AutoWindowSizeWhenOpened="True"
  762. IsVirtualizingAnchorable="True"
  763. IsVirtualizingDocument="True"
  764. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  765. <DockingManager.Theme>
  766. <MetroTheme />
  767. </DockingManager.Theme>
  768. <DockingManager.Resources>
  769. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  770. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  771. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  772. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  773. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  774. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  775. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  776. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  777. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  778. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  779. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  780. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  781. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  782. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  783. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  784. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  785. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  786. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  787. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  788. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  789. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  790. </DockingManager.Resources>
  791. <LayoutRoot>
  792. <LayoutPanel Orientation="Horizontal">
  793. <LayoutDocumentPaneGroup>
  794. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  795. <LayoutDocument Title="Document 1" ContentId="document1">
  796. <Grid x:Name="DockingGrid">
  797. <Grid.RowDefinitions>
  798. <RowDefinition Height="*" />
  799. </Grid.RowDefinitions>
  800. <Grid.ColumnDefinitions>
  801. <ColumnDefinition Width="*" />
  802. <ColumnDefinition Width="0" />
  803. <ColumnDefinition Width="0" />
  804. </Grid.ColumnDefinitions>
  805. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  806. VerticalAlignment="Stretch"
  807. Grid.Column="0" Grid.Row="0" Margin="0,-4,2,-4" />
  808. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  809. ResizeBehavior="PreviousAndNext"
  810. Background="Transparent"
  811. Template="{StaticResource VerticalSplitter}">
  812. <syncfusion:SfGridSplitter.PreviewStyle>
  813. <Style TargetType="Control">
  814. <Setter Property="Background" Value="Gray" />
  815. <Setter Property="Template">
  816. <Setter.Value>
  817. <ControlTemplate TargetType="Control">
  818. <Grid x:Name="Root" Opacity="0.5">
  819. <Rectangle Fill="{TemplateBinding Background}" />
  820. </Grid>
  821. </ControlTemplate>
  822. </Setter.Value>
  823. </Setter>
  824. </Style>
  825. </syncfusion:SfGridSplitter.PreviewStyle>
  826. </syncfusion:SfGridSplitter>
  827. <local:NotificationsDock
  828. x:Name="Notifications"
  829. Grid.Row="0"
  830. Grid.Column="2"
  831. Changed="Notifications_Changed"
  832. Margin="0,-4,0,-4" />
  833. </Grid>
  834. </LayoutDocument>
  835. </LayoutDocumentPane>
  836. </LayoutDocumentPaneGroup>
  837. </LayoutPanel>
  838. <LayoutRoot.LeftSide>
  839. <LayoutAnchorSide>
  840. <LayoutAnchorGroup x:Name="DockGroup">
  841. <LayoutAnchorable
  842. x:Name="ContactDock"
  843. Title="Address Book"
  844. ContentId="contacts"
  845. CanClose="False"
  846. CanFloat="False"
  847. CanHide="False"
  848. CanAutoHide="False"
  849. CanDockAsTabbedDocument="False"
  850. CanMove="False"
  851. AutoHideWidth="500"
  852. FloatingWidth="500"
  853. AutoHideMinWidth="400"
  854. IsActiveChanged="DockPanel_OnIsActiveChanged">
  855. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  856. <local:ContactDock x:Name="Contacts" />
  857. </Border>
  858. </LayoutAnchorable>
  859. <LayoutAnchorable
  860. x:Name="JobDock"
  861. Title="Projects"
  862. ContentId="projects"
  863. CanClose="False"
  864. CanFloat="False"
  865. CanHide="False"
  866. CanAutoHide="False"
  867. CanDockAsTabbedDocument="False"
  868. CanMove="False"
  869. AutoHideWidth="500"
  870. FloatingWidth="500"
  871. AutoHideMinWidth="400"
  872. IsActiveChanged="DockPanel_OnIsActiveChanged">
  873. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  874. <local:JobDock x:Name="Jobs" />
  875. </Border>
  876. </LayoutAnchorable>
  877. <LayoutAnchorable
  878. x:Name="ConsignmentDock"
  879. Title="Consignments"
  880. ContentId="consignments"
  881. CanClose="False"
  882. CanFloat="False"
  883. CanHide="False"
  884. CanAutoHide="True"
  885. CanDockAsTabbedDocument="False"
  886. AutoHideWidth="500"
  887. FloatingWidth="500"
  888. AutoHideMinWidth="400"
  889. IsActiveChanged="DockPanel_OnIsActiveChanged">
  890. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  891. <local:ConsignmentDock x:Name="Consignments" />
  892. </Border>
  893. </LayoutAnchorable>
  894. <LayoutAnchorable
  895. x:Name="DeliveryDock"
  896. Title="Deliveries"
  897. ContentId="deliveries"
  898. CanClose="False"
  899. CanFloat="False"
  900. CanHide="False"
  901. CanAutoHide="True"
  902. CanDockAsTabbedDocument="False"
  903. AutoHideWidth="500"
  904. FloatingWidth="500"
  905. AutoHideMinWidth="400"
  906. IsActiveChanged="DockPanel_OnIsActiveChanged">
  907. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  908. <local:DeliveryDock x:Name="Deliveries" />
  909. </Border>
  910. </LayoutAnchorable>
  911. <LayoutAnchorable
  912. x:Name="ProductLookupDock"
  913. Title="Products"
  914. ContentId="products"
  915. CanClose="False"
  916. CanFloat="False"
  917. CanHide="False"
  918. CanAutoHide="True"
  919. CanDockAsTabbedDocument="False"
  920. AutoHideWidth="500"
  921. FloatingWidth="500"
  922. AutoHideMinWidth="400"
  923. IsActiveChanged="DockPanel_OnIsActiveChanged">
  924. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  925. <local:ProductLookupDock x:Name="ProductLookup" />
  926. </Border>
  927. </LayoutAnchorable>
  928. <LayoutAnchorable
  929. x:Name="DigitalFormsDock"
  930. Title="Digital Forms"
  931. ContentId="digitalforms"
  932. CanClose="False"
  933. CanFloat="False"
  934. CanHide="False"
  935. CanAutoHide="True"
  936. CanDockAsTabbedDocument="False"
  937. AutoHideWidth="500"
  938. FloatingWidth="500"
  939. AutoHideMinWidth="400">
  940. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  941. <local:DigitalFormsDock x:Name="DigitalForms" />
  942. </Border>
  943. </LayoutAnchorable>
  944. <LayoutAnchorable
  945. x:Name="ProblemsDock"
  946. Title="Issues Centre"
  947. ContentId="problems"
  948. CanClose="False"
  949. CanFloat="False"
  950. CanHide="False"
  951. CanAutoHide="True"
  952. CanDockAsTabbedDocument="False"
  953. AutoHideWidth="500"
  954. FloatingWidth="500"
  955. AutoHideMinWidth="400"
  956. IsActiveChanged="DockPanel_OnIsActiveChanged">
  957. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  958. <local:ProblemsDock x:Name="Problems" />
  959. </Border>
  960. </LayoutAnchorable>
  961. <LayoutAnchorable
  962. x:Name="RequisitionsDock"
  963. Title="Requisitions"
  964. ContentId="requisitions"
  965. CanClose="False"
  966. CanFloat="False"
  967. CanHide="False"
  968. CanAutoHide="True"
  969. CanDockAsTabbedDocument="False"
  970. AutoHideWidth="500"
  971. FloatingWidth="500"
  972. AutoHideMinWidth="400"
  973. IsActiveChanged="DockPanel_OnIsActiveChanged">
  974. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  975. <local:RequisitionsDock x:Name="Requisitions" />
  976. </Border>
  977. </LayoutAnchorable>
  978. </LayoutAnchorGroup>
  979. </LayoutAnchorSide>
  980. </LayoutRoot.LeftSide>
  981. </LayoutRoot>
  982. </DockingManager>
  983. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  984. Background="DimGray">
  985. <Grid>
  986. <Grid.ColumnDefinitions>
  987. <ColumnDefinition Width="Auto" />
  988. <ColumnDefinition Width="*" />
  989. <ColumnDefinition Width="Auto" />
  990. <ColumnDefinition Width="Auto" />
  991. <ColumnDefinition Width="Auto" />
  992. <ColumnDefinition Width="Auto" />
  993. <ColumnDefinition Width="Auto" />
  994. <ColumnDefinition Width="Auto" />
  995. <ColumnDefinition Width="Auto" />
  996. <ColumnDefinition Width="100" />
  997. <ColumnDefinition Width="Auto" />
  998. </Grid.ColumnDefinitions>
  999. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  1000. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  1001. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1002. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  1003. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  1004. Click="SelectTask_Click" Width="25">
  1005. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  1006. </Button>
  1007. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  1008. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  1009. </DockPanel>
  1010. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  1011. Click="VideoRecordingButton_Click">
  1012. <Image x:Name="VideoRecordingStatus"
  1013. Source="pack://application:,,,/Resources/videorecording.png"
  1014. Height="24" Margin="2" />
  1015. </Button>
  1016. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1017. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1018. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1019. Height="24" Margin="2" />
  1020. </Button>
  1021. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1022. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1023. <Image x:Name="AudioRecordingStatus"
  1024. Source="pack://application:,,,/Resources/audiorecording.png"
  1025. Height="24" Margin="2" />
  1026. </Button>
  1027. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1028. Click="SecondaryWindow_Click" Visibility="Visible">
  1029. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1030. Height="24" Margin="2" />
  1031. </Button>
  1032. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1033. Click="Console_Click" Visibility="Visible">
  1034. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1035. Margin="2" />
  1036. </Button>
  1037. <Image x:Name="BackgroundUploadStatus"
  1038. Source="pack://application:,,,/Resources/upload.png"
  1039. Height="24" Margin="2"
  1040. Visibility="Hidden"/>
  1041. <Label Grid.Column="9" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1042. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1043. <Label Grid.Column="10" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1044. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1045. Visibility="Collapsed" />
  1046. </Grid>
  1047. </Border>
  1048. </Grid>
  1049. </fluent:RibbonWindow>