MainWindow.xaml 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151
  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. xmlns:svgc="http://sharpvectors.codeplex.com/svgc/"
  12. Title="PRS Desktop"
  13. Height="900" Width="1200" Left="100" Top="100"
  14. WindowStartupLocation="CenterScreen"
  15. WindowState="Maximized"
  16. HorizontalContentAlignment="Stretch"
  17. VerticalContentAlignment="Stretch"
  18. Loaded="Window_Loaded"
  19. Unloaded="Window_Unloaded"
  20. Closing="Window_Closing"
  21. Closed="RibbonWindow_Closed"
  22. PreviewMouseUp="RibbonWindow_PreviewMouseUp"
  23. PreviewKeyUp="RibbonWindow_PreviewKeyUp"
  24. Activated="RibbonWindow_Activated"
  25. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  26. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  27. TitleBackground="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  28. TitleForeground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  29. NonActiveBorderBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  30. >
  31. <!-- GlowBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}" -->
  32. <!-- NonActiveGlowBrush="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}" -->
  33. <fluent:RibbonWindow.Resources>
  34. <!-- <ResourceDictionary> -->
  35. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Background"
  36. Color="{Binding Path=(themes:ThemeManager.BackstageBackgroundColor)}" />
  37. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Foreground"
  38. Color="{Binding Path=(themes:ThemeManager.BackstageForegroundColor)}" />
  39. <ControlTemplate x:Key="VerticalSplitter">
  40. <Grid Background="{TemplateBinding Background}" Width="4">
  41. <Button x:Name="PART_Left" Visibility="Collapsed" />
  42. <Button x:Name="PART_Right" Visibility="Collapsed" />
  43. <StackPanel Margin="0" Orientation="Vertical" VerticalAlignment="Center"
  44. HorizontalAlignment="Center">
  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. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  58. Margin="0,2,0,0" />
  59. </StackPanel>
  60. </Grid>
  61. </ControlTemplate>
  62. <!-- </ResourceDictionary> -->
  63. </fluent:RibbonWindow.Resources>
  64. <Grid x:Name="_mainScreen">
  65. <Grid.ColumnDefinitions>
  66. <ColumnDefinition Width="*" />
  67. <ColumnDefinition Width="Auto" />
  68. </Grid.ColumnDefinitions>
  69. <Grid.RowDefinitions>
  70. <RowDefinition x:Name="_ribbonRow" Height="Auto" />
  71. <RowDefinition Height="*" />
  72. <RowDefinition Height="Auto" />
  73. </Grid.RowDefinitions>
  74. <fluent:Ribbon x:Name="_ribbon" Grid.Row="0" Grid.ColumnSpan="2" IsCollapsed="False"
  75. PreviewMouseDoubleClick="_ribbon_OnPreviewMouseDoubleClick"
  76. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  77. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  78. Loaded="_ribbon_OnLoaded"
  79. >
  80. <fluent:Ribbon.Menu>
  81. <fluent:Backstage Header="System"
  82. Background="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  83. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}">
  84. <fluent:BackstageTabControl
  85. x:Name="_backstage"
  86. ItemsPanelBackground="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  87. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  88. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}">
  89. <fluent:SeparatorTabItem x:Name="BackstageSeparator" Height="20" />
  90. <fluent:Button
  91. x:Name="DatabaseSettings"
  92. Header="Database Settings"
  93. Click="DatabaseSettings_OnClick"
  94. Size="Middle"
  95. HorizontalAlignment="Stretch"
  96. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  97. <fluent:SeparatorTabItem x:Name="BackstageSeparator0" Height="20" />
  98. <fluent:Button
  99. x:Name="CompanyInformation"
  100. Header="Company Information"
  101. Click="CompanyInformation_OnClick"
  102. Size="Middle"
  103. HorizontalAlignment="Stretch"
  104. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  105. <fluent:SeparatorTabItem x:Name="BackstageSeparator1" Height="20" />
  106. <fluent:Button
  107. x:Name="SecurityDefaultsButton"
  108. Header="Security Defaults"
  109. Click="SecurityDefaultsButton_OnClick"
  110. Size="Middle"
  111. HorizontalAlignment="Stretch"
  112. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  113. <fluent:SeparatorTabItem x:Name="BackstageSeparator1a" Height="20" />
  114. <fluent:Button
  115. x:Name="SystemLogsButton"
  116. Header="View System Logs"
  117. Click="SystemLogsButton_OnClick"
  118. Size="Middle"
  119. HorizontalAlignment="Stretch"
  120. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  121. <fluent:Button
  122. x:Name="OpenSupportSessionButton"
  123. Header="Open Support Session"
  124. Click="OpenSupportSession_OnClick"
  125. Size="Middle"
  126. HorizontalAlignment="Stretch"
  127. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  128. <fluent:SeparatorTabItem x:Name="BackstageSeparator2a" Height="20" />
  129. <fluent:Button
  130. x:Name="CheckForUpdatesButton"
  131. Header="Check For Updates"
  132. Click="CheckForUpdates_OnClick"
  133. Size="Middle"
  134. HorizontalAlignment="Stretch"
  135. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  136. <fluent:SeparatorTabItem x:Name="BackstageSeparator2" Height="20" />
  137. <fluent:Button
  138. x:Name="DocumentTypeList"
  139. Header="Document Types"
  140. Click="DocumentTypeList_OnClick"
  141. Size="Middle"
  142. HorizontalAlignment="Stretch"
  143. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  144. <fluent:Button
  145. x:Name="EventList"
  146. Header="Events"
  147. Click="EventList_Click"
  148. Size="Middle"
  149. HorizontalAlignment="Stretch"
  150. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  151. <fluent:SeparatorTabItem x:Name="BackstageSeparator5" Height="20" />
  152. <fluent:Button
  153. x:Name="EditDetailsButton"
  154. VerticalAlignment="Bottom"
  155. Header="My Details"
  156. Click="EditDetailsButton_OnClick"
  157. Size="Middle"
  158. HorizontalAlignment="Stretch"
  159. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  160. <fluent:Button
  161. x:Name="LogoutButton"
  162. VerticalAlignment="Bottom"
  163. Header="Log Out"
  164. Click="LogoutButton_OnClick"
  165. Size="Middle"
  166. HorizontalAlignment="Stretch"
  167. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  168. <fluent:Button
  169. x:Name="LoginButton"
  170. VerticalAlignment="Bottom"
  171. Header="Log In"
  172. Click="LoginButton_OnClick"
  173. Size="Middle"
  174. HorizontalAlignment="Stretch"
  175. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  176. <fluent:SeparatorTabItem Height="20" />
  177. <fluent:Button
  178. x:Name="ExitButton"
  179. VerticalAlignment="Bottom"
  180. Header="Exit"
  181. Click="ExitButton_OnClick"
  182. Size="Middle"
  183. HorizontalAlignment="Stretch"
  184. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  185. </fluent:BackstageTabControl>
  186. </fluent:Backstage>
  187. </fluent:Ribbon.Menu>
  188. <fluent:RibbonTabItem x:Name="ProjectsTab" Header="Projects" IsSelected="False" Visibility="Collapsed">
  189. <fluent:RibbonGroupBox x:Name="ProjectsActions" Header="Actions">
  190. <fluent:Button Header="Refresh"
  191. LargeIcon="pack://application:,,,/Resources/refresh.png"
  192. Click="RefreshMenu_Click" />
  193. <syncfusion:RibbonSeparator />
  194. <fluent:Button x:Name="ProjectsDashboardButton" Header="Dashboards"
  195. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  196. <fluent:Button x:Name="ProjectMessagesButton"
  197. Header="Notification Centre"
  198. LargeIcon="pack://application:,,,/Resources/email.png" />
  199. <fluent:Button x:Name="ProjectTaskButton" Header="Task List"
  200. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  201. <fluent:Button x:Name="ProjectAttendanceButton" Header="In/Out Board"
  202. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  203. <fluent:Button x:Name="ProjectsMapButton" Header="Live Maps"
  204. LargeIcon="pack://application:,,,/Resources/map.png" />
  205. <fluent:Button x:Name="ProjectDailyReportButton" Header="Daily Report"
  206. LargeIcon="pack://application:,,,/Resources/report.png" />
  207. <syncfusion:RibbonSeparator x:Name="ProjectTaskSeparator" />
  208. <fluent:Button x:Name="QuotesButton" Header="Quotes"
  209. LargeIcon="pack://application:,,,/Resources/quotation.png"
  210. />
  211. <fluent:Button x:Name="ProjectsButton" Header="Projects"
  212. LargeIcon="pack://application:,,,/Resources/project.png"
  213. />
  214. <fluent:Button x:Name="ProjectPlannerButton" Header="Project Planner"
  215. LargeIcon="pack://application:,,,/Resources/calendar.png"
  216. />
  217. </fluent:RibbonGroupBox>
  218. <fluent:RibbonGroupBox x:Name="ProjectsSetup" Width="Auto" Header="Setup" Visibility="Collapsed">
  219. <fluent:Button x:Name="KitsMasterList" Header="Product Kits"
  220. LargeIcon="pack://application:,,,/Resources/kit.png" />
  221. <fluent:Button x:Name="CostSheetsMasterList" Header="Cost Sheets"
  222. LargeIcon="pack://application:,,,/Resources/costsheet.png" />
  223. </fluent:RibbonGroupBox>
  224. <fluent:RibbonGroupBox x:Name="ProjectReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  225. </fluent:RibbonTabItem>
  226. <fluent:RibbonTabItem x:Name="ManufacturingTab" Header="Manufacturing" IsSelected="False"
  227. Visibility="Collapsed">
  228. <fluent:RibbonGroupBox x:Name="ManufacturingActions" Header="Actions">
  229. <fluent:Button Header="Refresh"
  230. LargeIcon="pack://application:,,,/Resources/refresh.png"
  231. Click="RefreshMenu_Click" />
  232. <syncfusion:RibbonSeparator x:Name="ManufacturingTaskSeparator" />
  233. <fluent:Button x:Name="ManufacturingDashboardButton" Header="Dashboards"
  234. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  235. <fluent:Button x:Name="ManufacturingMessagesButton"
  236. Header="Notification Centre"
  237. LargeIcon="pack://application:,,,/Resources/email.png" />
  238. <fluent:Button x:Name="ManufacturingTaskButton" Header="Task List"
  239. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  240. <fluent:Button x:Name="ManufacturingAttendanceButton"
  241. Header="In/Out Board"
  242. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  243. <fluent:Button x:Name="ManufacturingMapButton" Header="Live Maps"
  244. LargeIcon="pack://application:,,,/Resources/map.png" />
  245. <fluent:Button x:Name="ManufacturingDailyReportButton"
  246. Header="Daily Report"
  247. LargeIcon="pack://application:,,,/Resources/report.png" />
  248. <syncfusion:RibbonSeparator x:Name="ManufacturingDesignSeparator" />
  249. <fluent:Button x:Name="DesignManagementButton" Header="Design Management"
  250. LargeIcon="pack://application:,,,/Resources/design.png" />
  251. <syncfusion:RibbonSeparator x:Name="ManufacturingActionSeparator" />
  252. <fluent:Button x:Name="FactoryStatusButton" Header="Manufacturing Status"
  253. LargeIcon="pack://application:,,,/Resources/factory.png" />
  254. <fluent:Button x:Name="FactoryAllocationButton"
  255. Header="Factory Allocation"
  256. LargeIcon="pack://application:,,,/Resources/assignments.png" />
  257. <fluent:Button x:Name="FactoryFloorButton" Header="Factory Floor"
  258. LargeIcon="pack://application:,,,/Resources/wrench.png" />
  259. <syncfusion:RibbonSeparator x:Name="ManufacturingAnalysisSeparator" />
  260. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  261. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  262. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  263. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  264. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  265. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  266. </fluent:RibbonGroupBox>
  267. <fluent:RibbonGroupBox x:Name="ManufacturingReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  268. </fluent:RibbonTabItem>
  269. <fluent:RibbonTabItem x:Name="ProductTab" Header="Products" IsSelected="False"
  270. Visibility="Collapsed">
  271. <fluent:RibbonGroupBox x:Name="ProductActions" Width="Auto" Header="Actions">
  272. <fluent:Button Header="Refresh"
  273. LargeIcon="pack://application:,,,/Resources/refresh.png"
  274. Click="RefreshMenu_Click" />
  275. <syncfusion:RibbonSeparator />
  276. <fluent:Button x:Name="ProductsDashboardButton" Header="Dashboards"
  277. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  278. <fluent:Button x:Name="ProductsMessagesButton"
  279. Header="Notification Centre"
  280. LargeIcon="pack://application:,,,/Resources/email.png" />
  281. <fluent:Button x:Name="ProductsTaskButton" Header="Task List"
  282. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  283. <fluent:Button x:Name="ProductsAttendanceButton" Header="In/Out Board"
  284. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  285. <fluent:Button x:Name="ProductsMapButton" Header="Live Maps"
  286. LargeIcon="pack://application:,,,/Resources/map.png" />
  287. <fluent:Button x:Name="ProductsDailyReportButton" Header="Daily Report"
  288. LargeIcon="pack://application:,,,/Resources/report.png" />
  289. <syncfusion:RibbonSeparator x:Name="ProductsTaskSeparator" />
  290. <fluent:Button x:Name="ProductsMasterList" Header="Product List"
  291. LargeIcon="pack://application:,,,/Resources/product.png" />
  292. <fluent:Button x:Name="StockLocationList" Header="Stock Locations"
  293. LargeIcon="pack://application:,,,/Resources/parcel.png" />
  294. <fluent:Button x:Name="StockMovementList" Header="Stock Movements"
  295. LargeIcon="pack://application:,,,/Resources/forklift.png" />
  296. <fluent:Button x:Name="StockForecastButton" Header="Stock Forecast"
  297. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  298. <fluent:Button x:Name="ReservationManagementButton" Header="Reservation Management"
  299. LargeIcon="pack://application:,,,/Resources/requisition.png" />
  300. </fluent:RibbonGroupBox>
  301. <fluent:RibbonGroupBox x:Name="ProductReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  302. </fluent:RibbonTabItem>
  303. <fluent:RibbonTabItem x:Name="LogisticsTab" Header="Logistics" IsSelected="False" Visibility="Collapsed">
  304. <fluent:RibbonGroupBox x:Name="LogisticsActions" Header="Actions">
  305. <fluent:Button Header="Refresh"
  306. LargeIcon="pack://application:,,,/Resources/refresh.png"
  307. Click="RefreshMenu_Click" />
  308. <syncfusion:RibbonSeparator />
  309. <fluent:Button x:Name="LogisticsDashboardButton" Header="Dashboards"
  310. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  311. <fluent:Button x:Name="LogisticsMessagesButton"
  312. Header="Notification Centre"
  313. LargeIcon="pack://application:,,,/Resources/email.png" />
  314. <fluent:Button x:Name="LogisticsTaskButton" Header="Task List"
  315. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  316. <fluent:Button x:Name="LogisticsAttendanceButton" Header="In/Out Board"
  317. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  318. <fluent:Button x:Name="LogisticsMapButton" Header="Live Maps"
  319. LargeIcon="pack://application:,,,/Resources/map.png" />
  320. <fluent:Button x:Name="LogisticsDailyReportButton" Header="Daily Report"
  321. LargeIcon="pack://application:,,,/Resources/report.png" />
  322. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator1" />
  323. <fluent:Button x:Name="ReadyToGoItemsButton" Header="Ready To Go"
  324. LargeIcon="{svgc:SvgImage Source=/Resources/truck.svg}" />
  325. <fluent:Button x:Name="DispatchButton" Header="Rack List"
  326. LargeIcon="pack://application:,,,/Resources/barcode.png" />
  327. <fluent:Button x:Name="RequisitionsButton" Header="Picking Lists"
  328. LargeIcon="{svgc:SvgImage Source=/Resources/box.svg}" />
  329. <fluent:Button x:Name="DeliveriesButton" Header="Deliveries"
  330. LargeIcon="{svgc:SvgImage Source=/Resources/truck.svg}" />
  331. <fluent:Button x:Name="DeliveredItemsButton" Header="Delivered On Site"
  332. LargeIcon="pack://application:,,,/Resources/lifter.png" />
  333. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator2" />
  334. <fluent:Button x:Name="ConsignmentButton" Header="Incoming Consignments"
  335. LargeIcon="pack://application:,,,/Resources/consignment.png" />
  336. </fluent:RibbonGroupBox>
  337. <fluent:RibbonGroupBox x:Name="LogisticsReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  338. </fluent:RibbonTabItem>
  339. <fluent:RibbonTabItem x:Name="HumanResourcesTab" Header="Human Resources" IsSelected="False"
  340. Visibility="Collapsed">
  341. <fluent:RibbonGroupBox x:Name="HumanResourcesActions" Header="Actions">
  342. <fluent:Button Header="Refresh"
  343. LargeIcon="pack://application:,,,/Resources/refresh.png"
  344. Click="RefreshMenu_Click" />
  345. <syncfusion:RibbonSeparator />
  346. <fluent:Button x:Name="HumanResourcesDashboardButton" Header="Dashboards"
  347. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  348. <fluent:Button x:Name="HumanResourcesMessagesButton"
  349. Header="Notification Centre"
  350. LargeIcon="pack://application:,,,/Resources/email.png" />
  351. <fluent:Button x:Name="HumanResourcesTaskButton" Header="Task List"
  352. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  353. <fluent:Button x:Name="HumanResourcesAttendanceButton"
  354. Header="In/Out Board"
  355. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  356. <fluent:Button x:Name="HumanResourcesMapButton" Header="Live Maps"
  357. LargeIcon="pack://application:,,,/Resources/map.png" />
  358. <fluent:Button x:Name="HumanResourcesDailyReportButton"
  359. Header="Daily Report"
  360. LargeIcon="pack://application:,,,/Resources/report.png" />
  361. <syncfusion:RibbonSeparator x:Name="HumanResourcesTaskSeparator" />
  362. <fluent:Button x:Name="CalendarButton" Header="Calendar"
  363. LargeIcon="pack://application:,,,/Resources/assignments.png" />
  364. <fluent:Button x:Name="EmployeePlannerButton" Header="Employee Planner"
  365. LargeIcon="pack://application:,,,/Resources/calendar.png" />
  366. <fluent:Button x:Name="TimesheetsButton" Header="Staff TimeSheets"
  367. LargeIcon="pack://application:,,,/Resources/clock.png" />
  368. <fluent:Button x:Name="LeaveRequestsButton" Header="Leave Requests"
  369. LargeIcon="{svgc:SvgImage Source=/Resources/beach.svg}" />
  370. <fluent:Button x:Name="MeetingsButton" Header="Meetings"
  371. LargeIcon="pack://application:,,,/Resources/employees.png" />
  372. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator1" />
  373. <fluent:Button x:Name="UsersButton" Header="User Accounts"
  374. LargeIcon="pack://application:,,,/Resources/user.png" />
  375. <fluent:Button x:Name="EmployeesButton" Header="Employee List"
  376. LargeIcon="pack://application:,,,/Resources/employee.png" />
  377. <fluent:Button x:Name="OrgChartButton" Header="Org Chart"
  378. LargeIcon="pack://application:,,,/Resources/orgchart.png" />
  379. </fluent:RibbonGroupBox>
  380. <fluent:RibbonGroupBox x:Name="HumanResourcesReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  381. </fluent:RibbonTabItem>
  382. <fluent:RibbonTabItem x:Name="AccountsReceivableTab" Header="Accounts Receivable" IsSelected="False" Visibility="Collapsed">
  383. <fluent:RibbonGroupBox x:Name="AccountsReceivableActions" Header="Actions">
  384. <fluent:Button Header="Refresh"
  385. LargeIcon="pack://application:,,,/Resources/refresh.png"
  386. Click="RefreshMenu_Click" />
  387. <syncfusion:RibbonSeparator />
  388. <fluent:Button x:Name="AccountsReceivableDashboardButton" Header="Dashboards"
  389. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  390. <fluent:Button x:Name="AccountsReceivableMessagesButton"
  391. Header="Notification Centre"
  392. LargeIcon="pack://application:,,,/Resources/email.png" />
  393. <fluent:Button x:Name="AccountsReceivableTaskButton" Header="Task List"
  394. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  395. <fluent:Button x:Name="AccountsReceivableAttendanceButton" Header="In/Out Board"
  396. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  397. <fluent:Button x:Name="AccountsReceivableMapButton" Header="Live Maps"
  398. LargeIcon="pack://application:,,,/Resources/map.png" />
  399. <fluent:Button x:Name="AccountsReceivableDailyReportButton" Header="Daily Report"
  400. LargeIcon="pack://application:,,,/Resources/report.png" />
  401. <syncfusion:RibbonSeparator x:Name="AccountsReceivableTaskSeparator1" />
  402. <fluent:Button x:Name="CustomerList" Header="Customers"
  403. LargeIcon="pack://application:,,,/Resources/customer.png" />
  404. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  405. LargeIcon="pack://application:,,,/Resources/invoice.png" />
  406. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  407. LargeIcon="pack://application:,,,/Resources/receipt.png" />
  408. </fluent:RibbonGroupBox>
  409. <fluent:RibbonGroupBox x:Name="AccountsReceivableReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  410. </fluent:RibbonTabItem>
  411. <fluent:RibbonTabItem x:Name="AccountsPayableTab" Header="Accounts Payable" IsSelected="False" Visibility="Collapsed">
  412. <fluent:RibbonGroupBox x:Name="AccountsPayableActions" Header="Actions">
  413. <fluent:Button Header="Refresh"
  414. LargeIcon="pack://application:,,,/Resources/refresh.png"
  415. Click="RefreshMenu_Click" />
  416. <syncfusion:RibbonSeparator />
  417. <fluent:Button x:Name="AccountsPayableDashboardButton" Header="Dashboards"
  418. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  419. <fluent:Button x:Name="AccountsPayableMessagesButton"
  420. Header="Notification Centre"
  421. LargeIcon="pack://application:,,,/Resources/email.png" />
  422. <fluent:Button x:Name="AccountsPayableTaskButton" Header="Task List"
  423. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  424. <fluent:Button x:Name="AccountsPayableAttendanceButton" Header="In/Out Board"
  425. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  426. <fluent:Button x:Name="AccountsPayableMapButton" Header="Live Maps"
  427. LargeIcon="pack://application:,,,/Resources/map.png" />
  428. <fluent:Button x:Name="AccountsPayableDailyReportButton" Header="Daily Report"
  429. LargeIcon="pack://application:,,,/Resources/report.png" />
  430. <syncfusion:RibbonSeparator x:Name="AccountsPayableTaskSeparator1" />
  431. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  432. LargeIcon="pack://application:,,,/Resources/supplier.png" />
  433. <fluent:Button x:Name="AccountsDataButton" Header="Data Entry"
  434. LargeIcon="pack://application:,,,/Resources/pencil.png" />
  435. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  436. LargeIcon="pack://application:,,,/Resources/purchase.png" />
  437. <fluent:Button x:Name="BillsList" Header="Bills"
  438. LargeIcon="pack://application:,,,/Resources/bill.png" />
  439. <fluent:Button x:Name="PaymentsList" Header="Payments"
  440. LargeIcon="pack://application:,,,/Resources/payment.png" />
  441. </fluent:RibbonGroupBox>
  442. <fluent:RibbonGroupBox x:Name="AccountsPayableReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  443. </fluent:RibbonTabItem>
  444. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  445. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions">
  446. <fluent:Button Header="Refresh"
  447. LargeIcon="pack://application:,,,/Resources/refresh.png"
  448. Click="RefreshMenu_Click" />
  449. <syncfusion:RibbonSeparator />
  450. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  451. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  452. <fluent:Button x:Name="EquipmentMessagesButton"
  453. Header="Notification Centre"
  454. LargeIcon="pack://application:,,,/Resources/email.png" />
  455. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  456. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  457. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  458. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  459. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  460. LargeIcon="pack://application:,,,/Resources/map.png" />
  461. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  462. LargeIcon="pack://application:,,,/Resources/report.png" />
  463. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  464. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  465. LargeIcon="pack://application:,,,/Resources/specifications.png"/>
  466. <fluent:Button x:Name="EquipmentMaintenanceButton" Header="Planned Maintenance"
  467. LargeIcon="pack://application:,,,/Resources/service.png" />
  468. <fluent:Button x:Name="EquipmentPlannerButton" Header="Equipment Planner"
  469. LargeIcon="pack://application:,,,/Resources/calendar.png" />
  470. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  471. LargeIcon="pack://application:,,,/Resources/milestone.png" />
  472. </fluent:RibbonGroupBox>
  473. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  474. </fluent:RibbonTabItem>
  475. <fluent:RibbonTabItem x:Name="DigitalFormsTab" Header="Digital Forms" IsSelected="False" Visibility="Collapsed">
  476. <fluent:RibbonGroupBox x:Name="DigitalFormsActions" Width="Auto" Header="Actions">
  477. <fluent:Button Header="Refresh"
  478. LargeIcon="pack://application:,,,/Resources/refresh.png"
  479. Click="RefreshMenu_Click" />
  480. <syncfusion:RibbonSeparator />
  481. <fluent:Button x:Name="DigitalFormsDashboardButton" Header="Dashboards"
  482. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  483. <fluent:Button x:Name="DigitalFormsMessagesButton"
  484. Header="Notification Centre"
  485. LargeIcon="pack://application:,,,/Resources/email.png" />
  486. <fluent:Button x:Name="DigitalFormsTaskButton" Header="Task List"
  487. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  488. <fluent:Button x:Name="DigitalFormsAttendanceButton" Header="In/Out Board"
  489. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  490. <fluent:Button x:Name="DigitalFormsMapButton" Header="Live Maps"
  491. LargeIcon="pack://application:,,,/Resources/map.png" />
  492. <fluent:Button x:Name="DigitalFormsDailyReportButton" Header="Daily Report"
  493. LargeIcon="pack://application:,,,/Resources/report.png" />
  494. <syncfusion:RibbonSeparator x:Name="DigitalFormsTaskSeparator" />
  495. <fluent:Button x:Name="DigitalFormsFormsLibraryButton" Header="Forms Library"
  496. LargeIcon="{svgc:SvgImage Source=/Resources/formslibrary.svg}" />
  497. <fluent:Button x:Name="DigitalFormsCompletedFormsButton" Header="Forms Dashboard"
  498. LargeIcon="{svgc:SvgImage Source=/Resources/formsinstance.svg}" />
  499. </fluent:RibbonGroupBox>
  500. <fluent:RibbonGroupBox x:Name="DigitalFormReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  501. </fluent:RibbonTabItem>
  502. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  503. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions">
  504. <fluent:Button Header="Refresh"
  505. LargeIcon="pack://application:,,,/Resources/refresh.png"
  506. Click="RefreshMenu_Click" />
  507. <syncfusion:RibbonSeparator />
  508. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  509. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  510. <fluent:Button x:Name="DashboardMessagesButton"
  511. Header="Notification Centre"
  512. LargeIcon="pack://application:,,,/Resources/email.png" />
  513. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  514. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  515. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  516. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  517. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  518. LargeIcon="pack://application:,,,/Resources/map.png" />
  519. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  520. LargeIcon="pack://application:,,,/Resources/report.png" />
  521. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  522. <!--This is where the static dashboards need to go-->
  523. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  524. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  525. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  526. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  527. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  528. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  529. </fluent:RibbonGroupBox>
  530. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  531. </fluent:RibbonTabItem>
  532. </fluent:Ribbon>
  533. <Grid Grid.Row="0" Grid.Column="1">
  534. <Grid.ColumnDefinitions>
  535. <ColumnDefinition Width="*" />
  536. <ColumnDefinition Width="*" />
  537. <ColumnDefinition Width="*" />
  538. <ColumnDefinition Width="*" />
  539. </Grid.ColumnDefinitions>
  540. <Grid.RowDefinitions>
  541. <RowDefinition Height="30" />
  542. <RowDefinition Height="*" />
  543. </Grid.RowDefinitions>
  544. <fluent:Button
  545. x:Name="SendNotification"
  546. Header="Send Notification"
  547. BorderBrush="Gray"
  548. BorderThickness="0.75"
  549. Margin="0,0,5,0"
  550. Background="WhiteSmoke"
  551. Grid.Row="0"
  552. Grid.Column="3"
  553. Size="Middle"
  554. Icon="Resources/team.png"
  555. HorizontalAlignment="Stretch"
  556. Height="25"
  557. Click="SendNotificationClick" />
  558. <fluent:Button Grid.Row="1" Grid.Column="0"
  559. Header="Setup"
  560. LargeIcon="{svgc:SvgImage Source=/Resources/settings.svg}"
  561. Click="Setup_Click"
  562. Margin="0,0,5,20"/>
  563. <fluent:Button Grid.Row="1" Grid.Column="1"
  564. Header="Forms"
  565. LargeIcon="{svgc:SvgImage Source=/Resources/formslibrary.svg}"
  566. Click="Forms_Click"
  567. Margin="0,0,5,20"/>
  568. <fluent:Button Grid.Row="1" Grid.Column="2"
  569. x:Name="IssuesButton"
  570. Header="Support Tickets"
  571. LargeIcon="{svgc:SvgImage Source=/Resources/appicon.svg}"
  572. Click="Issues_Click"
  573. ToolTip="Raise an issue with the PRS team"
  574. Margin="0,0,5,20"/>
  575. <Border Grid.Row="1" Grid.Column="3"
  576. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  577. <StackPanel Orientation="Horizontal">
  578. <fluent:Button
  579. Header="Online Help"
  580. LargeIcon="{svgc:SvgImage Source=/Resources/help.svg}"
  581. Click="Wiki_Click" />
  582. <fluent:Button
  583. x:Name="EquipmentTechnicalLibrary"
  584. Header="Technical Library"
  585. LargeIcon="{svgc:SvgImage Source=/Resources/techlibrary.svg}"
  586. Click="Library_Click" />
  587. </StackPanel>
  588. </Border>
  589. </Grid>
  590. <DockingManager x:Name="DockingManager"
  591. Grid.Row="1"
  592. Grid.Column="0"
  593. Grid.ColumnSpan="2"
  594. AllowMixedOrientation="True"
  595. AutoWindowSizeWhenOpened="True"
  596. IsVirtualizingAnchorable="True"
  597. IsVirtualizingDocument="True"
  598. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  599. <DockingManager.Theme>
  600. <MetroTheme />
  601. </DockingManager.Theme>
  602. <DockingManager.Resources>
  603. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  604. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  605. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  606. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  607. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  608. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  609. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  610. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  611. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  612. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  613. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  614. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  615. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  616. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  617. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  618. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  619. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  620. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  621. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  622. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  623. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  624. </DockingManager.Resources>
  625. <LayoutRoot>
  626. <LayoutPanel Orientation="Horizontal">
  627. <LayoutDocumentPaneGroup>
  628. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  629. <LayoutDocument Title="Document 1" ContentId="document1">
  630. <Grid x:Name="DockingGrid">
  631. <Grid.RowDefinitions>
  632. <RowDefinition Height="*" />
  633. </Grid.RowDefinitions>
  634. <Grid.ColumnDefinitions>
  635. <ColumnDefinition Width="*" />
  636. <ColumnDefinition Width="0" />
  637. <ColumnDefinition Width="0" />
  638. </Grid.ColumnDefinitions>
  639. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  640. VerticalAlignment="Stretch"
  641. Grid.Column="0" Grid.Row="0" Margin="0,-4,2,-4" />
  642. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  643. ResizeBehavior="PreviousAndNext"
  644. Background="Transparent"
  645. Template="{StaticResource VerticalSplitter}">
  646. <syncfusion:SfGridSplitter.PreviewStyle>
  647. <Style TargetType="Control">
  648. <Setter Property="Background" Value="Gray" />
  649. <Setter Property="Template">
  650. <Setter.Value>
  651. <ControlTemplate TargetType="Control">
  652. <Grid x:Name="Root" Opacity="0.5">
  653. <Rectangle Fill="{TemplateBinding Background}" />
  654. </Grid>
  655. </ControlTemplate>
  656. </Setter.Value>
  657. </Setter>
  658. </Style>
  659. </syncfusion:SfGridSplitter.PreviewStyle>
  660. </syncfusion:SfGridSplitter>
  661. <local:NotificationsDock
  662. x:Name="Notifications"
  663. Grid.Row="0"
  664. Grid.Column="2"
  665. Changed="Notifications_Changed"
  666. Margin="0,-4,0,-4" />
  667. </Grid>
  668. </LayoutDocument>
  669. </LayoutDocumentPane>
  670. </LayoutDocumentPaneGroup>
  671. </LayoutPanel>
  672. <LayoutRoot.LeftSide>
  673. <LayoutAnchorSide>
  674. <LayoutAnchorGroup x:Name="DockGroup">
  675. <LayoutAnchorable
  676. x:Name="ContactDock"
  677. Title="Address Book"
  678. ContentId="contacts"
  679. CanClose="False"
  680. CanFloat="False"
  681. CanHide="False"
  682. CanAutoHide="False"
  683. CanDockAsTabbedDocument="False"
  684. CanMove="False"
  685. AutoHideWidth="500"
  686. FloatingWidth="500"
  687. AutoHideMinWidth="400"
  688. IsActiveChanged="DockPanel_OnIsActiveChanged">
  689. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  690. <local:ContactDock x:Name="Contacts" />
  691. </Border>
  692. </LayoutAnchorable>
  693. <LayoutAnchorable
  694. x:Name="JobDock"
  695. Title="Projects"
  696. ContentId="projects"
  697. CanClose="False"
  698. CanFloat="False"
  699. CanHide="False"
  700. CanAutoHide="False"
  701. CanDockAsTabbedDocument="False"
  702. CanMove="False"
  703. AutoHideWidth="500"
  704. FloatingWidth="500"
  705. AutoHideMinWidth="400"
  706. IsActiveChanged="DockPanel_OnIsActiveChanged">
  707. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  708. <local:JobDock x:Name="Jobs" />
  709. </Border>
  710. </LayoutAnchorable>
  711. <LayoutAnchorable
  712. x:Name="ConsignmentDock"
  713. Title="Consignments"
  714. ContentId="consignments"
  715. CanClose="False"
  716. CanFloat="False"
  717. CanHide="False"
  718. CanAutoHide="True"
  719. CanDockAsTabbedDocument="False"
  720. AutoHideWidth="500"
  721. FloatingWidth="500"
  722. AutoHideMinWidth="400"
  723. IsActiveChanged="DockPanel_OnIsActiveChanged">
  724. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  725. <local:ConsignmentDock x:Name="Consignments" />
  726. </Border>
  727. </LayoutAnchorable>
  728. <LayoutAnchorable
  729. x:Name="DeliveryDock"
  730. Title="Deliveries"
  731. ContentId="deliveries"
  732. CanClose="False"
  733. CanFloat="False"
  734. CanHide="False"
  735. CanAutoHide="True"
  736. CanDockAsTabbedDocument="False"
  737. AutoHideWidth="500"
  738. FloatingWidth="500"
  739. AutoHideMinWidth="400"
  740. IsActiveChanged="DockPanel_OnIsActiveChanged">
  741. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  742. <local:DeliveryDock x:Name="Deliveries" />
  743. </Border>
  744. </LayoutAnchorable>
  745. <LayoutAnchorable
  746. x:Name="ProductLookupDock"
  747. Title="Products"
  748. ContentId="products"
  749. CanClose="False"
  750. CanFloat="False"
  751. CanHide="False"
  752. CanAutoHide="True"
  753. CanDockAsTabbedDocument="False"
  754. AutoHideWidth="500"
  755. FloatingWidth="500"
  756. AutoHideMinWidth="400"
  757. IsActiveChanged="DockPanel_OnIsActiveChanged">
  758. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  759. <local:ProductLookupDock x:Name="ProductLookup" />
  760. </Border>
  761. </LayoutAnchorable>
  762. <LayoutAnchorable
  763. x:Name="DigitalFormsDock"
  764. Title="Digital Forms"
  765. ContentId="digitalforms"
  766. CanClose="False"
  767. CanFloat="False"
  768. CanHide="False"
  769. CanAutoHide="True"
  770. CanDockAsTabbedDocument="False"
  771. AutoHideWidth="500"
  772. FloatingWidth="500"
  773. AutoHideMinWidth="400"
  774. IsActiveChanged="DockPanel_OnIsActiveChanged">
  775. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  776. <local:DigitalFormsDock x:Name="DigitalForms" />
  777. </Border>
  778. </LayoutAnchorable>
  779. <LayoutAnchorable
  780. x:Name="ProblemsDock"
  781. Title="Issues Centre"
  782. ContentId="problems"
  783. CanClose="False"
  784. CanFloat="False"
  785. CanHide="False"
  786. CanAutoHide="True"
  787. CanDockAsTabbedDocument="False"
  788. AutoHideWidth="500"
  789. FloatingWidth="500"
  790. AutoHideMinWidth="400"
  791. IsActiveChanged="DockPanel_OnIsActiveChanged">
  792. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  793. <local:ProblemsDock x:Name="Problems" />
  794. </Border>
  795. </LayoutAnchorable>
  796. <LayoutAnchorable
  797. x:Name="RequisitionsDock"
  798. Title="Requisitions"
  799. ContentId="requisitions"
  800. CanClose="False"
  801. CanFloat="False"
  802. CanHide="False"
  803. CanAutoHide="True"
  804. CanDockAsTabbedDocument="False"
  805. AutoHideWidth="500"
  806. FloatingWidth="500"
  807. AutoHideMinWidth="400"
  808. IsActiveChanged="DockPanel_OnIsActiveChanged">
  809. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  810. <local:RequisitionsDock x:Name="Requisitions" />
  811. </Border>
  812. </LayoutAnchorable>
  813. </LayoutAnchorGroup>
  814. </LayoutAnchorSide>
  815. </LayoutRoot.LeftSide>
  816. </LayoutRoot>
  817. </DockingManager>
  818. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  819. Background="DimGray">
  820. <Grid>
  821. <Grid.ColumnDefinitions>
  822. <ColumnDefinition Width="Auto" />
  823. <ColumnDefinition Width="*" />
  824. <ColumnDefinition Width="Auto" />
  825. <ColumnDefinition Width="Auto" />
  826. <ColumnDefinition Width="Auto" />
  827. <ColumnDefinition Width="Auto" />
  828. <ColumnDefinition Width="Auto" />
  829. </Grid.ColumnDefinitions>
  830. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  831. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  832. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  833. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  834. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  835. Click="SelectTask_Click" Width="25">
  836. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  837. </Button>
  838. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  839. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  840. </DockPanel>
  841. <!-- <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent" -->
  842. <!-- Click="VideoRecordingButton_Click"> -->
  843. <!-- <Image x:Name="VideoRecordingStatus" -->
  844. <!-- Source="pack://application:,,,/Resources/videorecording.png" -->
  845. <!-- Height="24" Margin="2" /> -->
  846. <!-- </Button> -->
  847. <!-- -->
  848. <!-- <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent" -->
  849. <!-- Click="RecordingNotesButton_Click" Visibility="Hidden"> -->
  850. <!-- <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png" -->
  851. <!-- Height="24" Margin="2" /> -->
  852. <!-- </Button> -->
  853. <!-- -->
  854. <!-- <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent" -->
  855. <!-- Click="AudioRecordingButton_Click" Visibility="Hidden"> -->
  856. <!-- <Image x:Name="AudioRecordingStatus" -->
  857. <!-- Source="pack://application:,,,/Resources/audiorecording.png" -->
  858. <!-- Height="24" Margin="2" /> -->
  859. <!-- </Button> -->
  860. <Button Grid.Column="3" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  861. Click="Console_Click" Visibility="Visible">
  862. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  863. Margin="2" />
  864. </Button>
  865. <Image x:Name="BackgroundUploadStatus"
  866. Grid.Column="4"
  867. Source="pack://application:,,,/Resources/upload.png"
  868. Height="24" Margin="2"
  869. Visibility="Hidden"/>
  870. <Label Grid.Column="5" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  871. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Margin="5,0,5,0" />
  872. <Label Grid.Column="6" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  873. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  874. Visibility="Collapsed" Margin="5,0,5,0" />
  875. </Grid>
  876. </Border>
  877. </Grid>
  878. </fluent:RibbonWindow>