MainWindow.xaml 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113
  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. </fluent:RibbonGroupBox>
  260. <fluent:RibbonGroupBox x:Name="ManufacturingReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  261. </fluent:RibbonTabItem>
  262. <fluent:RibbonTabItem x:Name="ProductTab" Header="Products" IsSelected="False"
  263. Visibility="Collapsed">
  264. <fluent:RibbonGroupBox x:Name="ProductActions" Width="Auto" Header="Actions">
  265. <fluent:Button Header="Refresh"
  266. LargeIcon="pack://application:,,,/Resources/refresh.png"
  267. Click="RefreshMenu_Click" />
  268. <syncfusion:RibbonSeparator />
  269. <fluent:Button x:Name="ProductsDashboardButton" Header="Dashboards"
  270. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  271. <fluent:Button x:Name="ProductsMessagesButton"
  272. Header="Notification Centre"
  273. LargeIcon="pack://application:,,,/Resources/email.png" />
  274. <fluent:Button x:Name="ProductsTaskButton" Header="Task List"
  275. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  276. <fluent:Button x:Name="ProductsAttendanceButton" Header="In/Out Board"
  277. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  278. <fluent:Button x:Name="ProductsMapButton" Header="Live Maps"
  279. LargeIcon="pack://application:,,,/Resources/map.png" />
  280. <fluent:Button x:Name="ProductsDailyReportButton" Header="Daily Report"
  281. LargeIcon="pack://application:,,,/Resources/report.png" />
  282. <syncfusion:RibbonSeparator x:Name="ProductsTaskSeparator" />
  283. <fluent:Button x:Name="ProductsMasterList" Header="Product List"
  284. LargeIcon="pack://application:,,,/Resources/product.png" />
  285. <fluent:Button x:Name="StockLocationList" Header="Stock Locations"
  286. LargeIcon="pack://application:,,,/Resources/parcel.png" />
  287. <fluent:Button x:Name="StockMovementList" Header="Stock Movements"
  288. LargeIcon="pack://application:,,,/Resources/forklift.png" />
  289. <fluent:Button x:Name="StockForecastButton" Header="Stock Forecast"
  290. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  291. <fluent:Button x:Name="ReservationManagementButton" Header="Reservation Management"
  292. LargeIcon="pack://application:,,,/Resources/requisition.png" />
  293. </fluent:RibbonGroupBox>
  294. <fluent:RibbonGroupBox x:Name="ProductReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  295. </fluent:RibbonTabItem>
  296. <fluent:RibbonTabItem x:Name="LogisticsTab" Header="Logistics" IsSelected="False" Visibility="Collapsed">
  297. <fluent:RibbonGroupBox x:Name="LogisticsActions" Header="Actions">
  298. <fluent:Button Header="Refresh"
  299. LargeIcon="pack://application:,,,/Resources/refresh.png"
  300. Click="RefreshMenu_Click" />
  301. <syncfusion:RibbonSeparator />
  302. <fluent:Button x:Name="LogisticsDashboardButton" Header="Dashboards"
  303. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  304. <fluent:Button x:Name="LogisticsMessagesButton"
  305. Header="Notification Centre"
  306. LargeIcon="pack://application:,,,/Resources/email.png" />
  307. <fluent:Button x:Name="LogisticsTaskButton" Header="Task List"
  308. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  309. <fluent:Button x:Name="LogisticsAttendanceButton" Header="In/Out Board"
  310. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  311. <fluent:Button x:Name="LogisticsMapButton" Header="Live Maps"
  312. LargeIcon="pack://application:,,,/Resources/map.png" />
  313. <fluent:Button x:Name="LogisticsDailyReportButton" Header="Daily Report"
  314. LargeIcon="pack://application:,,,/Resources/report.png" />
  315. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator1" />
  316. <fluent:Button x:Name="ReadyToGoItemsButton" Header="Ready To Go"
  317. LargeIcon="{svgc:SvgImage Source=/Resources/truck.svg}" />
  318. <fluent:Button x:Name="DispatchButton" Header="Rack List"
  319. LargeIcon="pack://application:,,,/Resources/barcode.png" />
  320. <fluent:Button x:Name="RequisitionsButton" Header="Picking Lists"
  321. LargeIcon="{svgc:SvgImage Source=/Resources/box.svg}" />
  322. <fluent:Button x:Name="DeliveriesButton" Header="Deliveries"
  323. LargeIcon="{svgc:SvgImage Source=/Resources/truck.svg}" />
  324. <fluent:Button x:Name="DeliveredItemsButton" Header="Delivered On Site"
  325. LargeIcon="pack://application:,,,/Resources/lifter.png" />
  326. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator2" />
  327. <fluent:Button x:Name="ConsignmentButton" Header="Incoming Consignments"
  328. LargeIcon="pack://application:,,,/Resources/consignment.png" />
  329. </fluent:RibbonGroupBox>
  330. <fluent:RibbonGroupBox x:Name="LogisticsReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  331. </fluent:RibbonTabItem>
  332. <fluent:RibbonTabItem x:Name="HumanResourcesTab" Header="Human Resources" IsSelected="False"
  333. Visibility="Collapsed">
  334. <fluent:RibbonGroupBox x:Name="HumanResourcesActions" Header="Actions">
  335. <fluent:Button Header="Refresh"
  336. LargeIcon="pack://application:,,,/Resources/refresh.png"
  337. Click="RefreshMenu_Click" />
  338. <syncfusion:RibbonSeparator />
  339. <fluent:Button x:Name="HumanResourcesDashboardButton" Header="Dashboards"
  340. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  341. <fluent:Button x:Name="HumanResourcesMessagesButton"
  342. Header="Notification Centre"
  343. LargeIcon="pack://application:,,,/Resources/email.png" />
  344. <fluent:Button x:Name="HumanResourcesTaskButton" Header="Task List"
  345. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  346. <fluent:Button x:Name="HumanResourcesAttendanceButton"
  347. Header="In/Out Board"
  348. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  349. <fluent:Button x:Name="HumanResourcesMapButton" Header="Live Maps"
  350. LargeIcon="pack://application:,,,/Resources/map.png" />
  351. <fluent:Button x:Name="HumanResourcesDailyReportButton"
  352. Header="Daily Report"
  353. LargeIcon="pack://application:,,,/Resources/report.png" />
  354. <syncfusion:RibbonSeparator x:Name="HumanResourcesTaskSeparator" />
  355. <fluent:Button x:Name="CalendarButton" Header="Calendar"
  356. LargeIcon="pack://application:,,,/Resources/assignments.png" />
  357. <fluent:Button x:Name="EmployeePlannerButton" Header="Employee Planner"
  358. LargeIcon="pack://application:,,,/Resources/calendar.png" />
  359. <fluent:Button x:Name="TimesheetsButton" Header="Staff TimeSheets"
  360. LargeIcon="pack://application:,,,/Resources/clock.png" />
  361. <fluent:Button x:Name="LeaveRequestsButton" Header="Leave Requests"
  362. LargeIcon="{svgc:SvgImage Source=/Resources/beach.svg}" />
  363. <fluent:Button x:Name="MeetingsButton" Header="Meetings"
  364. LargeIcon="pack://application:,,,/Resources/employees.png" />
  365. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator1" />
  366. <fluent:Button x:Name="UsersButton" Header="User Accounts"
  367. LargeIcon="pack://application:,,,/Resources/user.png" />
  368. <fluent:Button x:Name="EmployeesButton" Header="Employee List"
  369. LargeIcon="pack://application:,,,/Resources/employee.png" />
  370. <fluent:Button x:Name="OrgChartButton" Header="Org Chart"
  371. LargeIcon="pack://application:,,,/Resources/orgchart.png" />
  372. </fluent:RibbonGroupBox>
  373. <fluent:RibbonGroupBox x:Name="HumanResourcesReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  374. </fluent:RibbonTabItem>
  375. <fluent:RibbonTabItem x:Name="AccountsTab" Header="Accounts" IsSelected="False" Visibility="Collapsed">
  376. <fluent:RibbonGroupBox x:Name="AccountsActions" Header="Actions">
  377. <fluent:Button Header="Refresh"
  378. LargeIcon="pack://application:,,,/Resources/refresh.png"
  379. Click="RefreshMenu_Click" />
  380. <syncfusion:RibbonSeparator />
  381. <fluent:Button x:Name="AccountsDashboardButton" Header="Dashboards"
  382. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  383. <fluent:Button x:Name="AccountsMessagesButton"
  384. Header="Notification Centre"
  385. LargeIcon="pack://application:,,,/Resources/email.png" />
  386. <fluent:Button x:Name="AccountsTaskButton" Header="Task List"
  387. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  388. <fluent:Button x:Name="AccountsAttendanceButton" Header="In/Out Board"
  389. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  390. <fluent:Button x:Name="AccountsMapButton" Header="Live Maps"
  391. LargeIcon="pack://application:,,,/Resources/map.png" />
  392. <fluent:Button x:Name="AccountsDailyReportButton" Header="Daily Report"
  393. LargeIcon="pack://application:,,,/Resources/report.png" />
  394. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator1" />
  395. <fluent:Button x:Name="CustomerList" Header="Customers"
  396. LargeIcon="pack://application:,,,/Resources/customer.png" />
  397. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  398. LargeIcon="pack://application:,,,/Resources/invoice.png" />
  399. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  400. LargeIcon="pack://application:,,,/Resources/receipt.png" />
  401. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator2" />
  402. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  403. LargeIcon="pack://application:,,,/Resources/supplier.png" />
  404. <fluent:Button x:Name="AccountsDataButton" Header="Data Entry"
  405. LargeIcon="pack://application:,,,/Resources/pencil.png" />
  406. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  407. LargeIcon="pack://application:,,,/Resources/purchase.png" />
  408. <fluent:Button x:Name="BillsList" Header="Bills"
  409. LargeIcon="pack://application:,,,/Resources/bill.png" />
  410. <fluent:Button x:Name="PaymentsList" Header="Payments"
  411. LargeIcon="pack://application:,,,/Resources/payment.png" />
  412. </fluent:RibbonGroupBox>
  413. <fluent:RibbonGroupBox x:Name="AccountsReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  414. </fluent:RibbonTabItem>
  415. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  416. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions">
  417. <fluent:Button Header="Refresh"
  418. LargeIcon="pack://application:,,,/Resources/refresh.png"
  419. Click="RefreshMenu_Click" />
  420. <syncfusion:RibbonSeparator />
  421. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  422. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  423. <fluent:Button x:Name="EquipmentMessagesButton"
  424. Header="Notification Centre"
  425. LargeIcon="pack://application:,,,/Resources/email.png" />
  426. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  427. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  428. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  429. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  430. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  431. LargeIcon="pack://application:,,,/Resources/map.png" />
  432. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  433. LargeIcon="pack://application:,,,/Resources/report.png" />
  434. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  435. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  436. LargeIcon="pack://application:,,,/Resources/specifications.png"/>
  437. <fluent:Button x:Name="EquipmentMaintenanceButton" Header="Planned Maintenance"
  438. LargeIcon="pack://application:,,,/Resources/service.png" />
  439. <fluent:Button x:Name="EquipmentPlannerButton" Header="Equipment Planner"
  440. LargeIcon="pack://application:,,,/Resources/calendar.png" />
  441. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  442. LargeIcon="pack://application:,,,/Resources/milestone.png" />
  443. </fluent:RibbonGroupBox>
  444. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  445. </fluent:RibbonTabItem>
  446. <fluent:RibbonTabItem x:Name="DigitalFormsTab" Header="Digital Forms" IsSelected="False" Visibility="Collapsed">
  447. <fluent:RibbonGroupBox x:Name="DigitalFormsActions" Width="Auto" Header="Actions">
  448. <fluent:Button Header="Refresh"
  449. LargeIcon="pack://application:,,,/Resources/refresh.png"
  450. Click="RefreshMenu_Click" />
  451. <syncfusion:RibbonSeparator />
  452. <fluent:Button x:Name="DigitalFormsDashboardButton" Header="Dashboards"
  453. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  454. <fluent:Button x:Name="DigitalFormsMessagesButton"
  455. Header="Notification Centre"
  456. LargeIcon="pack://application:,,,/Resources/email.png" />
  457. <fluent:Button x:Name="DigitalFormsTaskButton" Header="Task List"
  458. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  459. <fluent:Button x:Name="DigitalFormsAttendanceButton" Header="In/Out Board"
  460. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  461. <fluent:Button x:Name="DigitalFormsMapButton" Header="Live Maps"
  462. LargeIcon="pack://application:,,,/Resources/map.png" />
  463. <fluent:Button x:Name="DigitalFormsDailyReportButton" Header="Daily Report"
  464. LargeIcon="pack://application:,,,/Resources/report.png" />
  465. <syncfusion:RibbonSeparator x:Name="DigitalFormsTaskSeparator" />
  466. <fluent:Button x:Name="DigitalFormsFormsLibraryButton" Header="Forms Library"
  467. LargeIcon="{svgc:SvgImage Source=/Resources/formslibrary.svg}" />
  468. <fluent:Button x:Name="DigitalFormsCompletedFormsButton" Header="Forms Dashboard"
  469. LargeIcon="{svgc:SvgImage Source=/Resources/formsinstance.svg}" />
  470. </fluent:RibbonGroupBox>
  471. <fluent:RibbonGroupBox x:Name="DigitalFormReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  472. </fluent:RibbonTabItem>
  473. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  474. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions">
  475. <fluent:Button Header="Refresh"
  476. LargeIcon="pack://application:,,,/Resources/refresh.png"
  477. Click="RefreshMenu_Click" />
  478. <syncfusion:RibbonSeparator />
  479. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  480. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  481. <fluent:Button x:Name="DashboardMessagesButton"
  482. Header="Notification Centre"
  483. LargeIcon="pack://application:,,,/Resources/email.png" />
  484. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  485. LargeIcon="{svgc:SvgImage Source=/Resources/kanban.svg}" />
  486. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  487. LargeIcon="pack://application:,,,/Resources/attendance.png" />
  488. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  489. LargeIcon="pack://application:,,,/Resources/map.png" />
  490. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  491. LargeIcon="pack://application:,,,/Resources/report.png" />
  492. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  493. <!--This is where the static dashboards need to go-->
  494. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  495. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  496. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  497. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  498. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  499. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  500. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  501. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  502. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  503. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  504. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  505. LargeIcon="{svgc:SvgImage Source=/Resources/kpi.svg}" />
  506. </fluent:RibbonGroupBox>
  507. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" Header="Print" Visibility="Collapsed"/>
  508. </fluent:RibbonTabItem>
  509. </fluent:Ribbon>
  510. <Grid Grid.Row="0" Grid.Column="1">
  511. <Grid.ColumnDefinitions>
  512. <ColumnDefinition Width="*" />
  513. <ColumnDefinition Width="*" />
  514. <ColumnDefinition Width="*" />
  515. <ColumnDefinition Width="*" />
  516. </Grid.ColumnDefinitions>
  517. <Grid.RowDefinitions>
  518. <RowDefinition Height="30" />
  519. <RowDefinition Height="*" />
  520. </Grid.RowDefinitions>
  521. <fluent:Button
  522. x:Name="SendNotification"
  523. Header="Send Notification"
  524. BorderBrush="Gray"
  525. BorderThickness="0.75"
  526. Margin="0,0,5,0"
  527. Background="WhiteSmoke"
  528. Grid.Row="0"
  529. Grid.Column="3"
  530. Size="Middle"
  531. Icon="Resources/team.png"
  532. HorizontalAlignment="Stretch"
  533. Height="25"
  534. Click="SendNotificationClick" />
  535. <fluent:Button Grid.Row="1" Grid.Column="0"
  536. Header="Setup"
  537. LargeIcon="{svgc:SvgImage Source=/Resources/settings.svg}"
  538. Click="Setup_Click"
  539. Margin="0,0,5,20"/>
  540. <fluent:Button Grid.Row="1" Grid.Column="1"
  541. Header="Forms"
  542. LargeIcon="{svgc:SvgImage Source=/Resources/formslibrary.svg}"
  543. Click="Forms_Click"
  544. Margin="0,0,5,20"/>
  545. <fluent:Button Grid.Row="1" Grid.Column="2"
  546. x:Name="IssuesButton"
  547. Header="Support Tickets"
  548. LargeIcon="{svgc:SvgImage Source=/Resources/appicon.svg}"
  549. Click="Issues_Click"
  550. ToolTip="Raise an issue with the PRS team"
  551. Margin="0,0,5,20"/>
  552. <Border Grid.Row="1" Grid.Column="3"
  553. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  554. <StackPanel Orientation="Horizontal">
  555. <fluent:Button
  556. Header="Online Help"
  557. LargeIcon="{svgc:SvgImage Source=/Resources/help.svg}"
  558. Click="Wiki_Click" />
  559. <fluent:Button
  560. x:Name="EquipmentTechnicalLibrary"
  561. Header="Technical Library"
  562. LargeIcon="{svgc:SvgImage Source=/Resources/techlibrary.svg}"
  563. Click="Library_Click" />
  564. </StackPanel>
  565. </Border>
  566. </Grid>
  567. <DockingManager x:Name="DockingManager"
  568. Grid.Row="1"
  569. Grid.Column="0"
  570. Grid.ColumnSpan="2"
  571. AllowMixedOrientation="True"
  572. AutoWindowSizeWhenOpened="True"
  573. IsVirtualizingAnchorable="True"
  574. IsVirtualizingDocument="True"
  575. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  576. <DockingManager.Theme>
  577. <MetroTheme />
  578. </DockingManager.Theme>
  579. <DockingManager.Resources>
  580. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  581. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  582. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  583. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  584. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  585. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  586. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  587. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  588. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  589. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  590. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  591. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  592. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  593. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  594. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  595. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  596. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  597. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  598. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  599. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  600. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  601. </DockingManager.Resources>
  602. <LayoutRoot>
  603. <LayoutPanel Orientation="Horizontal">
  604. <LayoutDocumentPaneGroup>
  605. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  606. <LayoutDocument Title="Document 1" ContentId="document1">
  607. <Grid x:Name="DockingGrid">
  608. <Grid.RowDefinitions>
  609. <RowDefinition Height="*" />
  610. </Grid.RowDefinitions>
  611. <Grid.ColumnDefinitions>
  612. <ColumnDefinition Width="*" />
  613. <ColumnDefinition Width="0" />
  614. <ColumnDefinition Width="0" />
  615. </Grid.ColumnDefinitions>
  616. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  617. VerticalAlignment="Stretch"
  618. Grid.Column="0" Grid.Row="0" Margin="0,-4,2,-4" />
  619. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  620. ResizeBehavior="PreviousAndNext"
  621. Background="Transparent"
  622. Template="{StaticResource VerticalSplitter}">
  623. <syncfusion:SfGridSplitter.PreviewStyle>
  624. <Style TargetType="Control">
  625. <Setter Property="Background" Value="Gray" />
  626. <Setter Property="Template">
  627. <Setter.Value>
  628. <ControlTemplate TargetType="Control">
  629. <Grid x:Name="Root" Opacity="0.5">
  630. <Rectangle Fill="{TemplateBinding Background}" />
  631. </Grid>
  632. </ControlTemplate>
  633. </Setter.Value>
  634. </Setter>
  635. </Style>
  636. </syncfusion:SfGridSplitter.PreviewStyle>
  637. </syncfusion:SfGridSplitter>
  638. <local:NotificationsDock
  639. x:Name="Notifications"
  640. Grid.Row="0"
  641. Grid.Column="2"
  642. Changed="Notifications_Changed"
  643. Margin="0,-4,0,-4" />
  644. </Grid>
  645. </LayoutDocument>
  646. </LayoutDocumentPane>
  647. </LayoutDocumentPaneGroup>
  648. </LayoutPanel>
  649. <LayoutRoot.LeftSide>
  650. <LayoutAnchorSide>
  651. <LayoutAnchorGroup x:Name="DockGroup">
  652. <LayoutAnchorable
  653. x:Name="ContactDock"
  654. Title="Address Book"
  655. ContentId="contacts"
  656. CanClose="False"
  657. CanFloat="False"
  658. CanHide="False"
  659. CanAutoHide="False"
  660. CanDockAsTabbedDocument="False"
  661. CanMove="False"
  662. AutoHideWidth="500"
  663. FloatingWidth="500"
  664. AutoHideMinWidth="400"
  665. IsActiveChanged="DockPanel_OnIsActiveChanged">
  666. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  667. <local:ContactDock x:Name="Contacts" />
  668. </Border>
  669. </LayoutAnchorable>
  670. <LayoutAnchorable
  671. x:Name="JobDock"
  672. Title="Projects"
  673. ContentId="projects"
  674. CanClose="False"
  675. CanFloat="False"
  676. CanHide="False"
  677. CanAutoHide="False"
  678. CanDockAsTabbedDocument="False"
  679. CanMove="False"
  680. AutoHideWidth="500"
  681. FloatingWidth="500"
  682. AutoHideMinWidth="400"
  683. IsActiveChanged="DockPanel_OnIsActiveChanged">
  684. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  685. <local:JobDock x:Name="Jobs" />
  686. </Border>
  687. </LayoutAnchorable>
  688. <LayoutAnchorable
  689. x:Name="ConsignmentDock"
  690. Title="Consignments"
  691. ContentId="consignments"
  692. CanClose="False"
  693. CanFloat="False"
  694. CanHide="False"
  695. CanAutoHide="True"
  696. CanDockAsTabbedDocument="False"
  697. AutoHideWidth="500"
  698. FloatingWidth="500"
  699. AutoHideMinWidth="400"
  700. IsActiveChanged="DockPanel_OnIsActiveChanged">
  701. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  702. <local:ConsignmentDock x:Name="Consignments" />
  703. </Border>
  704. </LayoutAnchorable>
  705. <LayoutAnchorable
  706. x:Name="DeliveryDock"
  707. Title="Deliveries"
  708. ContentId="deliveries"
  709. CanClose="False"
  710. CanFloat="False"
  711. CanHide="False"
  712. CanAutoHide="True"
  713. CanDockAsTabbedDocument="False"
  714. AutoHideWidth="500"
  715. FloatingWidth="500"
  716. AutoHideMinWidth="400"
  717. IsActiveChanged="DockPanel_OnIsActiveChanged">
  718. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  719. <local:DeliveryDock x:Name="Deliveries" />
  720. </Border>
  721. </LayoutAnchorable>
  722. <LayoutAnchorable
  723. x:Name="ProductLookupDock"
  724. Title="Products"
  725. ContentId="products"
  726. CanClose="False"
  727. CanFloat="False"
  728. CanHide="False"
  729. CanAutoHide="True"
  730. CanDockAsTabbedDocument="False"
  731. AutoHideWidth="500"
  732. FloatingWidth="500"
  733. AutoHideMinWidth="400"
  734. IsActiveChanged="DockPanel_OnIsActiveChanged">
  735. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  736. <local:ProductLookupDock x:Name="ProductLookup" />
  737. </Border>
  738. </LayoutAnchorable>
  739. <LayoutAnchorable
  740. x:Name="DigitalFormsDock"
  741. Title="Digital Forms"
  742. ContentId="digitalforms"
  743. CanClose="False"
  744. CanFloat="False"
  745. CanHide="False"
  746. CanAutoHide="True"
  747. CanDockAsTabbedDocument="False"
  748. AutoHideWidth="500"
  749. FloatingWidth="500"
  750. AutoHideMinWidth="400"
  751. IsActiveChanged="DockPanel_OnIsActiveChanged">
  752. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  753. <local:DigitalFormsDock x:Name="DigitalForms" />
  754. </Border>
  755. </LayoutAnchorable>
  756. <LayoutAnchorable
  757. x:Name="ProblemsDock"
  758. Title="Issues Centre"
  759. ContentId="problems"
  760. CanClose="False"
  761. CanFloat="False"
  762. CanHide="False"
  763. CanAutoHide="True"
  764. CanDockAsTabbedDocument="False"
  765. AutoHideWidth="500"
  766. FloatingWidth="500"
  767. AutoHideMinWidth="400"
  768. IsActiveChanged="DockPanel_OnIsActiveChanged">
  769. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  770. <local:ProblemsDock x:Name="Problems" />
  771. </Border>
  772. </LayoutAnchorable>
  773. <LayoutAnchorable
  774. x:Name="RequisitionsDock"
  775. Title="Requisitions"
  776. ContentId="requisitions"
  777. CanClose="False"
  778. CanFloat="False"
  779. CanHide="False"
  780. CanAutoHide="True"
  781. CanDockAsTabbedDocument="False"
  782. AutoHideWidth="500"
  783. FloatingWidth="500"
  784. AutoHideMinWidth="400"
  785. IsActiveChanged="DockPanel_OnIsActiveChanged">
  786. <Border BorderThickness="0.75" BorderBrush="Gray" Margin="0,4,0,0" Padding="4" Background="WhiteSmoke">
  787. <local:RequisitionsDock x:Name="Requisitions" />
  788. </Border>
  789. </LayoutAnchorable>
  790. </LayoutAnchorGroup>
  791. </LayoutAnchorSide>
  792. </LayoutRoot.LeftSide>
  793. </LayoutRoot>
  794. </DockingManager>
  795. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  796. Background="DimGray">
  797. <Grid>
  798. <Grid.ColumnDefinitions>
  799. <ColumnDefinition Width="Auto" />
  800. <ColumnDefinition Width="*" />
  801. <ColumnDefinition Width="Auto" />
  802. <ColumnDefinition Width="Auto" />
  803. <ColumnDefinition Width="Auto" />
  804. <ColumnDefinition Width="Auto" />
  805. <ColumnDefinition Width="Auto" />
  806. </Grid.ColumnDefinitions>
  807. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  808. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  809. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  810. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  811. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  812. Click="SelectTask_Click" Width="25">
  813. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  814. </Button>
  815. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  816. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  817. </DockPanel>
  818. <!-- <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent" -->
  819. <!-- Click="VideoRecordingButton_Click"> -->
  820. <!-- <Image x:Name="VideoRecordingStatus" -->
  821. <!-- Source="pack://application:,,,/Resources/videorecording.png" -->
  822. <!-- Height="24" Margin="2" /> -->
  823. <!-- </Button> -->
  824. <!-- -->
  825. <!-- <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent" -->
  826. <!-- Click="RecordingNotesButton_Click" Visibility="Hidden"> -->
  827. <!-- <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png" -->
  828. <!-- Height="24" Margin="2" /> -->
  829. <!-- </Button> -->
  830. <!-- -->
  831. <!-- <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent" -->
  832. <!-- Click="AudioRecordingButton_Click" Visibility="Hidden"> -->
  833. <!-- <Image x:Name="AudioRecordingStatus" -->
  834. <!-- Source="pack://application:,,,/Resources/audiorecording.png" -->
  835. <!-- Height="24" Margin="2" /> -->
  836. <!-- </Button> -->
  837. <Button Grid.Column="3" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  838. Click="Console_Click" Visibility="Visible">
  839. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  840. Margin="2" />
  841. </Button>
  842. <Image x:Name="BackgroundUploadStatus"
  843. Grid.Column="4"
  844. Source="pack://application:,,,/Resources/upload.png"
  845. Height="24" Margin="2"
  846. Visibility="Hidden"/>
  847. <Label Grid.Column="5" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  848. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Margin="5,0,5,0" />
  849. <Label Grid.Column="6" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  850. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  851. Visibility="Collapsed" Margin="5,0,5,0" />
  852. </Grid>
  853. </Border>
  854. </Grid>
  855. </fluent:RibbonWindow>