diff --git a/_example/etc/manager-apache2.4.conf b/_example/etc/manager-apache2.4.conf index 2a675ec65..3070e1c0b 100644 --- a/_example/etc/manager-apache2.4.conf +++ b/_example/etc/manager-apache2.4.conf @@ -38,7 +38,7 @@ SetHandler fcgid-script Options +ExecCGI - header set Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';" + header set Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';img-src 'self' auth.example.com;" header set X-Content-Type-Options nosniff header set X-Frame-Options DENY header set X-XSS-Protection "1; mode=block" diff --git a/_example/etc/manager-apache2.X.conf b/_example/etc/manager-apache2.X.conf index 21ecd600d..8a0f3a8a1 100644 --- a/_example/etc/manager-apache2.X.conf +++ b/_example/etc/manager-apache2.X.conf @@ -38,7 +38,7 @@ SetHandler fcgid-script Options +ExecCGI - header set Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';" + header set Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';img-src 'self' auth.example.com;" header set X-Content-Type-Options nosniff header set X-Frame-Options DENY header set X-XSS-Protection "1; mode=block" diff --git a/_example/etc/manager-apache2.conf b/_example/etc/manager-apache2.conf index 686a08500..6575688bd 100644 --- a/_example/etc/manager-apache2.conf +++ b/_example/etc/manager-apache2.conf @@ -38,7 +38,7 @@ SetHandler fcgid-script Options +ExecCGI - header set Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';" + header set Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';img-src 'self' auth.example.com;" header set X-Content-Type-Options nosniff header set X-Frame-Options DENY header set X-XSS-Protection "1; mode=block" diff --git a/_example/etc/manager-nginx.conf b/_example/etc/manager-nginx.conf index 2f2bad88a..fc43f0b67 100644 --- a/_example/etc/manager-nginx.conf +++ b/_example/etc/manager-nginx.conf @@ -16,7 +16,7 @@ server { fastcgi_param PATH_INFO $fastcgi_path_info; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; - add_header Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';"; + add_header Content-Security-Policy "default-src 'self';frame-ancestors 'none';form-action 'self';img-src 'self' auth.example.com;"; add_header X-Frame-Options DENY; # Uncomment this if you use https only #add_header Strict-Transport-Security "15768000"; diff --git a/lemonldap-ng-manager/site/htdocs/static/css/manager.css b/lemonldap-ng-manager/site/htdocs/static/css/manager.css index 0c61c2e55..2908d75c3 100644 --- a/lemonldap-ng-manager/site/htdocs/static/css/manager.css +++ b/lemonldap-ng-manager/site/htdocs/static/css/manager.css @@ -245,3 +245,11 @@ dl, .center { text-align: center; } + +.backgrounddiv { + margin-top: 10px; +} +.llcontainer { + position: relative; + margin-bottom: 10px; +} diff --git a/lemonldap-ng-manager/site/htdocs/static/css/manager.min.css b/lemonldap-ng-manager/site/htdocs/static/css/manager.min.css index 932e90316..1e062c1e9 100644 --- a/lemonldap-ng-manager/site/htdocs/static/css/manager.min.css +++ b/lemonldap-ng-manager/site/htdocs/static/css/manager.min.css @@ -1 +1 @@ -.tree-node{border-width:1px;border-style:solid;border-radius:4px;margin-bottom:8px}.tree-node-default{background:#fff}.angular-ui-tree-handle{cursor:pointer}#pleaseWait{background-color:#fff;width:100%;min-height:9.9%;height:auto;z-index:5000;position:absolute;left:0;top:0;margin-left:auto;margin-right:auto;padding:30% 20%;text-align:center;opacity:.8;filter:alpha(opacity=80)}.panel .table th{width:20%;vertical-align:middle}ul.cat-tree{list-style-type:square}p.cat-tree-category{font-weight:bold}html,body{margin:0;padding:0;height:100vh;background:radial-gradient(circle at 50% 0,#fff 0,#ddd 100%) no-repeat scroll 0 0 #ddd}header#navbar{height:9vh;margin-bottom:1vh;padding-bottom:0vh}#content{max-height:86vh;height:86vh;margin:0;padding:0;position:relative}header#navbar .navbar-brand{padding:10px 15px}header#navbar .navbar-brand img{background:#fff}textarea{width:100%}textarea#privateKey,textarea#publicKey,textarea#filetext{font-size:8pt}dl,.panel{margin-bottom:8px}.panel-body{padding:5px}.input-group-solid{border:1px solid #CCC;border-radius:4px;padding:6px 12px}.input-group>.input-group-solid:last-child{border-bottom-left-radius:0;border-top-left-radius:0}#cfgnum{position:relative}#cfgnum.label-warning:hover:after{content:attr(comment);padding:4px 8px;color:rgba(0,0,0,0.5);position:absolute;left:100%;bottom:100%;white-space:nowrap;z-index:2;border-radius:5px;background:#f0ad4e}.link{cursor:pointer}#bottom .panel{height:100%;margin-top:8px}#bottom .panel-body{height:100%}#right{display:flex;flex-direction:column}#bottom{flex:1}@media(min-width:768px){.scrollable-sm{max-height:86vh!important;overflow:auto}#right,#left{max-height:86vh!important;height:86vh}#top{overflow-x:hidden}#bottom{height:43vh;overflow:hidden}}#top,#bottom,#right,#left{position:relative}@media(max-width:767px){#right{position:absolute;top:0;z-index:1000}.lmmenu{position:static;float:left;width:100%;min-height:200px;margin-top:0;border:1px solid #ccc;box-shadow:none}#content{position:relative}}.scrollable{overflow:auto}.container{padding-bottom:15px}.hresizer{position:absolute;width:6px;top:0;bottom:0;right:0;background-color:#EEE;cursor:e-resize}.vresizer{position:absolute;height:6px;left:0;right:0;top:0;background-color:#EEE;cursor:n-resize}.angular-ui-tree-empty{min-height:auto;border:0}.old{color:#A00}.new{color:#0A0}.maxw{width:100%}.center{text-align:center} \ No newline at end of file +.tree-node{border-width:1px;border-style:solid;border-radius:4px;margin-bottom:8px}.tree-node-default{background:#fff}.angular-ui-tree-handle{cursor:pointer}#pleaseWait{background-color:#fff;width:100%;min-height:9.9%;height:auto;z-index:5000;position:absolute;left:0;top:0;margin-left:auto;margin-right:auto;padding:30% 20%;text-align:center;opacity:.8;filter:alpha(opacity=80)}.panel .table th{width:20%;vertical-align:middle}ul.cat-tree{list-style-type:square}p.cat-tree-category{font-weight:bold}html,body{margin:0;padding:0;height:100vh;background:radial-gradient(circle at 50% 0,#fff 0,#ddd 100%) no-repeat scroll 0 0 #ddd}header#navbar{height:9vh;margin-bottom:1vh;padding-bottom:0vh}#content{max-height:86vh;height:86vh;margin:0;padding:0;position:relative}header#navbar .navbar-brand{padding:10px 15px}header#navbar .navbar-brand img{background:#fff}textarea{width:100%}textarea#privateKey,textarea#publicKey,textarea#filetext{font-size:8pt}dl,.panel{margin-bottom:8px}.panel-body{padding:5px}.input-group-solid{border:1px solid #CCC;border-radius:4px;padding:6px 12px}.input-group>.input-group-solid:last-child{border-bottom-left-radius:0;border-top-left-radius:0}#cfgnum{position:relative}#cfgnum.label-warning:hover:after{content:attr(comment);padding:4px 8px;color:rgba(0,0,0,0.5);position:absolute;left:100%;bottom:100%;white-space:nowrap;z-index:2;border-radius:5px;background:#f0ad4e}.link{cursor:pointer}#bottom .panel{height:100%;margin-top:8px}#bottom .panel-body{height:100%}#right{display:flex;flex-direction:column}#bottom{flex:1}@media(min-width:768px){.scrollable-sm{max-height:86vh!important;overflow:auto}#right,#left{max-height:86vh!important;height:86vh}#top{overflow-x:hidden}#bottom{height:43vh;overflow:hidden}}#top,#bottom,#right,#left{position:relative}@media(max-width:767px){#right{position:absolute;top:0;z-index:1000}.lmmenu{position:static;float:left;width:100%;min-height:200px;margin-top:0;border:1px solid #ccc;box-shadow:none}#content{position:relative}}.scrollable{overflow:auto}.container{padding-bottom:15px}.hresizer{position:absolute;width:6px;top:0;bottom:0;right:0;background-color:#EEE;cursor:e-resize}.vresizer{position:absolute;height:6px;left:0;right:0;top:0;background-color:#EEE;cursor:n-resize}.angular-ui-tree-empty{min-height:auto;border:0}.old{color:#A00}.new{color:#0A0}.maxw{width:100%}.center{text-align:center}.backgrounddiv{margin-top:10px}.llcontainer{position:relative;margin-bottom:10px} \ No newline at end of file diff --git a/lemonldap-ng-manager/site/htdocs/static/forms/boolOrExpr.html b/lemonldap-ng-manager/site/htdocs/static/forms/boolOrExpr.html index e183bb8fc..dc0fbbf66 100644 --- a/lemonldap-ng-manager/site/htdocs/static/forms/boolOrExpr.html +++ b/lemonldap-ng-manager/site/htdocs/static/forms/boolOrExpr.html @@ -1,4 +1,4 @@ -
+

{{translateTitle(currentNode)}}

@@ -18,7 +18,7 @@
-
+