From 2da5c1acf17af0932ffe10e4d3f135bc66783c7c Mon Sep 17 00:00:00 2001 From: tonyco97 Date: Fri, 12 Apr 2024 10:24:35 +0200 Subject: [PATCH 1/6] models. Clean default settings modal --- wizard/app/scripts/config.js | 6 +- .../provisioning/maps/globalsservice.js | 6 -- .../app/views/templates/defaults-modal.html | 69 ++++++------------- 3 files changed, 21 insertions(+), 60 deletions(-) diff --git a/wizard/app/scripts/config.js b/wizard/app/scripts/config.js index 368c40e8..0ab25882 100644 --- a/wizard/app/scripts/config.js +++ b/wizard/app/scripts/config.js @@ -137,15 +137,11 @@ var appConfig = { next: 'routes/outbound' }, outbound: { - prev: 'routes/inbound', - next: 'devices' - }, - devices: { prev: 'routes/inbound', next: 'devices/inventory' }, inventory: { - prev: 'devices', + prev: 'routes/outbound', next: 'devices/models' }, models: { diff --git a/wizard/app/scripts/services/provisioning/maps/globalsservice.js b/wizard/app/scripts/services/provisioning/maps/globalsservice.js index 939aa989..93423593 100644 --- a/wizard/app/scripts/services/provisioning/maps/globalsservice.js +++ b/wizard/app/scripts/services/provisioning/maps/globalsservice.js @@ -83,12 +83,6 @@ angular.module('nethvoiceWizardUiApp') "type": "list", "options": GenericPhoneUtilsService.getToneZones() }, - { - "variable": "timezone", - "description": "Time zone", - "type": "list", - "options": GenericPhoneUtilsService.getTimeZones() - } ] } } diff --git a/wizard/app/views/templates/defaults-modal.html b/wizard/app/views/templates/defaults-modal.html index 9863c70b..0dcd7a9b 100644 --- a/wizard/app/views/templates/defaults-modal.html +++ b/wizard/app/views/templates/defaults-modal.html @@ -47,59 +47,30 @@