MainWindow.xaml 75 KB

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