From 8e18bc5751d4d1d584396dd1d95c47835838399a Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Thu, 23 Mar 2017 11:15:22 -0400 Subject: [PATCH] user mgmt, project mgmt, clean up and styling Signed-off-by: Laurence Maultsby --- .../framework/widgets/form_controls/input.jsx | 5 +- skyquake/framework/widgets/header/header.scss | 38 +++-- skyquake/framework/widgets/panel/panel.jsx | 11 +- .../skyquake_container/skyquakeApp.scss | 25 ++- .../launchpad/src/recordViewer/recordView.jsx | 4 +- skyquake/plugins/user_management/config.json | 2 +- .../src/dashboard/dashboard.jsx | 146 ++++++++--------- .../src/dashboard/userMgmtSource.js | 20 +++ .../platformRoleManagement.jsx | 152 +++++++++--------- .../platformRoleManagementSource.js | 25 +++ .../platformRoleManagementStore.js | 2 +- 11 files changed, 252 insertions(+), 178 deletions(-) diff --git a/skyquake/framework/widgets/form_controls/input.jsx b/skyquake/framework/widgets/form_controls/input.jsx index 370afccd9..4799dc1d6 100644 --- a/skyquake/framework/widgets/form_controls/input.jsx +++ b/skyquake/framework/widgets/form_controls/input.jsx @@ -17,7 +17,7 @@ */ import './formControls.scss'; import SelectOption from 'widgets/form_controls/selectOption.jsx'; - +import CircleSVG from '../../../node_modules/open-iconic/svg/media-record.svg' import React, {Component} from 'react'; export default class Input extends Component { @@ -71,6 +71,9 @@ export default class Input extends Component { } else { displayedValue = value.toString(); } + if( props.readonly && props.type == "checkbox" ) { + displayedValue = + } let html = (