Skip to content

Commit

Permalink
RANGER-4155 : Structure of resource(UI) hierarchy in policy form not …
Browse files Browse the repository at this point in the history
…proper formatted for multiple values.

Signed-off-by: Nitin Galave <[email protected]>
(cherry picked from commit cc67b66)
  • Loading branch information
dhavaljrajpara authored and mneethiraj committed Mar 27, 2023
1 parent 8e2d48f commit 50ad9c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@
recursiveSupportToggleDiv = '<div class="toggle-xa recursive-toggle '+recursiveTogglePosition+'"" data-js="recursive" style="height: 20px; width: 120px;"><div class="toggle"></div></div>';

return _.template(selectTemplate+'<input data-js="resource" type="text">'+
excludeSupportToggleDiv+''+recursiveSupportToggleDiv);
'<div class="excludeRecursiveSupport">'+excludeSupportToggleDiv+''+recursiveSupportToggleDiv+'</div>');
},
});

Expand Down
5 changes: 5 additions & 0 deletions security-admin/src/main/webapp/styles/xa.css
Original file line number Diff line number Diff line change
Expand Up @@ -4720,6 +4720,7 @@ input.textFiledInputPadding:disabled {
}
.form-resources.policy-resources .form-control.rosource-boder {
padding: 0px !important;
height: 100%;
}
.form-resources.policy-resources .sameLevelDropdown {
margin-right: 31px !important;
Expand All @@ -4733,4 +4734,8 @@ input.textFiledInputPadding:disabled {
}
.wrap.position-relative.additional-resource{
padding: 20px 20px 0px 20px !important;
}
.excludeRecursiveSupport {
position: absolute;
top: 30px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</p>
&nbsp;
<div>
<div data-customfields="policyResources" />
<div class="policyResources" data-customfields="policyResources" />
</div>
</fieldset>
<fieldset>
Expand Down

0 comments on commit 50ad9c1

Please sign in to comment.