MainWindow.xaml 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  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="RequisitionsDock"
  946. Title="Requisitions"
  947. ContentId="requisitions"
  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:RequisitionsDock x:Name="Requisitions" />
  959. </Border>
  960. </LayoutAnchorable>
  961. </LayoutAnchorGroup>
  962. </LayoutAnchorSide>
  963. </LayoutRoot.LeftSide>
  964. </LayoutRoot>
  965. </DockingManager>
  966. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  967. Background="DimGray">
  968. <Grid>
  969. <Grid.ColumnDefinitions>
  970. <ColumnDefinition Width="Auto" />
  971. <ColumnDefinition Width="*" />
  972. <ColumnDefinition Width="Auto" />
  973. <ColumnDefinition Width="Auto" />
  974. <ColumnDefinition Width="Auto" />
  975. <ColumnDefinition Width="Auto" />
  976. <ColumnDefinition Width="Auto" />
  977. <ColumnDefinition Width="Auto" />
  978. <ColumnDefinition Width="Auto" />
  979. <ColumnDefinition Width="100" />
  980. <ColumnDefinition Width="Auto" />
  981. </Grid.ColumnDefinitions>
  982. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  983. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  984. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  985. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  986. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  987. Click="SelectTask_Click" Width="25">
  988. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  989. </Button>
  990. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  991. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  992. </DockPanel>
  993. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  994. Click="VideoRecordingButton_Click">
  995. <Image x:Name="VideoRecordingStatus"
  996. Source="pack://application:,,,/Resources/videorecording.png"
  997. Height="24" Margin="2" />
  998. </Button>
  999. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1000. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1001. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1002. Height="24" Margin="2" />
  1003. </Button>
  1004. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1005. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1006. <Image x:Name="AudioRecordingStatus"
  1007. Source="pack://application:,,,/Resources/audiorecording.png"
  1008. Height="24" Margin="2" />
  1009. </Button>
  1010. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1011. Click="SecondaryWindow_Click" Visibility="Visible">
  1012. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1013. Height="24" Margin="2" />
  1014. </Button>
  1015. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1016. Click="Console_Click" Visibility="Visible">
  1017. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1018. Margin="2" />
  1019. </Button>
  1020. <Image x:Name="BackgroundUploadStatus"
  1021. Source="pack://application:,,,/Resources/upload.png"
  1022. Height="24" Margin="2"
  1023. Visibility="Hidden"/>
  1024. <Label Grid.Column="9" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1025. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1026. <Label Grid.Column="10" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1027. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1028. Visibility="Collapsed" />
  1029. </Grid>
  1030. </Border>
  1031. </Grid>
  1032. </fluent:RibbonWindow>