diff --git a/ui/src/app/common/types.constant.js b/ui/src/app/common/types.constant.js index 5d5e85ab9e..998e2b612e 100644 --- a/ui/src/app/common/types.constant.js +++ b/ui/src/app/common/types.constant.js @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import { grey300, grey900 } from 'material-ui/styles/colors'; + export default angular.module('thingsboard.types', []) .constant('types', { @@ -403,6 +405,16 @@ export default angular.module('thingsboard.types', []) widgetType: "WIDGET_TYPE", adminSettings: "ADMIN_SETTINGS" }, + edgeEventStatus: { + "DEPLOYED": { + name: "edge.deployed", + color: grey900 + }, + "PENDING": { + name: "edge.pending", + color: grey300 + } + }, edgeAttributeKeys: { active: "active", lastConnectTime: "lastConnectTime", diff --git a/ui/src/app/event/event-row-edge-event.tpl.html b/ui/src/app/event/event-row-edge-event.tpl.html index e8773d34ca..01b6c6e261 100644 --- a/ui/src/app/event/event-row-edge-event.tpl.html +++ b/ui/src/app/event/event-row-edge-event.tpl.html @@ -19,7 +19,7 @@