ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject git commit: ARGUS-124:Change colors in user listing to not use RED
Date Wed, 22 Oct 2014 03:46:50 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 65f21ec11 -> 12c082f18


ARGUS-124:Change colors in user listing to not use RED

Signed-off-by: sneethiraj <sneethir@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/12c082f1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/12c082f1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/12c082f1

Branch: refs/heads/master
Commit: 12c082f184cceb2538250e7bb1087bcfcfd4c2ab
Parents: 65f21ec
Author: vperiasamy <vperiasamy@hortonworks.com>
Authored: Tue Oct 21 23:30:52 2014 -0400
Committer: sneethiraj <sneethir@apache.org>
Committed: Tue Oct 21 23:46:37 2014 -0400

----------------------------------------------------------------------
 .../src/main/webapp/scripts/views/users/UserTableLayout.js      | 4 ++--
 security-admin/src/main/webapp/styles/xa.css                    | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/12c082f1/security-admin/src/main/webapp/scripts/views/users/UserTableLayout.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/views/users/UserTableLayout.js b/security-admin/src/main/webapp/scripts/views/users/UserTableLayout.js
index ead5c64..0dfd571 100644
--- a/security-admin/src/main/webapp/scripts/views/users/UserTableLayout.js
+++ b/security-admin/src/main/webapp/scripts/views/users/UserTableLayout.js
@@ -238,7 +238,7 @@ define(function(require){
 								if(rawValue == XAEnums.UserSource.XA_PORTAL_USER.value)
 									return '<span class="label label-success">'+XAEnums.UserTypes.USER_INTERNAL.label+'</span>';
 								else
-									return '<span class="label label-important">'+XAEnums.UserTypes.USER_EXTERNAL.label+'</span>';
+									return '<span class="label label-green">'+XAEnums.UserTypes.USER_EXTERNAL.label+'</span>';
 							}else
 								return '--';
 						}
@@ -369,7 +369,7 @@ define(function(require){
 								if(rawValue == XAEnums.GroupSource.XA_PORTAL_GROUP.value)
 									return '<span class="label label-success">'+XAEnums.GroupTypes.GROUP_INTERNAL.label+'</span>';
 								else
-									return '<span class="label label-important">'+XAEnums.GroupTypes.GROUP_EXTERNAL.label+'</span>';
+									return '<span class="label label-green">'+XAEnums.GroupTypes.GROUP_EXTERNAL.label+'</span>';
 							}else
 								return '--';
 						}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/12c082f1/security-admin/src/main/webapp/styles/xa.css
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/styles/xa.css b/security-admin/src/main/webapp/styles/xa.css
index a6ee4e6..b33c4a3 100644
--- a/security-admin/src/main/webapp/styles/xa.css
+++ b/security-admin/src/main/webapp/styles/xa.css
@@ -1669,7 +1669,10 @@ td.html-cell.renderable:last-child {
 .policy-manager table thead tr th:first-child a {
 	color: #707070;
 }
+.label-green{
+	background-color: #3ea211;
+}
 .connection-error-font {
 	font-size: 11px;
 	font-family: monospace;
-}
\ No newline at end of file
+}


Mime
View raw message