routes = [
	{
		name: 'home',
		path: '/',
		componentUrl: '.././resources/pages/home.html?v=2.7',

	},
	{
		name: 'panel-left',
		path: '/panel-left/',
		componentUrl: '.././resources/pages/panel-left.html?v=2.96',
	},
	{
		name: 'dashboard',
		path: '/dashboard/',
		componentUrl: '.././resources/pages/dashboard.html?v=1.9',
	},

	{
		name: 'credit-recharge',
		path: '/credit-recharge/',
		componentUrl: '.././resources/pages/credit-recharge.html',
	},
	{
		name: 'account-settings',
		path: '/account-settings/',
		componentUrl: '.././resources/pages/account-settings.html?v=1.3',
	},
	{
		name: 'account-alarm-settings',
		path: '/account-alarm-settings/',
		componentUrl: '.././resources/pages/account-alarm-settings.html',
	},
	{
		name: 'driver-fatigue',
		path: '/driver-fatigue/',
		componentUrl: '.././resources/pages/driver-fatigue.html?v=1.2',
	},
	{
		name: 'trip-ban',
		path: '/trip-ban/',
		componentUrl: '.././resources/pages/trip-ban.html?v=1.2',
	},
	{
		name: 'auto-immobilization',
		path: '/auto-immobilization/',
		componentUrl: '.././resources/pages/auto-immobilization.html?v=1.2',
	},


	{
		name: 'notifications',
		path: '/notifications/',
		componentUrl: '.././resources/pages/notifications.html?v=1.1',
	},
	{
		name: 'notification',
		path: '/notification/:id/',
		componentUrl: '.././resources/pages/notification.html?v=1.3',
	},

	{
		name: 'asset-edit',
		path: '/asset-edit/:imei/',
		componentUrl: '.././resources/pages/asset-edit.html?v=1.12',
	},
	{
		name: 'asset-assign-driver',
		path: '/asset-assign-driver/:imei/',
		componentUrl: '.././resources/pages/asset-assign-driver.html?v=1.6',
	},
	{
		name: 'asset-transfer',
		path: '/asset-transfer/:imei/',
		componentUrl: '.././resources/pages/asset-transfer.html?v=1.6',
	},
	{
		name: 'asset-alarm',
		path: '/asset-alarm/:imei/',
		componentUrl: '.././resources/pages/asset-alarm.html?v=1.5',
	},
	{
		name: 'asset-install',
		path: '/asset-install/:imei/',
		componentUrl: '.././resources/pages/asset-install.html?v=1.5',
	},
	{
		name: 'asset-activations',
		path: '/asset-activations/:imei/',
		componentUrl: '.././resources/pages/asset-activations.html?v=1.5',
	},
	{
		name: 'driver-ids',
		path: '/driver-ids/:imei/',
		componentUrl: '.././resources/pages/driver-ids.html?v=1.5',
	},
	{
		name: 'transfer-assets',
		path: '/transfer-assets/:imei/',
		componentUrl: '.././resources/pages/transfer-assets.html?v=1.5',
	},
	{
		name: 'asset-alarm-new',
		path: '/asset-alarm-new/:imei/',
		componentUrl: '.././resources/pages/asset-alarm-new.html?v=1.2',
	},
	{
		name: 'asset-tracking-interval',
		path: '/asset-tracking-interval/:imei/',
		componentUrl: '.././resources/pages/asset-tracking-interval.html?v=1.1',
	},
	{
		name: 'asset-remote-control',
		path: '/asset-remote-control/:imei/',
		componentUrl: '.././resources/pages/asset-remote-control.html',
	},
	{
		name: 'asset-remote-geolock',
		path: '/asset-remote-geolock/:imei/',
		componentUrl: '.././resources/pages/asset-remote-geolock.html',
	},
	{
		name: 'asset-remote-immob',
		path: '/asset-remote-immob/:imei/',
		componentUrl: '.././resources/pages/asset-remote-immob.html',
	},
	{
		name: 'asset-activation',
		path: '/asset-activation/:imei/',
		componentUrl: '.././resources/pages/asset-activation.html?v=1.2',
	},
	{
		name: 'asset-rating',
		path: '/asset-rating/',
		componentUrl: '.././resources/pages/asset-rating.html?v=1.1',
	},
	{
		name: 'asset-playback',
		path: '/asset-playback/:imei/',
		componentUrl: '.././resources/pages/asset-playback.html?v=1.6',
	},
	{
		name: 'asset-playback-show',
		path: '/asset-playback-show/:imei/:optimisedState/:from/:to/:isIgnore',
		componentUrl: '.././resources/pages/asset-playback-show.html?v=1.7',
	},

	{
		name: 'asset-select',
		path: '/asset-select/:type/:nextPage/',
		componentUrl: '.././resources/pages/asset-select.html?v=1.11',
	},
	{
		name: 'asset-select-by-product',
		path: '/asset-select-by-product/:type/:nextPage/',
		componentUrl: '.././resources/pages/asset-select-by-product.html?v=1.11',
	},
 
	{
		name: 'assets-groups',
		path: '/assets-groups/',
		componentUrl: '.././resources/pages/assets-groups.html',
	},
	{
		name: 'assets-group',
		path: '/assets-group/',
		componentUrl: '.././resources/pages/assets-group.html?v=1.5',
	},
	{
		name: 'asset-obd-data',
		path: '/asset-obd-data/',
		componentUrl: '.././resources/pages/asset-obd-data.html?v=1.7',
	},
	{
		name: 'asset-log-last-alarms',
		path: '/asset-log-last-alarms/',
		componentUrl: '.././resources/pages/asset-log-last-alarms.html?v=1.6',
	},
	{
		name: 'asset-network',
		path: '/asset-network/',
		componentUrl: '.././resources/pages/asset-network.html?v=1.6',
	},
	{
		name: 'gallery-snapshots',
		path: '/gallery-snapshots/',
		componentUrl: '.././resources/pages/gallery-snapshots.html?v=1.6',
	},
	{
		name: 'gallery-photoevents',
		path: '/gallery-photoevents/',
		componentUrl: '.././resources/pages/gallery-photoevents.html?v=1.6',
	},
	{
		name: 'gallery-videoevents',
		path: '/gallery-videoevents/',
		componentUrl: '.././resources/pages/gallery-videoevents.html?v=1.6',
	},
 
	
	{
		name: 'ads',
		path: '/ads/',
		componentUrl: '.././resources/pages/ads.html?v=1.7',
	},
	{
		name: 'contact-list',
		path: '/contact-list/',
		componentUrl: '.././resources/pages/contact-list.html?v=1.2',
	},
	{
		name: 'contact-edit',
		path: '/contact-edit/:code/',
		componentUrl: '.././resources/pages/contact-edit.html?v=1.2',
	},

	{
		name: 'users',
		path: '/users/',
		componentUrl: '.././resources/pages/users.html?v=1.2',
	},
	/*{
		name: 'user',
		path: '/user/',
		componentUrl: '.././resources/pages/user.html?v=1.2',
	},*/
	{
		name: 'user',
		path: '/user/:code/',
		componentUrl: '.././resources/pages/user.html?v=1.2',
	},
	{
		name: 'customers',
		path: '/customers/',
		componentUrl: '.././resources/pages/customers.html?v=1.2',
	},
	{
		name: 'customer',
		path: '/customer/:code/',
		componentUrl: '.././resources/pages/customer.html?v=1.2',
	},
	{
		name: 'points-of-interest',
		path: '/points-of-interest/',
		componentUrl: '.././resources/pages/points-of-interest.html?v=1.2',
	},
	{
		name: 'new-poi',
		path: '/new-poi/',
		componentUrl: '.././resources/pages/new-poi.html?v=1.2',
	},

	{
		name: 'reports-scheduled',
		path: '/reports-scheduled/',
		componentUrl: '.././resources/pages/reports-scheduled.html',
	},
	{
		name: 'reports-schedule-edit',
		path: '/reports-schedule-edit/',
		componentUrl: '.././resources/pages/reports-schedule-edit.html',
	},
	{
		name: 'report-run',
		path: '/report-run/',
		componentUrl: '.././resources/pages/report-run.html?v=1.7',
	},
	{
		name: 'report-show',
		path: '/report-show/',
		componentUrl: '.././resources/pages/report-show.html?v=1.37',
	},
	{
		name: 'report-show-from-db',
		path: '/report-show-from-db/',
		componentUrl: '.././resources/pages/report-show-from-db.html?v=1.37',
	},
	{
		name: 'report-show-lot-overview',
		path: '/report-show-lot-overview/',
		componentUrl: '.././resources/pages/report-show-lot-overview.html',
	},
	{
		name: 'report-show-lot-overview2',
		path: '/report-show-lot-overview2/',
		componentUrl: '.././resources/pages/report-show-lot-overview2.html',
	},
	{
		name: 'report-show-device-sold',
		path: '/report-show-device-sold/',
		componentUrl: '.././resources/pages/report-show-device-sold.html',
	},
	{
		name: 'report-show-drive-off',
		path: '/report-show-drive-off/',
		componentUrl: '.././resources/pages/report-show-drive-off.html',
	},
	{
		name: 'report-show-driver-trip',
		path: '/report-show-driver-trip/',
		componentUrl: '.././resources/pages/report-show-driver-trip.html',
	},
	{
		name: 'report-show-trip',
		path: '/report-show-trip/',
		componentUrl: '.././resources/pages/report-show-trip.html',
	},
	{
		name: 'report-show-servicing-overview',
		path: '/report-show-servicing-overview/',
		componentUrl: '.././resources/pages/report-show-servicing-overview.html',
	},
	{
		name: 'report-show-overview',
		path: '/report-show-overview/',
		componentUrl: '.././resources/pages/report-show-overview.html',
	},
	{
		name: 'report-show-asset-list',
		path: '/report-show-asset-list/',
		componentUrl: '.././resources/pages/report-show-asset-list.html',
	},
	{
		name: 'report-show-in-off-lot',
		path: '/report-show-in-off-lot/',
		componentUrl: '.././resources/pages/report-show-in-off-lot.html',
	},
	{
		name: 'report-show-fbt',
		path: '/report-show-fbt/',
		componentUrl: '.././resources/pages/report-show-fbt.html',
	},
	{
		name: 'report-show-ftc',
		path: '/report-show-ftc/',
		componentUrl: '.././resources/pages/report-show-ftc.html',
	},
	{
		name: 'report-show-fleet',
		path: '/report-show-fleet/',
		componentUrl: '.././resources/pages/report-show-fleet.html',
	},
	{
		name: 'report-show-status',
		path: '/report-show-status/',
		componentUrl: '.././resources/pages/report-show-status.html',
	},
	{
		name: 'report-show-playback',
		path: '/report-show-playback/',
		componentUrl: '.././resources/pages/report-show-playback.html',
	},
	{
		name: 'report-show-driver-behaviour',
		path: '/report-show-driver-behaviour/',
		componentUrl: '.././resources/pages/report-show-driver-behaviour.html',
	},
	{
		name: 'report-show-driver-ids',
		path: '/report-show-driver-ids/',
		componentUrl: '.././resources/pages/report-show-driver-ids.html?v=1.5',
	},

	{
		path: '/shared-assets/',
		componentUrl: '.././resources/pages/shared-assets/shared-assets.html?v=1.5',
		name: 'shared-assets',
	},
	{
		path: '/shared-assets/create/',
		componentUrl: '.././resources/pages/shared-assets/create.html?v=1.5',
		name: 'shared-assets-create',
	},
	{
		path: '/shared-assets/view/',
		componentUrl: '.././resources/pages/shared-assets/view.html?v=1.5',
		name: 'shared-assets-view',
	},
	{
		path: '/report-assets-listing/',
		componentUrl: '.././resources/pages/report-assets-listing.html?v=1.5',
		name: 'report-assets-listing',
	},
	{
		path: '/report-fuel-purchase-listing/',
		componentUrl: '.././resources/pages/report-fuel-purchase-listing.html?v=1.5',
		name: 'report-fuel-purchase-listing',
	},

	{
		path: '/report-trip-extended/',
		componentUrl: '.././resources/pages/report-trip-extended.html?v=1.5',
		name: 'report-trip-extended',
	},


	{
		name: 'geofences',
		path: '/geofences/',
		componentUrl: '.././resources/pages/geofences.html?v=1.21',
	}, {
		name: 'renewals',
		path: '/renewals/',
		componentUrl: '.././resources/pages/renewals.html?v=1.21',
	},
	{
		name: 'geofence',
		path: '/geofence/',
		componentUrl: '.././resources/pages/geofence.html?v=1.4',
	},

	{
		name: 'interval-reminders-list',
		path: '/interval-reminders-list/',
		componentUrl: '.././resources/pages/interval-reminders-list.html',
	},
	{
		name: 'interval-reminder',
		path: '/interval-reminder/',
		componentUrl: '.././resources/pages/interval-reminder.html',
	},
	{
		name: 'interval-templates-list',
		path: '/interval-templates-list/',
		componentUrl: '.././resources/pages/interval-templates-list.html',
	},
	{
		name: 'interval-template',
		path: '/interval-template/',
		componentUrl: '.././resources/pages/interval-template.html',
	},
	{
		name: 'reset-initial-value',
		path: '/reset-initial-value/',
		componentUrl: '.././resources/pages/reset-initial-value.html?v=1.6',
	},
	{
		name: 'empty',
		path: '/empty/',
		componentUrl: '.././resources/pages/empty.html?v=1.1',
	},
	{
		name: 'cctv',
		path: '/cctv/',
		componentUrl: '.././resources/pages/cctv.html?v=1.2',
	},
	
	
	{
		name: 'new-template',
		path: '/job-despatch/new-template/',
		componentUrl: '.././resources/pages/job-despatch/new-template.html?v=1.9',
	},
	{
		name: 'job-despatch',
		path: '/job-despatch/',
		componentUrl: '.././resources/pages/job-despatch/job-despatch.html?v=1.9',
	},
	{
		name: 'create-task',
		path: '/job-despatch/create/',
		componentUrl: '.././resources/pages/job-despatch/create.html?v=1.9',
	},
	{
		name: 'create-order',
		path: '/job-despatch/new-order/',
		componentUrl: '.././resources/pages/job-despatch/new-order.html?v=1.9',
	},
	
	
	
	{
		name: 'request-quote',
		path: '/request-quote/',
		componentUrl: '.././resources/pages/request-quote/request-quote.html?v=1.9',
	},
	{
		name: 'new-request-quote',
		path: '/request-quote/new-request-quote/',
		componentUrl: '.././resources/pages/request-quote/new-request-quote.html?v=1.9',
	},

    /*{
        name: 'login-screen',
        path: '/login-screen/',

        loginScreen:{
            componentUrl: '.././resources/pages/login-screen.html',
        }
    },*/

	{
		name: 'admin',
		path: '/admin/',
		componentUrl: '.././resources/pages/admin/home.html',
		/* routes: [
			 {
				 name: 'admin.assets',
				 path: 'assets/',
				 componentUrl: '.././resources/pages/admin/assets.html',
			 },
			 {
				 name: 'admin.users',
				 path: 'users/',
				 componentUrl: '.././resources/pages/admin/users.html',
			 }
		 ]*/
	},


	// Default route (404 page). MUST BE THE LAST
	{
		path: '(.*)',
		url: '.././resources/pages/404.html',
	},
];
