MainWindow.xaml 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197
  1. <fluent:RibbonWindow x:Class="PRSDesktop.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:PRSDesktop"
  7. mc:Ignorable="d"
  8. xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
  9. xmlns:themes="clr-namespace:InABox.WPF.Themes;assembly=InABox.Wpf"
  10. xmlns:fluent="urn:fluent-ribbon"
  11. Title="PRS Desktop"
  12. Height="900" Width="1200" Left="100" Top="100"
  13. WindowStartupLocation="CenterScreen"
  14. WindowState="Maximized"
  15. HorizontalContentAlignment="Stretch"
  16. VerticalContentAlignment="Stretch"
  17. Loaded="Window_Loaded"
  18. Unloaded="Window_Unloaded"
  19. Closing="Window_Closing"
  20. Closed="RibbonWindow_Closed"
  21. PreviewMouseUp="RibbonWindow_PreviewMouseUp"
  22. PreviewKeyUp="RibbonWindow_PreviewKeyUp"
  23. Activated="RibbonWindow_Activated"
  24. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  25. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  26. TitleBackground="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  27. TitleForeground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  28. GlowBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  29. NonActiveGlowBrush="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  30. NonActiveBorderBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}">
  31. <fluent:RibbonWindow.Resources>
  32. <!-- <ResourceDictionary> -->
  33. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Background"
  34. Color="{Binding Path=(themes:ThemeManager.BackstageBackgroundColor)}" />
  35. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Foreground"
  36. Color="{Binding Path=(themes:ThemeManager.BackstageForegroundColor)}" />
  37. <ControlTemplate x:Key="VerticalSplitter">
  38. <Grid Background="{TemplateBinding Background}" Width="4">
  39. <Button x:Name="PART_Left" Visibility="Collapsed" />
  40. <Button x:Name="PART_Right" Visibility="Collapsed" />
  41. <StackPanel Margin="0" Orientation="Vertical" VerticalAlignment="Center"
  42. HorizontalAlignment="Center">
  43. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  44. Margin="0,2,0,0" />
  45. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  46. Margin="0,2,0,0" />
  47. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  48. Margin="0,2,0,0" />
  49. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  50. Margin="0,2,0,0" />
  51. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  52. Margin="0,2,0,0" />
  53. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  54. Margin="0,2,0,0" />
  55. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  56. Margin="0,2,0,0" />
  57. </StackPanel>
  58. </Grid>
  59. </ControlTemplate>
  60. <!-- </ResourceDictionary> -->
  61. </fluent:RibbonWindow.Resources>
  62. <Grid x:Name="_mainScreen">
  63. <Grid.ColumnDefinitions>
  64. <ColumnDefinition Width="*" />
  65. <ColumnDefinition Width="Auto" />
  66. </Grid.ColumnDefinitions>
  67. <Grid.RowDefinitions>
  68. <RowDefinition x:Name="_ribbonRow" Height="Auto" />
  69. <RowDefinition Height="*" />
  70. <RowDefinition Height="Auto" />
  71. </Grid.RowDefinitions>
  72. <fluent:Ribbon x:Name="_ribbon" Grid.Row="0" Grid.ColumnSpan="2" IsCollapsed="False"
  73. PreviewMouseDoubleClick="_ribbon_OnPreviewMouseDoubleClick"
  74. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  75. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  76. Loaded="_ribbon_OnLoaded"
  77. >
  78. <fluent:Ribbon.Menu>
  79. <fluent:Backstage Header="System"
  80. Background="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  81. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}">
  82. <fluent:BackstageTabControl
  83. x:Name="_backstage"
  84. ItemsPanelBackground="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  85. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  86. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}">
  87. <fluent:SeparatorTabItem x:Name="BackstageSeparator" Height="20" />
  88. <fluent:Button
  89. x:Name="DatabaseSettings"
  90. Header="Database Settings"
  91. Click="DatabaseSettings_OnClick"
  92. Size="Middle"
  93. HorizontalAlignment="Stretch"
  94. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  95. <fluent:SeparatorTabItem x:Name="BackstageSeparator0" Height="20" />
  96. <fluent:Button
  97. x:Name="CompanyInformation"
  98. Header="Company Information"
  99. Click="CompanyInformation_OnClick"
  100. Size="Middle"
  101. HorizontalAlignment="Stretch"
  102. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  103. <fluent:SeparatorTabItem x:Name="BackstageSeparator1" Height="20" />
  104. <fluent:Button
  105. x:Name="SecurityDefaultsButton"
  106. Header="Security Defaults"
  107. Click="SecurityDefaultsButton_OnClick"
  108. Size="Middle"
  109. HorizontalAlignment="Stretch"
  110. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  111. <fluent:SeparatorTabItem x:Name="BackstageSeparator1a" Height="20" />
  112. <fluent:Button
  113. x:Name="SystemLogsButton"
  114. Header="View System Logs"
  115. Click="SystemLogsButton_OnClick"
  116. Size="Middle"
  117. HorizontalAlignment="Stretch"
  118. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  119. <fluent:SeparatorTabItem x:Name="BackstageSeparator2" Height="20" />
  120. <fluent:Button
  121. x:Name="DocumentTypeList"
  122. Header="Document Types"
  123. Click="DocumentTypeList_OnClick"
  124. Size="Middle"
  125. HorizontalAlignment="Stretch"
  126. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  127. <fluent:Button
  128. x:Name="DocumentList"
  129. Header="Document List"
  130. Click="DocumentList_OnClick"
  131. Size="Middle"
  132. HorizontalAlignment="Stretch"
  133. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  134. <fluent:Button
  135. x:Name="QAFormSetupButton"
  136. Header="Digital Forms"
  137. Click="QAFormSetupButton_OnClick"
  138. Size="Middle"
  139. HorizontalAlignment="Stretch"
  140. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  141. <fluent:Button
  142. x:Name="TaskSetupButton"
  143. Header="Task Types"
  144. Click="TaskSetupButton_OnClick"
  145. Size="Middle"
  146. HorizontalAlignment="Stretch"
  147. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  148. <fluent:SeparatorTabItem x:Name="BackstageSeparator5" Height="20" />
  149. <fluent:Button
  150. x:Name="EditDetailsButton"
  151. VerticalAlignment="Bottom"
  152. Header="My Details"
  153. Click="EditDetailsButton_OnClick"
  154. Size="Middle"
  155. HorizontalAlignment="Stretch"
  156. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  157. <fluent:Button
  158. x:Name="LogoutButton"
  159. VerticalAlignment="Bottom"
  160. Header="Log Out"
  161. Click="LogoutButton_OnClick"
  162. Size="Middle"
  163. HorizontalAlignment="Stretch"
  164. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  165. <fluent:Button
  166. x:Name="LoginButton"
  167. VerticalAlignment="Bottom"
  168. Header="Log In"
  169. Click="LoginButton_OnClick"
  170. Size="Middle"
  171. HorizontalAlignment="Stretch"
  172. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  173. <fluent:SeparatorTabItem Height="20" />
  174. <fluent:Button
  175. x:Name="ExitButton"
  176. VerticalAlignment="Bottom"
  177. Header="Exit"
  178. Click="ExitButton_OnClick"
  179. Size="Middle"
  180. HorizontalAlignment="Stretch"
  181. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  182. </fluent:BackstageTabControl>
  183. </fluent:Backstage>
  184. </fluent:Ribbon.Menu>
  185. <fluent:RibbonTabItem x:Name="QuotesTab" Header="Quotes" IsSelected="False" Visibility="Collapsed">
  186. <fluent:RibbonGroupBox x:Name="QuotesActions" Header="Actions" LauncherClick="ManageModulesClick"
  187. IsLauncherVisible="False">
  188. <fluent:Button Header="Refresh" LargeIcon="pack://application:,,,/Resources/refresh.png"
  189. Click="RefreshMenu_Click" />
  190. <syncfusion:RibbonSeparator />
  191. <fluent:Button x:Name="QuotesDashboardButton" Header="Dashboards"
  192. LargeIcon="pack://application:,,,/Resources/kpi.png" Click="Dashboards_Checked"
  193. MinWidth="60" />
  194. <fluent:Button x:Name="QuotesMessagesButton" Header="Notification Centre"
  195. LargeIcon="pack://application:,,,/Resources/email.png"
  196. Click="Messages_Checked" MinWidth="60" />
  197. <fluent:Button x:Name="QuotesTaskButton" Header="Task List"
  198. LargeIcon="pack://application:,,,/Resources/kanban.png"
  199. Click="Tasks_Checked" MinWidth="60" />
  200. <fluent:Button x:Name="QuotesAttendanceButton" Header="In/Out Board"
  201. LargeIcon="pack://application:,,,/Resources/attendance.png"
  202. Click="Attendance_Checked" MinWidth="60" />
  203. <fluent:Button x:Name="QuotesMapButton" Header="Live Maps"
  204. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  205. MinWidth="60" />
  206. <fluent:Button x:Name="QuotesDailyReportButton" Header="Daily Report"
  207. LargeIcon="pack://application:,,,/Resources/report.png"
  208. Click="DailyReport_Checked" MinWidth="60" />
  209. <syncfusion:RibbonSeparator x:Name="QuotesTaskSeparator" />
  210. <fluent:Button x:Name="QuotesButton" Header="Quotes"
  211. LargeIcon="pack://application:,,,/Resources/quotation.png"
  212. Click="Quotes_Checked" MinWidth="60" />
  213. <syncfusion:RibbonSeparator x:Name="QuotesActionSeparator" />
  214. <fluent:Button x:Name="KitsMasterList" Header="Product Kits"
  215. LargeIcon="pack://application:,,,/Resources/kit.png"
  216. Click="KitsMasterList_Click" MinWidth="60" />
  217. <fluent:Button x:Name="CostSheetsMasterList" Header="Cost Sheets"
  218. LargeIcon="pack://application:,,,/Resources/costsheet.png"
  219. Click="CostSheetsMasterList_Click" MinWidth="60" />
  220. </fluent:RibbonGroupBox>
  221. <fluent:RibbonGroupBox x:Name="QuoteReports" Width="Auto" MinWidth="60" Header="Print"
  222. LauncherClick="ManageReportsMenu_Click" IsLauncherVisible="False"
  223. Visibility="Collapsed"/>
  224. <!--fluent:RibbonGroupBox x:Name="QuotesSetup" Width="Auto" Header="Tools" IsLauncherVisible="False">
  225. <fluent:Button x:Name="QuoteStatusButton" Header="Status Codes"
  226. LargeIcon="pack://application:,,,/Resources/quotestatus.png"
  227. Click="QuoteStatusButton_Click" MinWidth="60" />
  228. <fluent:Button x:Name="QuoteDesignSectionButton" Header="Design Sections"
  229. LargeIcon="pack://application:,,,/Resources/design.png"
  230. Click="QuoteDesignSectionButton_Click" MinWidth="60" />
  231. <syncfusion:RibbonSeparator x:Name="QuotesSetupSeparator" />
  232. <fluent:Button x:Name="KitConditionList" Header="Kit Conditions"
  233. LargeIcon="pack://application:,,,/Resources/kitcondition.png"
  234. Click="KitConditionList_Click" MinWidth="60" />
  235. <fluent:Button x:Name="KitFormulaeList" Header="Kit Formulae"
  236. LargeIcon="pack://application:,,,/Resources/kitformula.png"
  237. Click="KitFormulaeList_Click" MinWidth="60" />
  238. <fluent:Button x:Name="CostSheetTypeList" Header="Cost Sheet Types"
  239. LargeIcon="pack://application:,,,/Resources/costsheettype.png"
  240. Click="CostSheetTypeList_Click" MinWidth="60" />
  241. <fluent:Button x:Name="CostSheetBrandList" Header="Cost Sheet Brands"
  242. LargeIcon="pack://application:,,,/Resources/costsheetbrand.png"
  243. Click="CostSheetBrandList_Click" MinWidth="60" />
  244. <fluent:Button x:Name="CostSheetSectionList" Header="Cost Sheet Sections"
  245. LargeIcon="pack://application:,,,/Resources/costsheetsection.png"
  246. Click="CostSheetSectionList_Click" MinWidth="60" />
  247. <syncfusion:RibbonSeparator x:Name="QuotesSetupSeparator2" />
  248. <fluent:Button x:Name="QuoteDiagramSymbols" Header="Symbols"
  249. LargeIcon="pack://application:,,,/Resources/pencil.png"
  250. Click="QuoteDiagramSymbols_Checked" MinWidth="60" />
  251. <fluent:Button x:Name="QuoteDiagramSymbolTypes" Header="Symbol Types"
  252. LargeIcon="pack://application:,,,/Resources/attachment.png"
  253. Click="QuoteDiagramSymbolTypes_Checked" MinWidth="60" />
  254. <fluent:Button x:Name="QuoteTakeOffUnits" Header="Dimension Types"
  255. LargeIcon="pack://application:,,,/Resources/box.png"
  256. Click="QuoteTakeOffUnits_Click" MinWidth="60" />
  257. </fluent:RibbonGroupBox-->
  258. </fluent:RibbonTabItem>
  259. <fluent:RibbonTabItem x:Name="ProjectsTab" Header="Projects" IsSelected="False" Visibility="Collapsed">
  260. <fluent:RibbonGroupBox x:Name="ProjectsActions" Header="Actions" LauncherClick="ManageModulesClick"
  261. IsLauncherVisible="False">
  262. <fluent:Button Header="Refresh"
  263. LargeIcon="pack://application:,,,/Resources/refresh.png"
  264. Click="RefreshMenu_Click" MinWidth="60" />
  265. <syncfusion:RibbonSeparator />
  266. <fluent:Button x:Name="ProjectsDashboardButton" Header="Dashboards"
  267. LargeIcon="pack://application:,,,/Resources/kpi.png"
  268. Click="Dashboards_Checked" MinWidth="60" />
  269. <fluent:Button x:Name="ProjectMessagesButton" Size="Large"
  270. Header="Notification Centre"
  271. LargeIcon="pack://application:,,,/Resources/email.png"
  272. Click="Messages_Checked" MinWidth="60" />
  273. <fluent:Button x:Name="ProjectTaskButton" Header="Task List"
  274. LargeIcon="pack://application:,,,/Resources/kanban.png"
  275. Click="Tasks_Checked" MinWidth="60" />
  276. <fluent:Button x:Name="ProjectAttendanceButton" Header="In/Out Board"
  277. LargeIcon="pack://application:,,,/Resources/attendance.png"
  278. Click="Attendance_Checked" MinWidth="60" />
  279. <fluent:Button x:Name="ProjectsMapButton" Header="Live Maps"
  280. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  281. MinWidth="60" />
  282. <fluent:Button x:Name="ProjectDailyReportButton" Header="Daily Report"
  283. LargeIcon="pack://application:,,,/Resources/report.png"
  284. Click="DailyReport_Checked" MinWidth="60" />
  285. <syncfusion:RibbonSeparator x:Name="ProjectTaskSeparator" />
  286. <fluent:Button x:Name="ProjectsButton" Header="Projects"
  287. LargeIcon="pack://application:,,,/Resources/project.png"
  288. Click="Jobs_Checked" MinWidth="60" />
  289. <fluent:Button x:Name="ServiceButton" Header="Service"
  290. LargeIcon="pack://application:,,,/Resources/service.png"
  291. Click="Service_Checked" MinWidth="60" />
  292. </fluent:RibbonGroupBox>
  293. <fluent:RibbonGroupBox x:Name="ProjectReports" Width="Auto" MinWidth="60" Header="Print"
  294. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  295. IsLauncherVisible="False" />
  296. <!--fluent:RibbonGroupBox x:Name="ProjectSetup" Width="Auto" Header="Tools"
  297. IsLauncherVisible="False">
  298. <fluent:Button x:Name="JobStatusButton" Header="Job Statuses"
  299. LargeIcon="pack://application:,,,/Resources/view.png"
  300. Click="JobStatusButton_Click" MinWidth="60" />
  301. <fluent:Button x:Name="JobDocumentMileStoneButton" Size="Large"
  302. Header="Document MileStones"
  303. LargeIcon="pack://application:,,,/Resources/revision.png"
  304. Click="JobDocumentMileStoneButton_OnClick" MinWidth="60" />
  305. <fluent:Button x:Name="FinancialStatusButton" Header="Financial Statuses"
  306. LargeIcon="pack://application:,,,/Resources/view.png"
  307. Click="FinancialStatusButton_Click" MinWidth="60" />
  308. <fluent:Button x:Name="DrawingTemplatesButton" Header="Drawing Templates"
  309. LargeIcon="pack://application:,,,/Resources/doc-misc.png"
  310. Click="DrawingTemplatesButton_Click" MinWidth="60" />
  311. </fluent:RibbonGroupBox-->
  312. </fluent:RibbonTabItem>
  313. <fluent:RibbonTabItem x:Name="ManufacturingTab" Header="Manufacturing" IsSelected="False"
  314. Visibility="Collapsed">
  315. <fluent:RibbonGroupBox x:Name="ManufacturingActions" Header="Actions"
  316. LauncherClick="ManageModulesClick"
  317. IsLauncherVisible="False">
  318. <fluent:Button Header="Refresh"
  319. LargeIcon="pack://application:,,,/Resources/refresh.png"
  320. Click="RefreshMenu_Click" MinWidth="60" />
  321. <syncfusion:RibbonSeparator />
  322. <fluent:Button x:Name="ManufacturingDashboardButton" Header="Dashboards"
  323. LargeIcon="pack://application:,,,/Resources/kpi.png"
  324. Click="Dashboards_Checked" MinWidth="60" />
  325. <fluent:Button x:Name="ManufacturingMessagesButton" Size="Large"
  326. Header="Notification Centre"
  327. LargeIcon="pack://application:,,,/Resources/email.png"
  328. Click="Messages_Checked" MinWidth="60" />
  329. <fluent:Button x:Name="ManufacturingTaskButton" Header="Task List"
  330. LargeIcon="pack://application:,,,/Resources/kanban.png"
  331. Click="Tasks_Checked" MinWidth="60" />
  332. <fluent:Button x:Name="ManufacturingAttendanceButton" Size="Large"
  333. Header="In/Out Board"
  334. LargeIcon="pack://application:,,,/Resources/attendance.png"
  335. Click="Attendance_Checked" MinWidth="60" />
  336. <fluent:Button x:Name="ManufacturingMapButton" Header="Live Maps"
  337. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  338. MinWidth="60" />
  339. <fluent:Button x:Name="ManufacturingDailyReportButton" Size="Large"
  340. Header="Daily Report"
  341. LargeIcon="pack://application:,,,/Resources/report.png"
  342. Click="DailyReport_Checked" MinWidth="60" />
  343. <syncfusion:RibbonSeparator x:Name="ManufacturingTaskSeparator" />
  344. <fluent:Button x:Name="FactoryStatusButton" Header="Manufacturing Status"
  345. LargeIcon="pack://application:,,,/Resources/factory.png"
  346. Click="ManufacturingMenu_Checked" MinWidth="60" />
  347. <fluent:Button x:Name="FactoryAllocationButton" Size="Large"
  348. Header="Factory Allocation"
  349. LargeIcon="pack://application:,,,/Resources/assignments.png"
  350. Click="FactoryAllocationButton_Click" MinWidth="60" />
  351. <!--<fluent:Button x:Name="FactoryScheduleButton" Header="Factory Schedule" LargeIcon="pack://application:,,,/Resources/clock.png" Click="Schedule_Checked" MinWidth="60"/>-->
  352. <fluent:Button x:Name="FactoryFloorButton" Header="Factory Floor"
  353. LargeIcon="pack://application:,,,/Resources/wrench.png"
  354. Click="FactoryFloorButton_Click" MinWidth="60" />
  355. <!--<fluent:Button x:Name="FactoryReadyButton" Header="Ready To Go" LargeIcon="pack://application:,,,/Resources/truck.png" Click="FactoryReadyButton_Click" MinWidth="60"/>-->
  356. </fluent:RibbonGroupBox>
  357. <fluent:RibbonGroupBox x:Name="ManufacturingReports" Width="Auto" MinWidth="60" Header="Print"
  358. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  359. IsLauncherVisible="False" />
  360. <!--fluent:RibbonGroupBox x:Name="ManufacturingSetup" Width="Auto" Header="Tools"
  361. IsLauncherVisible="False">
  362. <fluent:Button x:Name="FactorySettingsButton" Header="Factory Settings"
  363. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  364. Click="FactorySetup_Click" MinWidth="60" />
  365. <fluent:Button x:Name="ManufacturingTemplatesButton" Size="Large"
  366. Header="Manufacturing Templates"
  367. LargeIcon="pack://application:,,,/Resources/template.png"
  368. Click="TemplateSetup_Click" MinWidth="60" />
  369. <fluent:Button x:Name="ManufacturingTrolleysButton" Size="Large"
  370. Header="Manufacturing Trolleys"
  371. LargeIcon="pack://application:,,,/Resources/trolley.png"
  372. Click="TrolleySetup_Click" MinWidth="60" />
  373. <fluent:Button x:Name="ManufacturingLostTimeButton" Size="Large"
  374. Header="Lost Time Types"
  375. LargeIcon="pack://application:,,,/Resources/smiley.png"
  376. Click="LostTimeSetup_Click" MinWidth="60" />
  377. <! - - <fluent:Button x:Name="ManufacturingTransferButton" Header="Transfer Settings" LargeIcon="pack://application:,,,/Resources/warning.png" Click="ManufacturingTransferButton_Click" MinWidth="60"/>
  378. <fluent:Button x:Name="RebuildPacketsButton" Header="Rebuild Packets" LargeIcon="pack://application:,,,/Resources/warning.png" Click="RebuildPacketsButton_Click" MinWidth="60"/> - - >
  379. </fluent:RibbonGroupBox-->
  380. </fluent:RibbonTabItem>
  381. <fluent:RibbonTabItem x:Name="LogisticsTab" Header="Logistics" IsSelected="False" Visibility="Collapsed">
  382. <fluent:RibbonGroupBox x:Name="LogisticsActions" Header="Actions" LauncherClick="ManageModulesClick"
  383. IsLauncherVisible="False">
  384. <fluent:Button Header="Refresh"
  385. LargeIcon="pack://application:,,,/Resources/refresh.png"
  386. Click="RefreshMenu_Click" MinWidth="60" />
  387. <syncfusion:RibbonSeparator />
  388. <fluent:Button x:Name="LogisticsDashboardButton" Header="Dashboards"
  389. LargeIcon="pack://application:,,,/Resources/kpi.png"
  390. Click="Dashboards_Checked" MinWidth="60" />
  391. <fluent:Button x:Name="LogisticsMessagesButton" Size="Large"
  392. Header="Notification Centre"
  393. LargeIcon="pack://application:,,,/Resources/email.png"
  394. Click="Messages_Checked" MinWidth="60" />
  395. <fluent:Button x:Name="LogisticsTaskButton" Header="Task List"
  396. LargeIcon="pack://application:,,,/Resources/kanban.png"
  397. Click="Tasks_Checked" MinWidth="60" />
  398. <fluent:Button x:Name="LogisticsAttendanceButton" Header="In/Out Board"
  399. LargeIcon="pack://application:,,,/Resources/attendance.png"
  400. Click="Attendance_Checked" MinWidth="60" />
  401. <fluent:Button x:Name="LogisticsMapButton" Header="Live Maps"
  402. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  403. MinWidth="60" />
  404. <fluent:Button x:Name="LogisticsDailyReportButton" Header="Daily Report"
  405. LargeIcon="pack://application:,,,/Resources/report.png"
  406. Click="DailyReport_Checked" MinWidth="60" />
  407. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator1" />
  408. <fluent:Button x:Name="ReadyToGoItemsButton" Header="Ready To Go"
  409. LargeIcon="pack://application:,,,/Resources/truck.png"
  410. Click="ReadyToGoMenu_Checked" MinWidth="60" />
  411. <fluent:Button x:Name="DispatchButton" Header="Rack List"
  412. LargeIcon="pack://application:,,,/Resources/barcode.png"
  413. Click="DispatchMenu_Checked" MinWidth="60" />
  414. <fluent:Button x:Name="RequisitionsButton" Header="Site Requisitions"
  415. LargeIcon="pack://application:,,,/Resources/box.png"
  416. Click="Requisitions_Checked" MinWidth="60" />
  417. <fluent:Button x:Name="DeliveriesButton" Header="Deliveries"
  418. LargeIcon="pack://application:,,,/Resources/truck.png"
  419. Click="DeliveriesButton_Click" MinWidth="60" />
  420. <fluent:Button x:Name="DeliveredItemsButton" Header="Delivered On Site"
  421. LargeIcon="pack://application:,,,/Resources/lifter.png"
  422. Click="DeliveredOnSiteMenu_Checked" MinWidth="60" />
  423. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator2" />
  424. <fluent:Button x:Name="ConsignmentButton" Header="Incoming Consignments"
  425. LargeIcon="pack://application:,,,/Resources/consignment.png"
  426. Click="ConsignmentButton_Click" MinWidth="60" />
  427. </fluent:RibbonGroupBox>
  428. <fluent:RibbonGroupBox x:Name="LogisticsReports" Width="Auto" MinWidth="60" Header="Print"
  429. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  430. IsLauncherVisible="False" />
  431. <!--fluent:RibbonGroupBox x:Name="LogisticsSetup" Width="Auto" Header="Tools"
  432. IsLauncherVisible="False">
  433. <fluent:Button x:Name="DeliveryTypesButton" Header="Delivery Types"
  434. LargeIcon="pack://application:,,,/Resources/truck.png"
  435. Click="DeliveryTypesButton_Click" MinWidth="60" />
  436. <fluent:Button x:Name="ConsignmentTypesButton" Header="Consignment Types"
  437. LargeIcon="pack://application:,,,/Resources/service.png"
  438. Click="ConsignmentTypesButton_Click" MinWidth="60" />
  439. </fluent:RibbonGroupBox-->
  440. </fluent:RibbonTabItem>
  441. <fluent:RibbonTabItem x:Name="ProductTab" Header="Product Management" IsSelected="False"
  442. Visibility="Collapsed">
  443. <fluent:RibbonGroupBox x:Name="ProductActions" Width="Auto" Header="Actions"
  444. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  445. <fluent:Button Header="Refresh"
  446. LargeIcon="pack://application:,,,/Resources/refresh.png"
  447. Click="RefreshMenu_Click" MinWidth="60" />
  448. <syncfusion:RibbonSeparator />
  449. <fluent:Button x:Name="ProductsDashboardButton" Header="Dashboards"
  450. LargeIcon="pack://application:,,,/Resources/kpi.png"
  451. Click="Dashboards_Checked" MinWidth="60" />
  452. <fluent:Button x:Name="ProductsMessagesButton" Size="Large"
  453. Header="Notification Centre"
  454. LargeIcon="pack://application:,,,/Resources/email.png"
  455. Click="Messages_Checked" MinWidth="60" />
  456. <fluent:Button x:Name="ProductsTaskButton" Header="Task List"
  457. LargeIcon="pack://application:,,,/Resources/kanban.png"
  458. Click="Tasks_Checked" MinWidth="60" />
  459. <fluent:Button x:Name="ProductsAttendanceButton" Header="In/Out Board"
  460. LargeIcon="pack://application:,,,/Resources/attendance.png"
  461. Click="Attendance_Checked" MinWidth="60" />
  462. <fluent:Button x:Name="ProductsMapButton" Header="Live Maps"
  463. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  464. MinWidth="60" />
  465. <fluent:Button x:Name="ProductsDailyReportButton" Header="Daily Report"
  466. LargeIcon="pack://application:,,,/Resources/report.png"
  467. Click="DailyReport_Checked" MinWidth="60" />
  468. <syncfusion:RibbonSeparator x:Name="ProductsTaskSeparator" />
  469. <fluent:Button x:Name="ProductsMasterList" Header="Product List"
  470. LargeIcon="pack://application:,,,/Resources/product.png"
  471. Click="Products_Checked" MinWidth="60" />
  472. <fluent:Button x:Name="StockLocationList" Header="Stock Locations"
  473. LargeIcon="pack://application:,,,/Resources/parcel.png"
  474. Click="StockLocations_Checked" MinWidth="60" />
  475. <fluent:Button x:Name="StockMovementList" Header="Stock Movements"
  476. LargeIcon="pack://application:,,,/Resources/forklift.png"
  477. Click="StockMovements_Checked" MinWidth="60" />
  478. </fluent:RibbonGroupBox>
  479. <fluent:RibbonGroupBox x:Name="ProductReports" Width="Auto" MinWidth="60" Header="Print"
  480. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  481. IsLauncherVisible="False" />
  482. <!--fluent:RibbonGroupBox x:Name="ProductSetup" Width="Auto" Header="Tools"
  483. IsLauncherVisible="False">
  484. <fluent:Button x:Name="ProductDimensionUnitsList" Size="Large"
  485. Header="Units of Measure"
  486. LargeIcon="pack://application:,,,/Resources/unitofmeasure.png"
  487. Click="ProductDimensionUnitsList_Click" MinWidth="60" />
  488. <fluent:Button x:Name="ProductGroupsList" Header="Product Groups"
  489. LargeIcon="pack://application:,,,/Resources/productgroup.png"
  490. Click="ProductGroupsList_Click" MinWidth="60" />
  491. <fluent:Button x:Name="ProductStylesList" Header="Product Styles"
  492. LargeIcon="pack://application:,,,/Resources/palette.png"
  493. Click="ProductStylesList_Click" MinWidth="60" />
  494. <fluent:Button x:Name="StockAreasList" Header="Stock Areas"
  495. LargeIcon="pack://application:,,,/Resources/rack.png"
  496. Click="StockAreasList_Click" MinWidth="60" />
  497. <fluent:Button x:Name="StockWarehouseList" Header="Stock Warehouses"
  498. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  499. Click="StockWarehouseList_Click" MinWidth="60" />
  500. </fluent:RibbonGroupBox-->
  501. </fluent:RibbonTabItem>
  502. <fluent:RibbonTabItem x:Name="HumanResourcesTab" Header="Human Resources" IsSelected="False"
  503. Visibility="Collapsed">
  504. <fluent:RibbonGroupBox x:Name="HumanResourcesActions" Header="Actions"
  505. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  506. <fluent:Button Header="Refresh"
  507. LargeIcon="pack://application:,,,/Resources/refresh.png"
  508. Click="RefreshMenu_Click" MinWidth="60" />
  509. <syncfusion:RibbonSeparator />
  510. <fluent:Button x:Name="HumanResourcesDashboardButton" Header="Dashboards"
  511. LargeIcon="pack://application:,,,/Resources/kpi.png"
  512. Click="Dashboards_Checked" MinWidth="60" />
  513. <fluent:Button x:Name="HumanResourcesMessagesButton" Size="Large"
  514. Header="Notification Centre"
  515. LargeIcon="pack://application:,,,/Resources/email.png"
  516. Click="Messages_Checked" MinWidth="60" />
  517. <fluent:Button x:Name="HumanResourcesTaskButton" Header="Task List"
  518. LargeIcon="pack://application:,,,/Resources/kanban.png"
  519. Click="Tasks_Checked" MinWidth="60" />
  520. <fluent:Button x:Name="HumanResourcesAttendanceButton" Size="Large"
  521. Header="In/Out Board"
  522. LargeIcon="pack://application:,,,/Resources/attendance.png"
  523. Click="Attendance_Checked" MinWidth="60" />
  524. <fluent:Button x:Name="HumanResourcesMapButton" Header="Live Maps"
  525. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  526. MinWidth="60" />
  527. <fluent:Button x:Name="HumanResourcesDailyReportButton" Size="Large"
  528. Header="Daily Report"
  529. LargeIcon="pack://application:,,,/Resources/report.png"
  530. Click="DailyReport_Checked" MinWidth="60" />
  531. <syncfusion:RibbonSeparator x:Name="HumanResourcesTaskSeparator" />
  532. <fluent:Button x:Name="AssignmentsButton" Header="Assignments"
  533. LargeIcon="pack://application:,,,/Resources/assignments.png"
  534. Click="AssignmentsButton_Click" MinWidth="60" />
  535. <fluent:Button x:Name="TimesheetsButton" Header="Staff TimeSheets"
  536. LargeIcon="pack://application:,,,/Resources/clock.png"
  537. Click="Timesheets_Checked" MinWidth="60" />
  538. <fluent:Button x:Name="LeaveRequestsButton" Header="Leave Requests"
  539. LargeIcon="pack://application:,,,/Resources/leave.png"
  540. Click="LeaveRequestsButton_Click" MinWidth="60" />
  541. <fluent:Button x:Name="OrgChartButton" Header="Org Chart"
  542. LargeIcon="pack://application:,,,/Resources/orgchart.png"
  543. Click="OrgChartButton_Click" MinWidth="60" />
  544. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator1" />
  545. <fluent:Button x:Name="UsersButton" Header="User Accounts"
  546. LargeIcon="pack://application:,,,/Resources/user.png"
  547. Click="UserSetup_Click" MinWidth="60" />
  548. <fluent:Button x:Name="EmployeesButton" Header="Employee List"
  549. LargeIcon="pack://application:,,,/Resources/employee.png"
  550. Click="Employees_Click" MinWidth="60" />
  551. </fluent:RibbonGroupBox>
  552. <fluent:RibbonGroupBox x:Name="HumanResourcesReports" Width="Auto" MinWidth="60" Header="Print"
  553. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  554. IsLauncherVisible="False" />
  555. <!--fluent:RibbonGroupBox x:Name="HumanResourcesSetup" Width="Auto" Header="Tools"
  556. IsLauncherVisible="False">
  557. <fluent:Button x:Name="SecurityGroupsButton" Header="Security Groups"
  558. LargeIcon="pack://application:,,,/Resources/securitygroup.png"
  559. Click="SecurityGroupsButton_Click" MinWidth="60" />
  560. <fluent:Button x:Name="EmployeeGroupsButton" Header="Employee Groups"
  561. LargeIcon="pack://application:,,,/Resources/employees.png"
  562. Click="GroupsSetup_Click" MinWidth="60" />
  563. <fluent:Button x:Name="EmployeePositionsButton" Header="Positions"
  564. LargeIcon="pack://application:,,,/Resources/position.png"
  565. Click="PositionsSetup_Click" MinWidth="60" />
  566. <fluent:Button x:Name="EmployeeRolesButton" Header="Roles"
  567. LargeIcon="pack://application:,,,/Resources/employeerole.png"
  568. Click="RolesSetup_Click" MinWidth="60" />
  569. <fluent:Button x:Name="EmployeeTeamsButton" Header="Teams"
  570. LargeIcon="pack://application:,,,/Resources/team.png"
  571. Click="EmployeeTeamsButton_Click" MinWidth="60" />
  572. <fluent:Button x:Name="EmployeeActivitiesButton" Header="Activities"
  573. LargeIcon="pack://application:,,,/Resources/quality.png"
  574. Click="ActivityMenu_Click" MinWidth="60" />
  575. <fluent:Button x:Name="EmployeeQualificationsButton" Size="Large"
  576. Header="Qualifications"
  577. LargeIcon="pack://application:,,,/Resources/certificate.png"
  578. Click="QualificationMenu_Click" MinWidth="60" />
  579. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator2" />
  580. <fluent:Button x:Name="OvertimeRulesButton" Header="Overtime Rules"
  581. LargeIcon="pack://application:,,,/Resources/overtime.png"
  582. Click="OvertimeRulesButton_Click" MinWidth="60" />
  583. <fluent:Button x:Name="StandardLeaveButton" Header="Standard Leave"
  584. LargeIcon="pack://application:,,,/Resources/fireworks.png"
  585. Click="StandardLeaveButton_Click" MinWidth="60" />
  586. </fluent:RibbonGroupBox-->
  587. </fluent:RibbonTabItem>
  588. <fluent:RibbonTabItem x:Name="AccountsTab" Header="Accounts" IsSelected="False" Visibility="Collapsed">
  589. <fluent:RibbonGroupBox x:Name="AccountsActions" Header="Actions" LauncherClick="ManageModulesClick"
  590. IsLauncherVisible="False">
  591. <fluent:Button Header="Refresh"
  592. LargeIcon="pack://application:,,,/Resources/refresh.png"
  593. Click="RefreshMenu_Click" MinWidth="60" />
  594. <syncfusion:RibbonSeparator />
  595. <fluent:Button x:Name="AccountsDashboardButton" Header="Dashboards"
  596. LargeIcon="pack://application:,,,/Resources/kpi.png"
  597. Click="Dashboards_Checked" MinWidth="60" />
  598. <fluent:Button x:Name="AccountsMessagesButton" Size="Large"
  599. Header="Notification Centre"
  600. LargeIcon="pack://application:,,,/Resources/email.png"
  601. Click="Messages_Checked" MinWidth="60" />
  602. <fluent:Button x:Name="AccountsTaskButton" Header="Task List"
  603. LargeIcon="pack://application:,,,/Resources/kanban.png"
  604. Click="Tasks_Checked" MinWidth="60" />
  605. <fluent:Button x:Name="AccountsAttendanceButton" Header="In/Out Board"
  606. LargeIcon="pack://application:,,,/Resources/attendance.png"
  607. Click="Attendance_Checked" MinWidth="60" />
  608. <fluent:Button x:Name="AccountsMapButton" Header="Live Maps"
  609. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  610. MinWidth="60" />
  611. <fluent:Button x:Name="AccountsDailyReportButton" Header="Daily Report"
  612. LargeIcon="pack://application:,,,/Resources/report.png"
  613. Click="DailyReport_Checked" MinWidth="60" />
  614. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator1" />
  615. <fluent:Button x:Name="CustomerList" Header="Customers"
  616. LargeIcon="pack://application:,,,/Resources/customer.png"
  617. Click="CustomerList_Click" MinWidth="60" />
  618. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  619. LargeIcon="pack://application:,,,/Resources/invoice.png"
  620. Click="InvoiceList_Click" MinWidth="60" />
  621. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  622. LargeIcon="pack://application:,,,/Resources/receipt.png"
  623. Click="ReceiptList_Click" MinWidth="60" />
  624. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator2" />
  625. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  626. LargeIcon="pack://application:,,,/Resources/supplier.png"
  627. Click="SupplierList_Click" MinWidth="60" />
  628. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  629. LargeIcon="pack://application:,,,/Resources/purchase.png"
  630. Click="PurchasesList_Click" MinWidth="60" />
  631. <fluent:Button x:Name="BillsList" Header="Bills"
  632. LargeIcon="pack://application:,,,/Resources/bill.png"
  633. Click="BillsList_Click" MinWidth="60" />
  634. <fluent:Button x:Name="PaymentsList" Header="Payments"
  635. LargeIcon="pack://application:,,,/Resources/payment.png"
  636. Click="PaymentsList_Click" MinWidth="60" />
  637. </fluent:RibbonGroupBox>
  638. <fluent:RibbonGroupBox x:Name="AccountsReports" Width="Auto" MinWidth="60" Header="Print"
  639. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  640. IsLauncherVisible="False" />
  641. <!--fluent:RibbonGroupBox x:Name="AccountsSetup" Width="Auto" Header="Tools"
  642. IsLauncherVisible="False">
  643. <fluent:Button x:Name="ContactTypeList" Header="Contact Types"
  644. LargeIcon="pack://application:,,,/Resources/contacttype.png"
  645. Click="ContactTypeList_Click" MinWidth="60" />
  646. <fluent:Button x:Name="TaxCodeList" Header="Tax Codes"
  647. LargeIcon="pack://application:,,,/Resources/taxcode.png"
  648. Click="TaxCodeList_Click" MinWidth="60" />
  649. <fluent:Button x:Name="ReceiptTypeList" Header="Receipt Types"
  650. LargeIcon="pack://application:,,,/Resources/receipt.png"
  651. Click="ReceiptTypeList_Click" MinWidth="60" />
  652. <fluent:Button x:Name="PaymentTypeList" Header="Payment Types"
  653. LargeIcon="pack://application:,,,/Resources/payment.png"
  654. Click="PaymentTypeList_Click" MinWidth="60" />
  655. <fluent:Button x:Name="CostCentresList" Header="Cost Centres"
  656. LargeIcon="pack://application:,,,/Resources/costcentre.png"
  657. Click="CostCentresList_Click" MinWidth="60" />
  658. <fluent:Button x:Name="GLCodesList" Header="GL Codes"
  659. LargeIcon="pack://application:,,,/Resources/glcode.png"
  660. Click="GLCodesList_Click" MinWidth="60" />
  661. <fluent:Button x:Name="PurchaseOrderCategoriesList" Size="Large"
  662. Header="Purchase Order Categories"
  663. LargeIcon="pack://application:,,,/Resources/service.png"
  664. Click="PurchaseOrderCategoriesButton_Click" MinWidth="60" />
  665. </fluent:RibbonGroupBox-->
  666. </fluent:RibbonTabItem>
  667. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  668. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions"
  669. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  670. <fluent:Button Header="Refresh"
  671. LargeIcon="pack://application:,,,/Resources/refresh.png"
  672. Click="RefreshMenu_Click" MinWidth="60" />
  673. <syncfusion:RibbonSeparator />
  674. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  675. LargeIcon="pack://application:,,,/Resources/kpi.png"
  676. Click="Dashboards_Checked" MinWidth="60" />
  677. <fluent:Button x:Name="EquipmentMessagesButton" Size="Large"
  678. Header="Notification Centre"
  679. LargeIcon="pack://application:,,,/Resources/email.png"
  680. Click="Messages_Checked" MinWidth="60" />
  681. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  682. LargeIcon="pack://application:,,,/Resources/kanban.png"
  683. Click="Tasks_Checked" MinWidth="60" />
  684. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  685. LargeIcon="pack://application:,,,/Resources/attendance.png"
  686. Click="Attendance_Checked" MinWidth="60" />
  687. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  688. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  689. MinWidth="60" />
  690. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  691. LargeIcon="pack://application:,,,/Resources/report.png"
  692. Click="DailyReport_Checked" MinWidth="60" />
  693. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  694. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  695. LargeIcon="pack://application:,,,/Resources/specifications.png"
  696. Click="Equipment_Checked" MinWidth="60" />
  697. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  698. LargeIcon="pack://application:,,,/Resources/milestone.png"
  699. Click="Trackers_Click" MinWidth="60" />
  700. </fluent:RibbonGroupBox>
  701. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" MinWidth="60" Header="Print"
  702. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  703. IsLauncherVisible="False" />
  704. <!--fluent:RibbonGroupBox x:Name="EquipmentSetup" Width="Auto" Header="Tools"
  705. IsLauncherVisible="False">
  706. <fluent:Button x:Name="TrackerTypesMasterList" Header="Tracker Types"
  707. LargeIcon="pack://application:,,,/Resources/milestone.png"
  708. Click="TrackerTypes_Click" MinWidth="60" />
  709. <fluent:Button x:Name="StickersMasterList" Header="Stickers"
  710. LargeIcon="pack://application:,,,/Resources/barcode.png"
  711. Click="Stickers_Click" MinWidth="60" />
  712. <fluent:Button x:Name="DigitalKeysMasterList" Header="Digital Keys"
  713. LargeIcon="pack://application:,,,/Resources/key.png"
  714. Click="DigitalKeys_Click" MinWidth="60" />
  715. <fluent:Button x:Name="EquipmentGroupList" Header="Equipment Groups"
  716. LargeIcon="pack://application:,,,/Resources/specifications.png"
  717. Click="EquipmentGroupList_Click" MinWidth="60" />
  718. </fluent:RibbonGroupBox-->
  719. </fluent:RibbonTabItem>
  720. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  721. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions" LauncherClick="ManageModulesClick"
  722. IsLauncherVisible="False">
  723. <fluent:Button Header="Refresh"
  724. LargeIcon="pack://application:,,,/Resources/refresh.png"
  725. Click="RefreshMenu_Click" MinWidth="60" />
  726. <syncfusion:RibbonSeparator />
  727. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  728. LargeIcon="pack://application:,,,/Resources/kpi.png"
  729. Click="Dashboards_Checked" MinWidth="60" />
  730. <fluent:Button x:Name="DashboardMessagesButton" Size="Large"
  731. Header="Notification Centre"
  732. LargeIcon="pack://application:,,,/Resources/email.png"
  733. Click="Messages_Checked" MinWidth="60" />
  734. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  735. LargeIcon="pack://application:,,,/Resources/kanban.png"
  736. Click="Tasks_Checked" MinWidth="60" />
  737. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  738. LargeIcon="pack://application:,,,/Resources/attendance.png"
  739. Click="Attendance_Checked" MinWidth="60" />
  740. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  741. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  742. MinWidth="60" />
  743. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  744. LargeIcon="pack://application:,,,/Resources/report.png"
  745. Click="DailyReport_Checked" MinWidth="60" />
  746. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  747. <!--This is where the static dashboards need to go-->
  748. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  749. LargeIcon="pack://application:,,,/Resources/kpi.png"
  750. Click="FactoryProductivityButton_Click" MinWidth="60" />
  751. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  752. LargeIcon="pack://application:,,,/Resources/kpi.png"
  753. Click="TemplateAnalysisButton_Click" MinWidth="60" />
  754. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  755. LargeIcon="pack://application:,,,/Resources/kpi.png"
  756. Click="FactoryAnalysisButton_Click" MinWidth="60" />
  757. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  758. LargeIcon="pack://application:,,,/Resources/kpi.png"
  759. Click="DatabaseActivityButton_Click" MinWidth="60" />
  760. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  761. LargeIcon="pack://application:,,,/Resources/kpi.png"
  762. Click="UserActivityButton_Click" MinWidth="60" />
  763. <fluent:Button x:Name="QAAnalysisButton" Header="Digital Forms"
  764. LargeIcon="pack://application:,,,/Resources/kpi.png"
  765. Click="QAAnalysisButton_Click" MinWidth="60" />
  766. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  767. LargeIcon="pack://application:,,,/Resources/kpi.png"
  768. Click="QuickStatus_Click" MinWidth="60" />
  769. </fluent:RibbonGroupBox>
  770. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" MinWidth="60" Header="Print"
  771. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  772. IsLauncherVisible="False" />
  773. </fluent:RibbonTabItem>
  774. </fluent:Ribbon>
  775. <Grid Grid.Row="0" Grid.Column="1">
  776. <Grid.ColumnDefinitions>
  777. <ColumnDefinition Width="*" />
  778. <ColumnDefinition Width="*" />
  779. <ColumnDefinition Width="*" />
  780. </Grid.ColumnDefinitions>
  781. <Grid.RowDefinitions>
  782. <RowDefinition Height="30" />
  783. <RowDefinition Height="*" />
  784. </Grid.RowDefinitions>
  785. <fluent:Button
  786. x:Name="SendNotification"
  787. Header="Send Notification"
  788. BorderBrush="Gray"
  789. BorderThickness="0.75"
  790. Margin="0,0,5,0"
  791. Background="WhiteSmoke"
  792. Grid.Row="0"
  793. Grid.Column="2"
  794. Size="Middle"
  795. Icon="Resources/team.png"
  796. HorizontalAlignment="Stretch"
  797. Height="25"
  798. Click="SendNotificationClick" />
  799. <fluent:Button Grid.Row="1" Grid.Column="0"
  800. Header="Setup"
  801. LargeIcon="Resources/view.png"
  802. Click="Setup_Click"
  803. Margin="0,0,5,20"/>
  804. <fluent:Button Grid.Row="1" Grid.Column="1"
  805. Header="Forms"
  806. LargeIcon="Resources/contract.png"
  807. Click="Forms_Click"
  808. Margin="0,0,5,20"/>
  809. <Border Grid.Row="1" Grid.Column="2"
  810. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  811. <StackPanel Orientation="Horizontal">
  812. <fluent:Button
  813. Header="Online Help"
  814. LargeIcon="Resources/help.png"
  815. Click="Wiki_Click" />
  816. <fluent:Button
  817. x:Name="EquipmentTechnicalLibrary"
  818. Header="Technical Library"
  819. LargeIcon="Resources/doc-pdf.png"
  820. Click="Library_Click" />
  821. </StackPanel>
  822. </Border>
  823. </Grid>
  824. <DockingManager x:Name="DockingManager"
  825. Grid.Row="1"
  826. Grid.Column="0"
  827. Grid.ColumnSpan="2"
  828. AllowMixedOrientation="True"
  829. AutoWindowSizeWhenOpened="True"
  830. IsVirtualizingAnchorable="True"
  831. IsVirtualizingDocument="True"
  832. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  833. <DockingManager.Theme>
  834. <MetroTheme />
  835. </DockingManager.Theme>
  836. <DockingManager.Resources>
  837. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  838. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  839. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  840. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  841. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  842. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  843. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  844. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  845. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  846. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  847. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  848. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  849. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  850. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  851. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  852. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  853. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  854. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  855. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  856. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  857. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  858. </DockingManager.Resources>
  859. <LayoutRoot>
  860. <LayoutPanel Orientation="Horizontal">
  861. <LayoutDocumentPaneGroup>
  862. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  863. <LayoutDocument Title="Document 1" ContentId="document1">
  864. <Grid x:Name="DockingGrid">
  865. <Grid.RowDefinitions>
  866. <RowDefinition Height="*" />
  867. </Grid.RowDefinitions>
  868. <Grid.ColumnDefinitions>
  869. <ColumnDefinition Width="*" />
  870. <ColumnDefinition Width="0" />
  871. <ColumnDefinition Width="0" />
  872. </Grid.ColumnDefinitions>
  873. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  874. VerticalAlignment="Stretch"
  875. Grid.Column="0" Grid.Row="0" Margin="2,0,2,-4" />
  876. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  877. ResizeBehavior="PreviousAndNext"
  878. Background="Transparent"
  879. Template="{StaticResource VerticalSplitter}">
  880. <syncfusion:SfGridSplitter.PreviewStyle>
  881. <Style TargetType="Control">
  882. <Setter Property="Background" Value="Gray" />
  883. <Setter Property="Template">
  884. <Setter.Value>
  885. <ControlTemplate TargetType="Control">
  886. <Grid x:Name="Root" Opacity="0.5">
  887. <Rectangle Fill="{TemplateBinding Background}" />
  888. </Grid>
  889. </ControlTemplate>
  890. </Setter.Value>
  891. </Setter>
  892. </Style>
  893. </syncfusion:SfGridSplitter.PreviewStyle>
  894. </syncfusion:SfGridSplitter>
  895. <local:NotificationsDock x:Name="Notifications" Grid.Row="0" Grid.Column="2"
  896. Changed="Notifications_Changed" />
  897. </Grid>
  898. </LayoutDocument>
  899. </LayoutDocumentPane>
  900. </LayoutDocumentPaneGroup>
  901. </LayoutPanel>
  902. <LayoutRoot.LeftSide>
  903. <LayoutAnchorSide>
  904. <LayoutAnchorGroup x:Name="DockGroup">
  905. <LayoutAnchorable
  906. x:Name="ContactDock"
  907. Title="Address Book"
  908. ContentId="contacts"
  909. CanClose="False"
  910. CanFloat="False"
  911. CanHide="False"
  912. CanAutoHide="False"
  913. CanDockAsTabbedDocument="False"
  914. CanMove="False"
  915. AutoHideWidth="500"
  916. FloatingWidth="500"
  917. IsActiveChanged="DockPanel_OnIsActiveChanged">
  918. <Border BorderThickness="0.75" BorderBrush="Gray">
  919. <local:ContactDock x:Name="Contacts" />
  920. </Border>
  921. </LayoutAnchorable>
  922. <LayoutAnchorable
  923. x:Name="JobDock"
  924. Title="Projects"
  925. ContentId="projects"
  926. CanClose="False"
  927. CanFloat="False"
  928. CanHide="False"
  929. CanAutoHide="False"
  930. CanDockAsTabbedDocument="False"
  931. CanMove="False"
  932. AutoHideWidth="500"
  933. FloatingWidth="500"
  934. IsActiveChanged="DockPanel_OnIsActiveChanged">
  935. <Border BorderThickness="0.75" BorderBrush="Gray">
  936. <local:JobDock x:Name="Jobs" />
  937. </Border>
  938. </LayoutAnchorable>
  939. <LayoutAnchorable
  940. x:Name="ConsignmentDock"
  941. Title="Consignments"
  942. ContentId="consignments"
  943. CanClose="False"
  944. CanFloat="False"
  945. CanHide="False"
  946. CanAutoHide="True"
  947. CanDockAsTabbedDocument="False"
  948. AutoHideWidth="500"
  949. FloatingWidth="500"
  950. IsActiveChanged="DockPanel_OnIsActiveChanged">
  951. <Border BorderThickness="0.75" BorderBrush="Gray">
  952. <local:ConsignmentDock x:Name="Consignments" />
  953. </Border>
  954. </LayoutAnchorable>
  955. <LayoutAnchorable
  956. x:Name="DeliveryDock"
  957. Title="Deliveries"
  958. ContentId="deliveries"
  959. CanClose="False"
  960. CanFloat="False"
  961. CanHide="False"
  962. CanAutoHide="True"
  963. CanDockAsTabbedDocument="False"
  964. AutoHideWidth="500"
  965. FloatingWidth="500"
  966. IsActiveChanged="DockPanel_OnIsActiveChanged">
  967. <Border BorderThickness="0.75" BorderBrush="Gray">
  968. <local:DeliveryDock x:Name="Deliveries" />
  969. </Border>
  970. </LayoutAnchorable>
  971. <LayoutAnchorable
  972. x:Name="ProductLookupDock"
  973. Title="Products"
  974. ContentId="products"
  975. CanClose="False"
  976. CanFloat="False"
  977. CanHide="False"
  978. CanAutoHide="True"
  979. CanDockAsTabbedDocument="False"
  980. AutoHideWidth="500"
  981. FloatingWidth="500"
  982. IsActiveChanged="DockPanel_OnIsActiveChanged">
  983. <Border BorderThickness="0.75" BorderBrush="Gray">
  984. <local:ProductLookupDock x:Name="ProductLookup" />
  985. </Border>
  986. </LayoutAnchorable>
  987. <LayoutAnchorable
  988. x:Name="DigitalFormsDock"
  989. Title="Digital Forms"
  990. ContentId="digitalforms"
  991. CanClose="False"
  992. CanFloat="False"
  993. CanHide="False"
  994. CanAutoHide="True"
  995. CanDockAsTabbedDocument="False"
  996. AutoHideWidth="500"
  997. FloatingWidth="500"
  998. IsActiveChanged="DockPanel_OnIsActiveChanged">
  999. <Border BorderThickness="0.75" BorderBrush="Gray">
  1000. <local:DigitalFormsDock x:Name="DigitalForms" />
  1001. </Border>
  1002. </LayoutAnchorable>
  1003. </LayoutAnchorGroup>
  1004. </LayoutAnchorSide>
  1005. </LayoutRoot.LeftSide>
  1006. </LayoutRoot>
  1007. </DockingManager>
  1008. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  1009. Background="DimGray">
  1010. <Grid>
  1011. <Grid.ColumnDefinitions>
  1012. <ColumnDefinition Width="Auto" />
  1013. <ColumnDefinition Width="*" />
  1014. <ColumnDefinition Width="Auto" />
  1015. <ColumnDefinition Width="Auto" />
  1016. <ColumnDefinition Width="Auto" />
  1017. <ColumnDefinition Width="Auto" />
  1018. <ColumnDefinition Width="Auto" />
  1019. <ColumnDefinition Width="Auto" />
  1020. <ColumnDefinition Width="100" />
  1021. <ColumnDefinition Width="Auto" />
  1022. </Grid.ColumnDefinitions>
  1023. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  1024. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  1025. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1026. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  1027. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  1028. Click="SelectTask_Click" Width="25">
  1029. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  1030. </Button>
  1031. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  1032. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  1033. </DockPanel>
  1034. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  1035. Click="VideoRecordingButton_Click">
  1036. <Image x:Name="VideoRecordingStatus"
  1037. Source="pack://application:,,,/Resources/videorecording.png"
  1038. Height="24" Margin="2" />
  1039. </Button>
  1040. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1041. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1042. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1043. Height="24" Margin="2" />
  1044. </Button>
  1045. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1046. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1047. <Image x:Name="AudioRecordingStatus"
  1048. Source="pack://application:,,,/Resources/audiorecording.png"
  1049. Height="24" Margin="2" />
  1050. </Button>
  1051. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1052. Click="SecondaryWindow_Click" Visibility="Visible">
  1053. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1054. Height="24" Margin="2" />
  1055. </Button>
  1056. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1057. Click="Console_Click" Visibility="Visible">
  1058. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1059. Margin="2" />
  1060. </Button>
  1061. <Label Grid.Column="8" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1062. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1063. <Label Grid.Column="9" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1064. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1065. Visibility="Collapsed" />
  1066. </Grid>
  1067. </Border>
  1068. </Grid>
  1069. </fluent:RibbonWindow>