MainWindow.xaml 78 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200
  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="AccountsDataButton" Header="Data Entry"
  606. LargeIcon="pack://application:,,,/Resources/pencil.png"
  607. Click="DataEntry_Click" MinWidth="60" />
  608. <fluent:Button x:Name="AccountsAttendanceButton" Header="In/Out Board"
  609. LargeIcon="pack://application:,,,/Resources/attendance.png"
  610. Click="Attendance_Checked" MinWidth="60" />
  611. <fluent:Button x:Name="AccountsMapButton" Header="Live Maps"
  612. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  613. MinWidth="60" />
  614. <fluent:Button x:Name="AccountsDailyReportButton" Header="Daily Report"
  615. LargeIcon="pack://application:,,,/Resources/report.png"
  616. Click="DailyReport_Checked" MinWidth="60" />
  617. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator1" />
  618. <fluent:Button x:Name="CustomerList" Header="Customers"
  619. LargeIcon="pack://application:,,,/Resources/customer.png"
  620. Click="CustomerList_Click" MinWidth="60" />
  621. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  622. LargeIcon="pack://application:,,,/Resources/invoice.png"
  623. Click="InvoiceList_Click" MinWidth="60" />
  624. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  625. LargeIcon="pack://application:,,,/Resources/receipt.png"
  626. Click="ReceiptList_Click" MinWidth="60" />
  627. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator2" />
  628. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  629. LargeIcon="pack://application:,,,/Resources/supplier.png"
  630. Click="SupplierList_Click" MinWidth="60" />
  631. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  632. LargeIcon="pack://application:,,,/Resources/purchase.png"
  633. Click="PurchasesList_Click" MinWidth="60" />
  634. <fluent:Button x:Name="BillsList" Header="Bills"
  635. LargeIcon="pack://application:,,,/Resources/bill.png"
  636. Click="BillsList_Click" MinWidth="60" />
  637. <fluent:Button x:Name="PaymentsList" Header="Payments"
  638. LargeIcon="pack://application:,,,/Resources/payment.png"
  639. Click="PaymentsList_Click" MinWidth="60" />
  640. </fluent:RibbonGroupBox>
  641. <fluent:RibbonGroupBox x:Name="AccountsReports" Width="Auto" MinWidth="60" Header="Print"
  642. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  643. IsLauncherVisible="False" />
  644. <!--fluent:RibbonGroupBox x:Name="AccountsSetup" Width="Auto" Header="Tools"
  645. IsLauncherVisible="False">
  646. <fluent:Button x:Name="ContactTypeList" Header="Contact Types"
  647. LargeIcon="pack://application:,,,/Resources/contacttype.png"
  648. Click="ContactTypeList_Click" MinWidth="60" />
  649. <fluent:Button x:Name="TaxCodeList" Header="Tax Codes"
  650. LargeIcon="pack://application:,,,/Resources/taxcode.png"
  651. Click="TaxCodeList_Click" MinWidth="60" />
  652. <fluent:Button x:Name="ReceiptTypeList" Header="Receipt Types"
  653. LargeIcon="pack://application:,,,/Resources/receipt.png"
  654. Click="ReceiptTypeList_Click" MinWidth="60" />
  655. <fluent:Button x:Name="PaymentTypeList" Header="Payment Types"
  656. LargeIcon="pack://application:,,,/Resources/payment.png"
  657. Click="PaymentTypeList_Click" MinWidth="60" />
  658. <fluent:Button x:Name="CostCentresList" Header="Cost Centres"
  659. LargeIcon="pack://application:,,,/Resources/costcentre.png"
  660. Click="CostCentresList_Click" MinWidth="60" />
  661. <fluent:Button x:Name="GLCodesList" Header="GL Codes"
  662. LargeIcon="pack://application:,,,/Resources/glcode.png"
  663. Click="GLCodesList_Click" MinWidth="60" />
  664. <fluent:Button x:Name="PurchaseOrderCategoriesList" Size="Large"
  665. Header="Purchase Order Categories"
  666. LargeIcon="pack://application:,,,/Resources/service.png"
  667. Click="PurchaseOrderCategoriesButton_Click" MinWidth="60" />
  668. </fluent:RibbonGroupBox-->
  669. </fluent:RibbonTabItem>
  670. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  671. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions"
  672. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  673. <fluent:Button Header="Refresh"
  674. LargeIcon="pack://application:,,,/Resources/refresh.png"
  675. Click="RefreshMenu_Click" MinWidth="60" />
  676. <syncfusion:RibbonSeparator />
  677. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  678. LargeIcon="pack://application:,,,/Resources/kpi.png"
  679. Click="Dashboards_Checked" MinWidth="60" />
  680. <fluent:Button x:Name="EquipmentMessagesButton" Size="Large"
  681. Header="Notification Centre"
  682. LargeIcon="pack://application:,,,/Resources/email.png"
  683. Click="Messages_Checked" MinWidth="60" />
  684. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  685. LargeIcon="pack://application:,,,/Resources/kanban.png"
  686. Click="Tasks_Checked" MinWidth="60" />
  687. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  688. LargeIcon="pack://application:,,,/Resources/attendance.png"
  689. Click="Attendance_Checked" MinWidth="60" />
  690. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  691. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  692. MinWidth="60" />
  693. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  694. LargeIcon="pack://application:,,,/Resources/report.png"
  695. Click="DailyReport_Checked" MinWidth="60" />
  696. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  697. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  698. LargeIcon="pack://application:,,,/Resources/specifications.png"
  699. Click="Equipment_Checked" MinWidth="60" />
  700. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  701. LargeIcon="pack://application:,,,/Resources/milestone.png"
  702. Click="Trackers_Click" MinWidth="60" />
  703. </fluent:RibbonGroupBox>
  704. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" MinWidth="60" Header="Print"
  705. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  706. IsLauncherVisible="False" />
  707. <!--fluent:RibbonGroupBox x:Name="EquipmentSetup" Width="Auto" Header="Tools"
  708. IsLauncherVisible="False">
  709. <fluent:Button x:Name="TrackerTypesMasterList" Header="Tracker Types"
  710. LargeIcon="pack://application:,,,/Resources/milestone.png"
  711. Click="TrackerTypes_Click" MinWidth="60" />
  712. <fluent:Button x:Name="StickersMasterList" Header="Stickers"
  713. LargeIcon="pack://application:,,,/Resources/barcode.png"
  714. Click="Stickers_Click" MinWidth="60" />
  715. <fluent:Button x:Name="DigitalKeysMasterList" Header="Digital Keys"
  716. LargeIcon="pack://application:,,,/Resources/key.png"
  717. Click="DigitalKeys_Click" MinWidth="60" />
  718. <fluent:Button x:Name="EquipmentGroupList" Header="Equipment Groups"
  719. LargeIcon="pack://application:,,,/Resources/specifications.png"
  720. Click="EquipmentGroupList_Click" MinWidth="60" />
  721. </fluent:RibbonGroupBox-->
  722. </fluent:RibbonTabItem>
  723. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  724. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions" LauncherClick="ManageModulesClick"
  725. IsLauncherVisible="False">
  726. <fluent:Button Header="Refresh"
  727. LargeIcon="pack://application:,,,/Resources/refresh.png"
  728. Click="RefreshMenu_Click" MinWidth="60" />
  729. <syncfusion:RibbonSeparator />
  730. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  731. LargeIcon="pack://application:,,,/Resources/kpi.png"
  732. Click="Dashboards_Checked" MinWidth="60" />
  733. <fluent:Button x:Name="DashboardMessagesButton" Size="Large"
  734. Header="Notification Centre"
  735. LargeIcon="pack://application:,,,/Resources/email.png"
  736. Click="Messages_Checked" MinWidth="60" />
  737. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  738. LargeIcon="pack://application:,,,/Resources/kanban.png"
  739. Click="Tasks_Checked" MinWidth="60" />
  740. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  741. LargeIcon="pack://application:,,,/Resources/attendance.png"
  742. Click="Attendance_Checked" MinWidth="60" />
  743. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  744. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  745. MinWidth="60" />
  746. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  747. LargeIcon="pack://application:,,,/Resources/report.png"
  748. Click="DailyReport_Checked" MinWidth="60" />
  749. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  750. <!--This is where the static dashboards need to go-->
  751. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  752. LargeIcon="pack://application:,,,/Resources/kpi.png"
  753. Click="FactoryProductivityButton_Click" MinWidth="60" />
  754. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  755. LargeIcon="pack://application:,,,/Resources/kpi.png"
  756. Click="TemplateAnalysisButton_Click" MinWidth="60" />
  757. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  758. LargeIcon="pack://application:,,,/Resources/kpi.png"
  759. Click="FactoryAnalysisButton_Click" MinWidth="60" />
  760. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  761. LargeIcon="pack://application:,,,/Resources/kpi.png"
  762. Click="DatabaseActivityButton_Click" MinWidth="60" />
  763. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  764. LargeIcon="pack://application:,,,/Resources/kpi.png"
  765. Click="UserActivityButton_Click" MinWidth="60" />
  766. <fluent:Button x:Name="QAAnalysisButton" Header="Digital Forms"
  767. LargeIcon="pack://application:,,,/Resources/kpi.png"
  768. Click="QAAnalysisButton_Click" MinWidth="60" />
  769. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  770. LargeIcon="pack://application:,,,/Resources/kpi.png"
  771. Click="QuickStatus_Click" MinWidth="60" />
  772. </fluent:RibbonGroupBox>
  773. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" MinWidth="60" Header="Print"
  774. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  775. IsLauncherVisible="False" />
  776. </fluent:RibbonTabItem>
  777. </fluent:Ribbon>
  778. <Grid Grid.Row="0" Grid.Column="1">
  779. <Grid.ColumnDefinitions>
  780. <ColumnDefinition Width="*" />
  781. <ColumnDefinition Width="*" />
  782. <ColumnDefinition Width="*" />
  783. </Grid.ColumnDefinitions>
  784. <Grid.RowDefinitions>
  785. <RowDefinition Height="30" />
  786. <RowDefinition Height="*" />
  787. </Grid.RowDefinitions>
  788. <fluent:Button
  789. x:Name="SendNotification"
  790. Header="Send Notification"
  791. BorderBrush="Gray"
  792. BorderThickness="0.75"
  793. Margin="0,0,5,0"
  794. Background="WhiteSmoke"
  795. Grid.Row="0"
  796. Grid.Column="2"
  797. Size="Middle"
  798. Icon="Resources/team.png"
  799. HorizontalAlignment="Stretch"
  800. Height="25"
  801. Click="SendNotificationClick" />
  802. <fluent:Button Grid.Row="1" Grid.Column="0"
  803. Header="Setup"
  804. LargeIcon="Resources/view.png"
  805. Click="Setup_Click"
  806. Margin="0,0,5,20"/>
  807. <fluent:Button Grid.Row="1" Grid.Column="1"
  808. Header="Forms"
  809. LargeIcon="Resources/contract.png"
  810. Click="Forms_Click"
  811. Margin="0,0,5,20"/>
  812. <Border Grid.Row="1" Grid.Column="2"
  813. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  814. <StackPanel Orientation="Horizontal">
  815. <fluent:Button
  816. Header="Online Help"
  817. LargeIcon="Resources/help.png"
  818. Click="Wiki_Click" />
  819. <fluent:Button
  820. x:Name="EquipmentTechnicalLibrary"
  821. Header="Technical Library"
  822. LargeIcon="Resources/doc-pdf.png"
  823. Click="Library_Click" />
  824. </StackPanel>
  825. </Border>
  826. </Grid>
  827. <DockingManager x:Name="DockingManager"
  828. Grid.Row="1"
  829. Grid.Column="0"
  830. Grid.ColumnSpan="2"
  831. AllowMixedOrientation="True"
  832. AutoWindowSizeWhenOpened="True"
  833. IsVirtualizingAnchorable="True"
  834. IsVirtualizingDocument="True"
  835. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  836. <DockingManager.Theme>
  837. <MetroTheme />
  838. </DockingManager.Theme>
  839. <DockingManager.Resources>
  840. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  841. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  842. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  843. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  844. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  845. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  846. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  847. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  848. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  849. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  850. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  851. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  852. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  853. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  854. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  855. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  856. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  857. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  858. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  859. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  860. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  861. </DockingManager.Resources>
  862. <LayoutRoot>
  863. <LayoutPanel Orientation="Horizontal">
  864. <LayoutDocumentPaneGroup>
  865. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  866. <LayoutDocument Title="Document 1" ContentId="document1">
  867. <Grid x:Name="DockingGrid">
  868. <Grid.RowDefinitions>
  869. <RowDefinition Height="*" />
  870. </Grid.RowDefinitions>
  871. <Grid.ColumnDefinitions>
  872. <ColumnDefinition Width="*" />
  873. <ColumnDefinition Width="0" />
  874. <ColumnDefinition Width="0" />
  875. </Grid.ColumnDefinitions>
  876. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  877. VerticalAlignment="Stretch"
  878. Grid.Column="0" Grid.Row="0" Margin="2,0,2,-4" />
  879. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  880. ResizeBehavior="PreviousAndNext"
  881. Background="Transparent"
  882. Template="{StaticResource VerticalSplitter}">
  883. <syncfusion:SfGridSplitter.PreviewStyle>
  884. <Style TargetType="Control">
  885. <Setter Property="Background" Value="Gray" />
  886. <Setter Property="Template">
  887. <Setter.Value>
  888. <ControlTemplate TargetType="Control">
  889. <Grid x:Name="Root" Opacity="0.5">
  890. <Rectangle Fill="{TemplateBinding Background}" />
  891. </Grid>
  892. </ControlTemplate>
  893. </Setter.Value>
  894. </Setter>
  895. </Style>
  896. </syncfusion:SfGridSplitter.PreviewStyle>
  897. </syncfusion:SfGridSplitter>
  898. <local:NotificationsDock x:Name="Notifications" Grid.Row="0" Grid.Column="2"
  899. Changed="Notifications_Changed" />
  900. </Grid>
  901. </LayoutDocument>
  902. </LayoutDocumentPane>
  903. </LayoutDocumentPaneGroup>
  904. </LayoutPanel>
  905. <LayoutRoot.LeftSide>
  906. <LayoutAnchorSide>
  907. <LayoutAnchorGroup x:Name="DockGroup">
  908. <LayoutAnchorable
  909. x:Name="ContactDock"
  910. Title="Address Book"
  911. ContentId="contacts"
  912. CanClose="False"
  913. CanFloat="False"
  914. CanHide="False"
  915. CanAutoHide="False"
  916. CanDockAsTabbedDocument="False"
  917. CanMove="False"
  918. AutoHideWidth="500"
  919. FloatingWidth="500"
  920. IsActiveChanged="DockPanel_OnIsActiveChanged">
  921. <Border BorderThickness="0.75" BorderBrush="Gray">
  922. <local:ContactDock x:Name="Contacts" />
  923. </Border>
  924. </LayoutAnchorable>
  925. <LayoutAnchorable
  926. x:Name="JobDock"
  927. Title="Projects"
  928. ContentId="projects"
  929. CanClose="False"
  930. CanFloat="False"
  931. CanHide="False"
  932. CanAutoHide="False"
  933. CanDockAsTabbedDocument="False"
  934. CanMove="False"
  935. AutoHideWidth="500"
  936. FloatingWidth="500"
  937. IsActiveChanged="DockPanel_OnIsActiveChanged">
  938. <Border BorderThickness="0.75" BorderBrush="Gray">
  939. <local:JobDock x:Name="Jobs" />
  940. </Border>
  941. </LayoutAnchorable>
  942. <LayoutAnchorable
  943. x:Name="ConsignmentDock"
  944. Title="Consignments"
  945. ContentId="consignments"
  946. CanClose="False"
  947. CanFloat="False"
  948. CanHide="False"
  949. CanAutoHide="True"
  950. CanDockAsTabbedDocument="False"
  951. AutoHideWidth="500"
  952. FloatingWidth="500"
  953. IsActiveChanged="DockPanel_OnIsActiveChanged">
  954. <Border BorderThickness="0.75" BorderBrush="Gray">
  955. <local:ConsignmentDock x:Name="Consignments" />
  956. </Border>
  957. </LayoutAnchorable>
  958. <LayoutAnchorable
  959. x:Name="DeliveryDock"
  960. Title="Deliveries"
  961. ContentId="deliveries"
  962. CanClose="False"
  963. CanFloat="False"
  964. CanHide="False"
  965. CanAutoHide="True"
  966. CanDockAsTabbedDocument="False"
  967. AutoHideWidth="500"
  968. FloatingWidth="500"
  969. IsActiveChanged="DockPanel_OnIsActiveChanged">
  970. <Border BorderThickness="0.75" BorderBrush="Gray">
  971. <local:DeliveryDock x:Name="Deliveries" />
  972. </Border>
  973. </LayoutAnchorable>
  974. <LayoutAnchorable
  975. x:Name="ProductLookupDock"
  976. Title="Products"
  977. ContentId="products"
  978. CanClose="False"
  979. CanFloat="False"
  980. CanHide="False"
  981. CanAutoHide="True"
  982. CanDockAsTabbedDocument="False"
  983. AutoHideWidth="500"
  984. FloatingWidth="500"
  985. IsActiveChanged="DockPanel_OnIsActiveChanged">
  986. <Border BorderThickness="0.75" BorderBrush="Gray">
  987. <local:ProductLookupDock x:Name="ProductLookup" />
  988. </Border>
  989. </LayoutAnchorable>
  990. <LayoutAnchorable
  991. x:Name="DigitalFormsDock"
  992. Title="Digital Forms"
  993. ContentId="digitalforms"
  994. CanClose="False"
  995. CanFloat="False"
  996. CanHide="False"
  997. CanAutoHide="True"
  998. CanDockAsTabbedDocument="False"
  999. AutoHideWidth="500"
  1000. FloatingWidth="500"
  1001. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1002. <Border BorderThickness="0.75" BorderBrush="Gray">
  1003. <local:DigitalFormsDock x:Name="DigitalForms" />
  1004. </Border>
  1005. </LayoutAnchorable>
  1006. </LayoutAnchorGroup>
  1007. </LayoutAnchorSide>
  1008. </LayoutRoot.LeftSide>
  1009. </LayoutRoot>
  1010. </DockingManager>
  1011. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  1012. Background="DimGray">
  1013. <Grid>
  1014. <Grid.ColumnDefinitions>
  1015. <ColumnDefinition Width="Auto" />
  1016. <ColumnDefinition Width="*" />
  1017. <ColumnDefinition Width="Auto" />
  1018. <ColumnDefinition Width="Auto" />
  1019. <ColumnDefinition Width="Auto" />
  1020. <ColumnDefinition Width="Auto" />
  1021. <ColumnDefinition Width="Auto" />
  1022. <ColumnDefinition Width="Auto" />
  1023. <ColumnDefinition Width="100" />
  1024. <ColumnDefinition Width="Auto" />
  1025. </Grid.ColumnDefinitions>
  1026. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  1027. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  1028. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1029. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  1030. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  1031. Click="SelectTask_Click" Width="25">
  1032. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  1033. </Button>
  1034. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  1035. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  1036. </DockPanel>
  1037. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  1038. Click="VideoRecordingButton_Click">
  1039. <Image x:Name="VideoRecordingStatus"
  1040. Source="pack://application:,,,/Resources/videorecording.png"
  1041. Height="24" Margin="2" />
  1042. </Button>
  1043. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1044. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1045. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1046. Height="24" Margin="2" />
  1047. </Button>
  1048. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1049. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1050. <Image x:Name="AudioRecordingStatus"
  1051. Source="pack://application:,,,/Resources/audiorecording.png"
  1052. Height="24" Margin="2" />
  1053. </Button>
  1054. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1055. Click="SecondaryWindow_Click" Visibility="Visible">
  1056. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1057. Height="24" Margin="2" />
  1058. </Button>
  1059. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1060. Click="Console_Click" Visibility="Visible">
  1061. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1062. Margin="2" />
  1063. </Button>
  1064. <Label Grid.Column="8" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1065. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1066. <Label Grid.Column="9" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1067. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1068. Visibility="Collapsed" />
  1069. </Grid>
  1070. </Border>
  1071. </Grid>
  1072. </fluent:RibbonWindow>