MainWindow.xaml 60 KB

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