mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 05:15:25 +02:00
refactor(UX): disable/remove uneeded UI elements (#3530)
* refactor(UX): disable/remove uneeded UI elements * refactor(UX): rm missed th in container network * refactor(UX): minor formatting improvement
This commit is contained in:
parent
f4c461d7fb
commit
cc8d3c8639
16 changed files with 34 additions and 32 deletions
|
@ -18,6 +18,9 @@ angular.module('portainer.extensions.rbac')
|
|||
|
||||
if (!Authentication.hasAuthorizations(authorizations)) {
|
||||
elem.attr('disabled', true);
|
||||
if (elem.is('Slider')) {
|
||||
elem.css('pointer-events', 'none');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue