MainWindow.xaml 76 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181
  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. <ColumnDefinition Width="*" />
  713. </Grid.ColumnDefinitions>
  714. <Grid.RowDefinitions>
  715. <RowDefinition Height="30" />
  716. <RowDefinition Height="*" />
  717. </Grid.RowDefinitions>
  718. <fluent:Button
  719. x:Name="SendNotification"
  720. Header="Send Notification"
  721. BorderBrush="Gray"
  722. BorderThickness="0.75"
  723. Margin="0,0,5,0"
  724. Background="WhiteSmoke"
  725. Grid.Row="0"
  726. Grid.Column="3"
  727. Size="Middle"
  728. Icon="Resources/team.png"
  729. HorizontalAlignment="Stretch"
  730. Height="25"
  731. Click="SendNotificationClick" />
  732. <fluent:Button Grid.Row="1" Grid.Column="0"
  733. Header="Setup"
  734. LargeIcon="Resources/view.png"
  735. Click="Setup_Click"
  736. Margin="0,0,5,20"/>
  737. <fluent:Button Grid.Row="1" Grid.Column="1"
  738. Header="Forms"
  739. LargeIcon="Resources/contract.png"
  740. Click="Forms_Click"
  741. Margin="0,0,5,20"/>
  742. <fluent:Button Grid.Row="1" Grid.Column="2"
  743. Header="Support Tickets"
  744. LargeIcon="Resources/appicon.png"
  745. Click="Issues_Click"
  746. ToolTip="Raise an issue with the PRS team"
  747. Margin="0,0,5,20"/>
  748. <Border Grid.Row="1" Grid.Column="3"
  749. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  750. <StackPanel Orientation="Horizontal">
  751. <fluent:Button
  752. Header="Online Help"
  753. LargeIcon="Resources/help.png"
  754. Click="Wiki_Click" />
  755. <fluent:Button
  756. x:Name="EquipmentTechnicalLibrary"
  757. Header="Technical Library"
  758. LargeIcon="Resources/doc-pdf.png"
  759. Click="Library_Click" />
  760. </StackPanel>
  761. </Border>
  762. </Grid>
  763. <DockingManager x:Name="DockingManager"
  764. Grid.Row="1"
  765. Grid.Column="0"
  766. Grid.ColumnSpan="2"
  767. AllowMixedOrientation="True"
  768. AutoWindowSizeWhenOpened="True"
  769. IsVirtualizingAnchorable="True"
  770. IsVirtualizingDocument="True"
  771. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  772. <DockingManager.Theme>
  773. <MetroTheme />
  774. </DockingManager.Theme>
  775. <DockingManager.Resources>
  776. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  777. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  778. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  779. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  780. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  781. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  782. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  783. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  784. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  785. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  786. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  787. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  788. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  789. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  790. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  791. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  792. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  793. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  794. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  795. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  796. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  797. </DockingManager.Resources>
  798. <LayoutRoot>
  799. <LayoutPanel Orientation="Horizontal">
  800. <LayoutDocumentPaneGroup>
  801. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  802. <LayoutDocument Title="Document 1" ContentId="document1">
  803. <Grid x:Name="DockingGrid">
  804. <Grid.RowDefinitions>
  805. <RowDefinition Height="*" />
  806. </Grid.RowDefinitions>
  807. <Grid.ColumnDefinitions>
  808. <ColumnDefinition Width="*" />
  809. <ColumnDefinition Width="0" />
  810. <ColumnDefinition Width="0" />
  811. </Grid.ColumnDefinitions>
  812. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  813. VerticalAlignment="Stretch"
  814. Grid.Column="0" Grid.Row="0" Margin="0,-4,2,-4" />
  815. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  816. ResizeBehavior="PreviousAndNext"
  817. Background="Transparent"
  818. Template="{StaticResource VerticalSplitter}">
  819. <syncfusion:SfGridSplitter.PreviewStyle>
  820. <Style TargetType="Control">
  821. <Setter Property="Background" Value="Gray" />
  822. <Setter Property="Template">
  823. <Setter.Value>
  824. <ControlTemplate TargetType="Control">
  825. <Grid x:Name="Root" Opacity="0.5">
  826. <Rectangle Fill="{TemplateBinding Background}" />
  827. </Grid>
  828. </ControlTemplate>
  829. </Setter.Value>
  830. </Setter>
  831. </Style>
  832. </syncfusion:SfGridSplitter.PreviewStyle>
  833. </syncfusion:SfGridSplitter>
  834. <local:NotificationsDock
  835. x:Name="Notifications"
  836. Grid.Row="0"
  837. Grid.Column="2"
  838. Changed="Notifications_Changed"
  839. Margin="0,-4,0,-4" />
  840. </Grid>
  841. </LayoutDocument>
  842. </LayoutDocumentPane>
  843. </LayoutDocumentPaneGroup>
  844. </LayoutPanel>
  845. <LayoutRoot.LeftSide>
  846. <LayoutAnchorSide>
  847. <LayoutAnchorGroup x:Name="DockGroup">
  848. <LayoutAnchorable
  849. x:Name="ContactDock"
  850. Title="Address Book"
  851. ContentId="contacts"
  852. CanClose="False"
  853. CanFloat="False"
  854. CanHide="False"
  855. CanAutoHide="False"
  856. CanDockAsTabbedDocument="False"
  857. CanMove="False"
  858. AutoHideWidth="500"
  859. FloatingWidth="500"
  860. AutoHideMinWidth="400"
  861. IsActiveChanged="DockPanel_OnIsActiveChanged">
  862. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  863. <local:ContactDock x:Name="Contacts" />
  864. </Border>
  865. </LayoutAnchorable>
  866. <LayoutAnchorable
  867. x:Name="JobDock"
  868. Title="Projects"
  869. ContentId="projects"
  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" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  881. <local:JobDock x:Name="Jobs" />
  882. </Border>
  883. </LayoutAnchorable>
  884. <LayoutAnchorable
  885. x:Name="ConsignmentDock"
  886. Title="Consignments"
  887. ContentId="consignments"
  888. CanClose="False"
  889. CanFloat="False"
  890. CanHide="False"
  891. CanAutoHide="True"
  892. CanDockAsTabbedDocument="False"
  893. AutoHideWidth="500"
  894. FloatingWidth="500"
  895. AutoHideMinWidth="400"
  896. IsActiveChanged="DockPanel_OnIsActiveChanged">
  897. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  898. <local:ConsignmentDock x:Name="Consignments" />
  899. </Border>
  900. </LayoutAnchorable>
  901. <LayoutAnchorable
  902. x:Name="DeliveryDock"
  903. Title="Deliveries"
  904. ContentId="deliveries"
  905. CanClose="False"
  906. CanFloat="False"
  907. CanHide="False"
  908. CanAutoHide="True"
  909. CanDockAsTabbedDocument="False"
  910. AutoHideWidth="500"
  911. FloatingWidth="500"
  912. AutoHideMinWidth="400"
  913. IsActiveChanged="DockPanel_OnIsActiveChanged">
  914. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  915. <local:DeliveryDock x:Name="Deliveries" />
  916. </Border>
  917. </LayoutAnchorable>
  918. <LayoutAnchorable
  919. x:Name="ProductLookupDock"
  920. Title="Products"
  921. ContentId="products"
  922. CanClose="False"
  923. CanFloat="False"
  924. CanHide="False"
  925. CanAutoHide="True"
  926. CanDockAsTabbedDocument="False"
  927. AutoHideWidth="500"
  928. FloatingWidth="500"
  929. AutoHideMinWidth="400"
  930. IsActiveChanged="DockPanel_OnIsActiveChanged">
  931. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  932. <local:ProductLookupDock x:Name="ProductLookup" />
  933. </Border>
  934. </LayoutAnchorable>
  935. <LayoutAnchorable
  936. x:Name="DigitalFormsDock"
  937. Title="Digital Forms"
  938. ContentId="digitalforms"
  939. CanClose="False"
  940. CanFloat="False"
  941. CanHide="False"
  942. CanAutoHide="True"
  943. CanDockAsTabbedDocument="False"
  944. AutoHideWidth="500"
  945. FloatingWidth="500"
  946. AutoHideMinWidth="400">
  947. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  948. <local:DigitalFormsDock x:Name="DigitalForms" />
  949. </Border>
  950. </LayoutAnchorable>
  951. <LayoutAnchorable
  952. x:Name="ProblemsDock"
  953. Title="Issues Centre"
  954. ContentId="problems"
  955. CanClose="False"
  956. CanFloat="False"
  957. CanHide="False"
  958. CanAutoHide="True"
  959. CanDockAsTabbedDocument="False"
  960. AutoHideWidth="500"
  961. FloatingWidth="500"
  962. AutoHideMinWidth="400"
  963. IsActiveChanged="DockPanel_OnIsActiveChanged">
  964. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  965. <local:ProblemsDock x:Name="Problems" />
  966. </Border>
  967. </LayoutAnchorable>
  968. <LayoutAnchorable
  969. x:Name="RequisitionsDock"
  970. Title="Requisitions"
  971. ContentId="requisitions"
  972. CanClose="False"
  973. CanFloat="False"
  974. CanHide="False"
  975. CanAutoHide="True"
  976. CanDockAsTabbedDocument="False"
  977. AutoHideWidth="500"
  978. FloatingWidth="500"
  979. AutoHideMinWidth="400"
  980. IsActiveChanged="DockPanel_OnIsActiveChanged">
  981. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  982. <local:RequisitionsDock x:Name="Requisitions" />
  983. </Border>
  984. </LayoutAnchorable>
  985. </LayoutAnchorGroup>
  986. </LayoutAnchorSide>
  987. </LayoutRoot.LeftSide>
  988. </LayoutRoot>
  989. </DockingManager>
  990. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  991. Background="DimGray">
  992. <Grid>
  993. <Grid.ColumnDefinitions>
  994. <ColumnDefinition Width="Auto" />
  995. <ColumnDefinition Width="*" />
  996. <ColumnDefinition Width="Auto" />
  997. <ColumnDefinition Width="Auto" />
  998. <ColumnDefinition Width="Auto" />
  999. <ColumnDefinition Width="Auto" />
  1000. <ColumnDefinition Width="Auto" />
  1001. <ColumnDefinition Width="Auto" />
  1002. <ColumnDefinition Width="Auto" />
  1003. <ColumnDefinition Width="100" />
  1004. <ColumnDefinition Width="Auto" />
  1005. </Grid.ColumnDefinitions>
  1006. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  1007. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  1008. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1009. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  1010. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  1011. Click="SelectTask_Click" Width="25">
  1012. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  1013. </Button>
  1014. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  1015. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  1016. </DockPanel>
  1017. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  1018. Click="VideoRecordingButton_Click">
  1019. <Image x:Name="VideoRecordingStatus"
  1020. Source="pack://application:,,,/Resources/videorecording.png"
  1021. Height="24" Margin="2" />
  1022. </Button>
  1023. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1024. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1025. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1026. Height="24" Margin="2" />
  1027. </Button>
  1028. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1029. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1030. <Image x:Name="AudioRecordingStatus"
  1031. Source="pack://application:,,,/Resources/audiorecording.png"
  1032. Height="24" Margin="2" />
  1033. </Button>
  1034. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1035. Click="SecondaryWindow_Click" Visibility="Visible">
  1036. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1037. Height="24" Margin="2" />
  1038. </Button>
  1039. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1040. Click="Console_Click" Visibility="Visible">
  1041. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1042. Margin="2" />
  1043. </Button>
  1044. <Image x:Name="BackgroundUploadStatus"
  1045. Source="pack://application:,,,/Resources/upload.png"
  1046. Height="24" Margin="2"
  1047. Visibility="Hidden"/>
  1048. <Label Grid.Column="9" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1049. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1050. <Label Grid.Column="10" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1051. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1052. Visibility="Collapsed" />
  1053. </Grid>
  1054. </Border>
  1055. </Grid>
  1056. </fluent:RibbonWindow>