Please enter name and description for new group
-- -
- -
diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/add-device.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/add-device.hbs index 8586a439..6461dac9 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/add-device.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/add-device.hbs @@ -1,9 +1,9 @@ {{authorized}} {{layout "fluid"}} {{#zone "title"}} - WSO2 MDM | Device Management + WSO2 IoT Server | Device Management {{/zone}} {{#zone "body"}} - {{unit "appbar" link="device-store" title="Device Store"}} + {{unit "appbar" title="Add Device" enableBack="true"}} {{unit "store-listing"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android.hbs index 0a7b07f9..6cef790b 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | Android + WSO2 IoT Server | Android {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="Android"}} {{unit "android"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android_sense.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android_sense.hbs index b8b0b319..5ebcecac 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android_sense.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/android_sense.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | Android Sense + WSO2 IoT Server | Android Sense {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="Android Sense"}} {{unit "android_sense"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/arduino.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/arduino.hbs index afbe5b13..17accb6b 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/arduino.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/arduino.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | Arduino + WSO2 IoT Server | Arduino {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="Arduino"}} {{unit "arduino"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/digital_display.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/digital_display.hbs index 89d1b6d6..ad2aded8 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/digital_display.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/digital_display.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | FireAlarm + WSO2 IoT Server | Digital Display {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="Digital Display"}} {{unit "digital_display"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/firealarm.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/firealarm.hbs index 8330160f..62e96fee 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/firealarm.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/firealarm.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | FireAlarm + WSO2 IoT Server | FireAlarm {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="FireAlarm"}} {{unit "firealarm"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/raspberrypi.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/raspberrypi.hbs index 11e7f64b..fddafa72 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/raspberrypi.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/raspberrypi.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | FireAlarm + WSO2 IoT Server | Raspberry Pi {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="Raspberry Pi"}} {{unit "raspberrypi"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/sensebot.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/sensebot.hbs index a1b5049d..ab307ed1 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/sensebot.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/sensebot.hbs @@ -1,8 +1,8 @@ {{layout "fluid"}} {{#zone "title"}} - WSO2 DC | FireAlarm + WSO2 IoT Server | Sensebot {{/zone}} {{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} + {{unit "appbar" link="dashboard" enableBack="true" title="Sensebot"}} {{unit "sensebot"}} {{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/windows.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/windows.hbs deleted file mode 100644 index 8b87456d..00000000 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/devices/windows.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{{layout "fluid"}} -{{#zone "title"}} - WSO2 DC | Windows -{{/zone}} -{{#zone "body"}} - {{unit "appbar" link="store" title="STORE"}} - {{unit "windows"}} -{{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups/add-group.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups/add-group.hbs new file mode 100644 index 00000000..9fdaf7a3 --- /dev/null +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups/add-group.hbs @@ -0,0 +1,9 @@ +{{authorized}} +{{layout "fluid"}} +{{#zone "title"}} + WSO2 IoT Server | Group Management +{{/zone}} +{{#zone "body"}} + {{unit "appbar" title="Add Group" enableBack="true"}} + {{unit "group-add"}} +{{/zone}} \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups/index.hbs similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups.hbs rename to modules/distribution/src/repository/jaggeryapps/iotserver/pages/groups/index.hbs diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/appbar/appbar.js b/modules/distribution/src/repository/jaggeryapps/iotserver/units/appbar/appbar.js index e1a7f8d8..3bc3d7f6 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/units/appbar/appbar.js +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/units/appbar/appbar.js @@ -90,19 +90,17 @@ function onRequest(context) { icon: "fw-add", url: "/iotserver/devices/add-device" }); + } + if (permissions.ADD_DEVICE) { links["device-mgt"].push({ title: "Add Group", icon: "fw-add", - url: "#", - class: "add-group-link" + url: "/iotserver/groups/add-group" }); - } - if (permissions.ADD_DEVICE) { links["group-mgt"].push({ title: "Add Group", icon: "fw-add", - url: "#", - class: "add-group-link" + url: "/iotserver/groups/add-group" }); } }// end-if-user diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/device-listing/device-listing.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/units/device-listing/device-listing.hbs index 52a4c2c5..d4ee9d87 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/units/device-listing/device-listing.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/units/device-listing/device-listing.hbs @@ -314,47 +314,6 @@ -
Add New Group
+Create new device group on IoT Server
+ + + + +Connect your Windows Mobile - to the WSO2 IoT server.
-Hardware Requirements
-Get your device ready
-Internet of Things Foundation Quickstart connection
-