You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ni...@apache.org on 2021/03/10 17:53:47 UTC

[ranger] branch ranger-2.2 updated: RANGER-3205 : Policy Item not render in report page.

This is an automated email from the ASF dual-hosted git repository.

ni3galave pushed a commit to branch ranger-2.2
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.2 by this push:
     new da4500e  RANGER-3205 : Policy Item not render in report page.
da4500e is described below

commit da4500ee114513f87698fa7be88da4f5b70c0ab2
Author: Nitin Galave <ni...@apache.org>
AuthorDate: Wed Mar 10 12:23:45 2021 +0530

    RANGER-3205 : Policy Item not render in report page.
---
 security-admin/src/main/webapp/styles/xa.css                   | 10 +++++++++-
 .../src/main/webapp/templates/reports/AuditLayout_tmpl.html    |  2 +-
 .../main/webapp/templates/reports/UserAccessLayout_tmpl.html   |  2 +-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/security-admin/src/main/webapp/styles/xa.css b/security-admin/src/main/webapp/styles/xa.css
index 43df233..80ece70 100644
--- a/security-admin/src/main/webapp/styles/xa.css
+++ b/security-admin/src/main/webapp/styles/xa.css
@@ -4552,10 +4552,18 @@ input.textFiledInputPadding:disabled {
   }
 }*/
 
-.backgrid th:not(.renderable), .backgrid td:not(.renderable){
+.audit-logs .backgrid th:not(.renderable), .audit-logs .backgrid td:not(.renderable){
     display: none;
 }
 
 #serviceDetails tbody {
   background-color: white;
+}
+
+.report-table .subgrid-custom-cell{
+  display: table-cell!important;
+}
+
+.report-table .backgrid-subgrid-custom-row th:not(.renderable), .report-table .backgrid-subgrid-custom-row td:not(.renderable){
+  display: table-cell!important;
 }
\ No newline at end of file
diff --git a/security-admin/src/main/webapp/templates/reports/AuditLayout_tmpl.html b/security-admin/src/main/webapp/templates/reports/AuditLayout_tmpl.html
index c52c28b..7d557f8 100644
--- a/security-admin/src/main/webapp/templates/reports/AuditLayout_tmpl.html
+++ b/security-admin/src/main/webapp/templates/reports/AuditLayout_tmpl.html
@@ -70,7 +70,7 @@
             </div>
         </div>
     </div>
-        <div class="row">
+        <div class="row audit-logs">
           <div class="col-md-12">
             <div data-id="r_tableLists" class=""></div>
           </div>
diff --git a/security-admin/src/main/webapp/templates/reports/UserAccessLayout_tmpl.html b/security-admin/src/main/webapp/templates/reports/UserAccessLayout_tmpl.html
index d69a6ec..d16a249 100644
--- a/security-admin/src/main/webapp/templates/reports/UserAccessLayout_tmpl.html
+++ b/security-admin/src/main/webapp/templates/reports/UserAccessLayout_tmpl.html
@@ -133,7 +133,7 @@
         </div>
         <a href="javascript:void(0)" data-id="downloadReport"></a>
     </div>
-    <div class="row">
+    <div class="row report-table">
         <div class="col-md-12">
             {{#each policyHeaderList}}
             <h3 class="wrap-header bold search-header" data-js="hdfsHeader" data-compHeader="{{this.serviceDefName}}">