| 
									
										
										
										
											2019-09-29 22:38:10 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-24 17:13:08 -06:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-09 19:18:19 -06:00
										 |  |  | /* This Source Code Form is subject to the terms of the Mozilla Public | 
					
						
							|  |  |  |  * License, v. 2.0. If a copy of the MPL was not distributed with this | 
					
						
							|  |  |  |  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-24 17:13:08 -06:00
										 |  |  | // List of pages and metadata
 | 
					
						
							|  |  |  | define("PAGES", [ | 
					
						
							|  |  |  |     "home" => [ | 
					
						
							| 
									
										
										
										
											2018-12-20 23:24:47 -07:00
										 |  |  |         "title" => "Home", | 
					
						
							| 
									
										
										
										
											2017-04-25 18:22:27 -06:00
										 |  |  |         "navbar" => true, | 
					
						
							| 
									
										
										
										
											2018-01-27 19:18:38 -07:00
										 |  |  |         "icon" => "fas fa-home" | 
					
						
							| 
									
										
										
										
											2017-04-24 17:13:08 -06:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2019-09-29 22:38:10 -06:00
										 |  |  |     "machines" => [ | 
					
						
							|  |  |  |         "title" => "Machines", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:24:47 -07:00
										 |  |  |         "navbar" => true, | 
					
						
							| 
									
										
										
										
											2019-09-29 22:38:10 -06:00
										 |  |  |         "icon" => "fas fa-desktop", | 
					
						
							|  |  |  |         "styles" => [ | 
					
						
							|  |  |  |             "static/css/datatables.min.css", | 
					
						
							|  |  |  |             "static/css/tables.css" | 
					
						
							|  |  |  |         ], | 
					
						
							| 
									
										
										
										
											2018-12-20 23:24:47 -07:00
										 |  |  |         "scripts" => [ | 
					
						
							| 
									
										
										
										
											2019-09-29 22:38:10 -06:00
										 |  |  |             "static/js/datatables.min.js", | 
					
						
							|  |  |  |             "static/js/machines.js" | 
					
						
							| 
									
										
										
										
											2018-12-20 23:24:47 -07:00
										 |  |  |         ] | 
					
						
							| 
									
										
										
										
											2019-09-29 22:38:10 -06:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2019-10-02 16:33:53 -06:00
										 |  |  |     "clients" => [ | 
					
						
							|  |  |  |         "title" => "Clients", | 
					
						
							|  |  |  |         "navbar" => (empty($SETTINGS['apis']['invoiceninja']['token']) ? true : false), | 
					
						
							|  |  |  |         "icon" => "fas fa-users", | 
					
						
							|  |  |  |         "styles" => [ | 
					
						
							|  |  |  |             "static/css/datatables.min.css", | 
					
						
							|  |  |  |             "static/css/tables.css" | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |         "scripts" => [ | 
					
						
							|  |  |  |             "static/js/datatables.min.js", | 
					
						
							|  |  |  |             "static/js/clients.js" | 
					
						
							|  |  |  |         ] | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2019-09-29 22:38:10 -06:00
										 |  |  |     "404" => [ | 
					
						
							|  |  |  |         "title" => "404 error" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "editmachine" => [ | 
					
						
							|  |  |  |         "title" => "Edit Machine" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "viewmachine" => [ | 
					
						
							|  |  |  |         "title" => "View Machine" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "addevent" => [ | 
					
						
							|  |  |  |         "title" => "Add Event" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "editcomponent" => [ | 
					
						
							|  |  |  |         "title" => "Edit Component" | 
					
						
							| 
									
										
										
										
											2019-10-02 16:33:53 -06:00
										 |  |  |     ], | 
					
						
							|  |  |  |     "editclient" => [ | 
					
						
							|  |  |  |         "title" => "Edit Client" | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2017-04-24 17:13:08 -06:00
										 |  |  | ]); |