diff --git a/emhttp/plugins/dynamix.docker.manager/javascript/docker.js b/emhttp/plugins/dynamix.docker.manager/javascript/docker.js
index 39f5fd31f..680118fd7 100644
--- a/emhttp/plugins/dynamix.docker.manager/javascript/docker.js
+++ b/emhttp/plugins/dynamix.docker.manager/javascript/docker.js
@@ -66,8 +66,6 @@ function popupWithIframe(title, cmd, reload, func) {
height: Math.max(window.innerHeight*3/5,600),
resizable:true,
modal:true,
- show:{effect:'fade', duration:250},
- hide:{effect:'fade', duration:250},
open:function(ev, ui) {
$('#myIframe').attr('src', cmd);
},
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-azure.css b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-azure.css
new file mode 100644
index 000000000..87419de0b
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-azure.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#f2f2f2}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-black.css b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-black.css
new file mode 100644
index 000000000..5bfde958d
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-black.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#1c1c1c}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-gray.css b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-gray.css
new file mode 100644
index 000000000..5bfde958d
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-gray.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#1c1c1c}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-white.css b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-white.css
new file mode 100644
index 000000000..87419de0b
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer-white.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#f2f2f2}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer.css b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer.css
new file mode 100644
index 000000000..e6518eb71
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/AddContainer.css
@@ -0,0 +1,9 @@
+.noshow,.advanced{display:none}
+.required:after{content:" *";color:#E80000}
+span.boxed{display:inline-block;line-height:normal;white-space:normal;width:60%}
+span.cpu,label.checkbox{display:inline-block;width:32px}
+span.ct{display:inline-block;width:230px}
+span.net{display:inline-block;width:120px}
+span.ip{display:inline-block;width:160px}
+dl,dt,dd{line-height:normal!important}
+input.setting_input{margin-right:50px}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/DockerContainers.css b/emhttp/plugins/dynamix.docker.manager/sheets/DockerContainers.css
new file mode 100644
index 000000000..f57f754f0
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/DockerContainers.css
@@ -0,0 +1,12 @@
+.basic{display:block}
+.advanced{display:none;white-space:nowrap}
+.log{cursor:zoom-in}
+.exec{cursor:pointer}
+table#docker_containers{text-align:left}
+th.five{width:5%}
+th.nine{width:9%}
+th.load{width:140px}
+input.wait{width:24px;margin:0 4px;padding:0 5px;border:none;box-shadow:none;background-color:transparent}
+table tbody td{line-height:normal}
+i.mover{margin-right:8px;display:none}
+#resetsort{margin-left:12px;display:inline-block;width:32px}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-azure.css b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-azure.css
new file mode 100644
index 000000000..d60555212
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-azure.css
@@ -0,0 +1,2 @@
+.fileTree{background:#f2f2f2;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
+span.disabled{color:#B0B0B0}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-black.css b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-black.css
new file mode 100644
index 000000000..97dd4a600
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-black.css
@@ -0,0 +1,2 @@
+.fileTree{background:#1c1c1c;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
+span.disabled{color:#404040}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-gray.css b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-gray.css
new file mode 100644
index 000000000..97dd4a600
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-gray.css
@@ -0,0 +1,2 @@
+.fileTree{background:#1c1c1c;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
+span.disabled{color:#404040}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-white.css b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-white.css
new file mode 100644
index 000000000..d60555212
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings-white.css
@@ -0,0 +1,2 @@
+.fileTree{background:#f2f2f2;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
+span.disabled{color:#B0B0B0}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings.css b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings.css
new file mode 100644
index 000000000..b4db05070
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/DockerSettings.css
@@ -0,0 +1,17 @@
+.errortext{color:#EF3D47;display:none;margin-left:20px}
+.basic{display:inline-block}
+.advanced{display:none}
+select.mask{min-width:0;margin:0 10px 0 4px}
+select.net{min-width:0;margin:0 4px 0 2px}
+select option.hide{display:none}
+input.ip4{width:100px;margin:0 4px 0 1px}
+input.ip6{width:140px;margin:0 4px}
+input.gw4{width:100px;margin:0 4px 0 1px}
+input.gw6{width:160px;margin:0 4px}
+input.pool6{width:40px;margin:0 4px 0 1px}
+span.net{margin-left:4px;margin-right:2px}
+span.ip4{display:inline-block;width:260px}
+span.ip6{display:inline-block;width:310px}
+span.gw4{display:inline-block;width:200px}
+span.gw6{display:inline-block;width:270px}
+span.nonexist{margin-left:20px}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-azure.css b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-azure.css
new file mode 100644
index 000000000..87419de0b
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-azure.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#f2f2f2}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-black.css b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-black.css
new file mode 100644
index 000000000..5bfde958d
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-black.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#1c1c1c}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-gray.css b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-gray.css
new file mode 100644
index 000000000..5bfde958d
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-gray.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#1c1c1c}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-white.css b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-white.css
new file mode 100644
index 000000000..87419de0b
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer-white.css
@@ -0,0 +1 @@
+.fileTree{width:240px;max-height:200px;overflow-y:scroll;overflow-x:hidden;position:absolute;display:none;background:#f2f2f2}
diff --git a/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer.css b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer.css
new file mode 100644
index 000000000..e6518eb71
--- /dev/null
+++ b/emhttp/plugins/dynamix.docker.manager/sheets/UpdateContainer.css
@@ -0,0 +1,9 @@
+.noshow,.advanced{display:none}
+.required:after{content:" *";color:#E80000}
+span.boxed{display:inline-block;line-height:normal;white-space:normal;width:60%}
+span.cpu,label.checkbox{display:inline-block;width:32px}
+span.ct{display:inline-block;width:230px}
+span.net{display:inline-block;width:120px}
+span.ip{display:inline-block;width:160px}
+dl,dt,dd{line-height:normal!important}
+input.setting_input{margin-right:50px}
diff --git a/emhttp/plugins/dynamix.docker.manager/styles/style-azure.css b/emhttp/plugins/dynamix.docker.manager/styles/style-azure.css
index af78778ad..260009398 100644
--- a/emhttp/plugins/dynamix.docker.manager/styles/style-azure.css
+++ b/emhttp/plugins/dynamix.docker.manager/styles/style-azure.css
@@ -1,62 +1,14 @@
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{
- font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%
-}
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{
- color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)
-}
-.ui-dropdownchecklist .ui-state-default{
- background:#f2f2f2;
- border:none;
- box-shadow:none;
- outline:none;
- cursor:pointer;
- height:2.2rem;
- line-height:2.2rem;
-}
-.ui-dropdownchecklist-group{
- font-weight:normal;
- font-style:italic;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector{
- border:1px solid #1c1c1c;
- display:inline-block;
- cursor:pointer;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector-wrapper{
- vertical-align:middle;
- font-size:0;
-}
-.ui-widget-header{
- border:none;
- background:#e3e3e3;
- color:#1c1c1c;
- font-weight:bold;
-}
-.ui-widget-content{
- border:1px solid #1c1c1c;
- background:#f2f2f2;
- color:#1c1c1c;
-
-.ui-state-active{
- background:#e8e8e8;
-}
-.ui-dropdownchecklist-dropcontainer{
- background:#f2f2f2;
- border:1px solid #1c1c1c;
-}
-.ui-state-disabled{
- color:#1c1c1c;border-color:#a2a2a2;background:#e8e8e8;opacity:0.5;
-}
-.ui-dropdownchecklist-indent{
- padding-left:7px;
-}
-.ui-dropdownchecklist-text{
- color:#1c1c1c;
- font-size:1.3rem;
-}
-.ui-dropdownchecklist .ui-widget-content .ui-state-default{
- background:#f2f2f2;
- border:0px;
-}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}
+.ui-dropdownchecklist .ui-state-default{background:#f2f2f2;border:none;box-shadow:none;outline:none;cursor:pointer;height:2.2rem;line-height:2.2rem}
+.ui-dropdownchecklist-group{font-weight:normal;font-style:italic;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector{border:1px solid #1c1c1c;display:inline-block;cursor:pointer;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector-wrapper{vertical-align:middle;font-size:0}
+.ui-widget-header{border:none;background:#e3e3e3;color:#1c1c1c;font-weight:bold}
+.ui-widget-content{border:1px solid #1c1c1c;background:#f2f2f2;color:#1c1c1c}
+.ui-state-active{background:#e8e8e8}
+.ui-dropdownchecklist-dropcontainer{background:#f2f2f2;border:1px solid #1c1c1c}
+.ui-state-disabled{color:#1c1c1c;border-color:#a2a2a2;background:#e8e8e8;opacity:0.5}
+.ui-dropdownchecklist-indent{padding-left:7px}
+.ui-dropdownchecklist-text{color:#1c1c1c;font-size:1.3rem}
+.ui-dropdownchecklist .ui-widget-content .ui-state-default{background:#f2f2f2;border:0px}
diff --git a/emhttp/plugins/dynamix.docker.manager/styles/style-black.css b/emhttp/plugins/dynamix.docker.manager/styles/style-black.css
index 4757973a7..064aa4307 100644
--- a/emhttp/plugins/dynamix.docker.manager/styles/style-black.css
+++ b/emhttp/plugins/dynamix.docker.manager/styles/style-black.css
@@ -1,62 +1,14 @@
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{
- font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%
-}
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{
- color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)
-}
-.ui-dropdownchecklist .ui-state-default{
- background:#1c1c1c;
- border:none;
- box-shadow:none;
- outline:none;
- cursor:pointer;
- height:2.2rem;
- line-height:2.2rem;
-}
-.ui-dropdownchecklist-group{
- font-weight:normal;
- font-style:italic;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector{
- border:1px solid #e5e5e5;
- display:inline-block;
- cursor:pointer;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector-wrapper{
- vertical-align:middle;
- font-size:0;
-}
-.ui-widget-header{
- border:none;
- background:#2b2b2b;
- color:#f2f2f2;
- font-weight:bold;
-}
-.ui-widget-content{
- border:1px solid #e5e5e5;
- background:#1c1c1c;
- color:#f2f2f2;
-
-.ui-state-active{
- background:#262626;
-}
-.ui-dropdownchecklist-dropcontainer{
- background:#1c1c1c;
- border:1px solid #e5e5e5;
-}
-.ui-state-disabled{
- color:#f2f2f2;border-color:#6c6c6c;background:#262626;opacity:0.5;
-}
-.ui-dropdownchecklist-indent{
- padding-left:7px;
-}
-.ui-dropdownchecklist-text{
- color:#f2f2f2;
- font-size:1.3rem;
-}
-.ui-dropdownchecklist .ui-widget-content .ui-state-default{
- background:#1c1c1c;
- border:0px;
-}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}
+.ui-dropdownchecklist .ui-state-default{background:#1c1c1c;border:none;box-shadow:none;outline:none;cursor:pointer;height:2.2rem;line-height:2.2rem}
+.ui-dropdownchecklist-group{font-weight:normal;font-style:italic;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector{border:1px solid #e5e5e5;display:inline-block;cursor:pointer;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector-wrapper{vertical-align:middle;font-size:0}
+.ui-widget-header{border:none;background:#2b2b2b;color:#f2f2f2;font-weight:bold}
+.ui-widget-content{border:1px solid #e5e5e5;background:#1c1c1c;color:#f2f2f2}
+.ui-state-active{background:#262626}
+.ui-dropdownchecklist-dropcontainer{background:#1c1c1c;border:1px solid #e5e5e5}
+.ui-state-disabled{color:#f2f2f2;border-color:#6c6c6c;background:#262626;opacity:0.5}
+.ui-dropdownchecklist-indent{padding-left:7px}
+.ui-dropdownchecklist-text{color:#f2f2f2;font-size:1.3rem}
+.ui-dropdownchecklist .ui-widget-content .ui-state-default{background:#1c1c1c;border:0px}
diff --git a/emhttp/plugins/dynamix.docker.manager/styles/style-gray.css b/emhttp/plugins/dynamix.docker.manager/styles/style-gray.css
index 4757973a7..064aa4307 100644
--- a/emhttp/plugins/dynamix.docker.manager/styles/style-gray.css
+++ b/emhttp/plugins/dynamix.docker.manager/styles/style-gray.css
@@ -1,62 +1,14 @@
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{
- font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%
-}
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{
- color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)
-}
-.ui-dropdownchecklist .ui-state-default{
- background:#1c1c1c;
- border:none;
- box-shadow:none;
- outline:none;
- cursor:pointer;
- height:2.2rem;
- line-height:2.2rem;
-}
-.ui-dropdownchecklist-group{
- font-weight:normal;
- font-style:italic;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector{
- border:1px solid #e5e5e5;
- display:inline-block;
- cursor:pointer;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector-wrapper{
- vertical-align:middle;
- font-size:0;
-}
-.ui-widget-header{
- border:none;
- background:#2b2b2b;
- color:#f2f2f2;
- font-weight:bold;
-}
-.ui-widget-content{
- border:1px solid #e5e5e5;
- background:#1c1c1c;
- color:#f2f2f2;
-
-.ui-state-active{
- background:#262626;
-}
-.ui-dropdownchecklist-dropcontainer{
- background:#1c1c1c;
- border:1px solid #e5e5e5;
-}
-.ui-state-disabled{
- color:#f2f2f2;border-color:#6c6c6c;background:#262626;opacity:0.5;
-}
-.ui-dropdownchecklist-indent{
- padding-left:7px;
-}
-.ui-dropdownchecklist-text{
- color:#f2f2f2;
- font-size:1.3rem;
-}
-.ui-dropdownchecklist .ui-widget-content .ui-state-default{
- background:#1c1c1c;
- border:0px;
-}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}
+.ui-dropdownchecklist .ui-state-default{background:#1c1c1c;border:none;box-shadow:none;outline:none;cursor:pointer;height:2.2rem;line-height:2.2rem}
+.ui-dropdownchecklist-group{font-weight:normal;font-style:italic;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector{border:1px solid #e5e5e5;display:inline-block;cursor:pointer;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector-wrapper{vertical-align:middle;font-size:0}
+.ui-widget-header{border:none;background:#2b2b2b;color:#f2f2f2;font-weight:bold}
+.ui-widget-content{border:1px solid #e5e5e5;background:#1c1c1c;color:#f2f2f2}
+.ui-state-active{background:#262626}
+.ui-dropdownchecklist-dropcontainer{background:#1c1c1c;border:1px solid #e5e5e5}
+.ui-state-disabled{color:#f2f2f2;border-color:#6c6c6c;background:#262626;opacity:0.5}
+.ui-dropdownchecklist-indent{padding-left:7px}
+.ui-dropdownchecklist-text{color:#f2f2f2;font-size:1.3rem}
+.ui-dropdownchecklist .ui-widget-content .ui-state-default{background:#1c1c1c;border:0px}
diff --git a/emhttp/plugins/dynamix.docker.manager/styles/style-white.css b/emhttp/plugins/dynamix.docker.manager/styles/style-white.css
index af78778ad..260009398 100644
--- a/emhttp/plugins/dynamix.docker.manager/styles/style-white.css
+++ b/emhttp/plugins/dynamix.docker.manager/styles/style-white.css
@@ -1,62 +1,14 @@
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{
- font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%
-}
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{
- color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)
-}
-.ui-dropdownchecklist .ui-state-default{
- background:#f2f2f2;
- border:none;
- box-shadow:none;
- outline:none;
- cursor:pointer;
- height:2.2rem;
- line-height:2.2rem;
-}
-.ui-dropdownchecklist-group{
- font-weight:normal;
- font-style:italic;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector{
- border:1px solid #1c1c1c;
- display:inline-block;
- cursor:pointer;
- padding:1px 9px 1px 8px;
-}
-.ui-dropdownchecklist-selector-wrapper{
- vertical-align:middle;
- font-size:0;
-}
-.ui-widget-header{
- border:none;
- background:#e3e3e3;
- color:#1c1c1c;
- font-weight:bold;
-}
-.ui-widget-content{
- border:1px solid #1c1c1c;
- background:#f2f2f2;
- color:#1c1c1c;
-
-.ui-state-active{
- background:#e8e8e8;
-}
-.ui-dropdownchecklist-dropcontainer{
- background:#f2f2f2;
- border:1px solid #1c1c1c;
-}
-.ui-state-disabled{
- color:#1c1c1c;border-color:#a2a2a2;background:#e8e8e8;opacity:0.5;
-}
-.ui-dropdownchecklist-indent{
- padding-left:7px;
-}
-.ui-dropdownchecklist-text{
- color:#1c1c1c;
- font-size:1.3rem;
-}
-.ui-dropdownchecklist .ui-widget-content .ui-state-default{
- background:#f2f2f2;
- border:0px;
-}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button{font-family:clear-sans;font-size:1.1rem;font-weight:bold;letter-spacing:2px;text-transform:uppercase;margin:10px 12px 10px 0;padding:9px 18px;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:0;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828 0,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828 0,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828 0,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f 0,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}
+.ui-dropdownchecklist .ui-state-default{background:#f2f2f2;border:none;box-shadow:none;outline:none;cursor:pointer;height:2.2rem;line-height:2.2rem}
+.ui-dropdownchecklist-group{font-weight:normal;font-style:italic;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector{border:1px solid #1c1c1c;display:inline-block;cursor:pointer;padding:1px 9px 1px 8px}
+.ui-dropdownchecklist-selector-wrapper{vertical-align:middle;font-size:0}
+.ui-widget-header{border:none;background:#e3e3e3;color:#1c1c1c;font-weight:bold}
+.ui-widget-content{border:1px solid #1c1c1c;background:#f2f2f2;color:#1c1c1c}
+.ui-state-active{background:#e8e8e8}
+.ui-dropdownchecklist-dropcontainer{background:#f2f2f2;border:1px solid #1c1c1c}
+.ui-state-disabled{color:#1c1c1c;border-color:#a2a2a2;background:#e8e8e8;opacity:0.5}
+.ui-dropdownchecklist-indent{padding-left:7px}
+.ui-dropdownchecklist-text{color:#1c1c1c;font-size:1.3rem}
+.ui-dropdownchecklist .ui-widget-content .ui-state-default{background:#f2f2f2;border:0px}
diff --git a/emhttp/plugins/dynamix.my.servers/Registration.page b/emhttp/plugins/dynamix.my.servers/Registration.page
index fa79d9bc9..04bb0b400 100644
--- a/emhttp/plugins/dynamix.my.servers/Registration.page
+++ b/emhttp/plugins/dynamix.my.servers/Registration.page
@@ -26,13 +26,6 @@ function my_time_now($time) {
$regGen = (int)$var['regGen'] ?? 0;
$trialExtensionEligible = $regGen === 0 || $regGen === 1;
?>
-
-
_(Thank you for trying Unraid OS)_!
diff --git a/emhttp/plugins/dynamix.my.servers/sheets/Registration.css b/emhttp/plugins/dynamix.my.servers/sheets/Registration.css
new file mode 100644
index 000000000..2e70df6ad
--- /dev/null
+++ b/emhttp/plugins/dynamix.my.servers/sheets/Registration.css
@@ -0,0 +1,4 @@
+span.thanks{padding-left:12px;color:#6FA239;font-weight:bold;}
+span.thanks.red{color:#F0000C;}
+div.device{padding:0 12px;font-weight:normal;font-style:italic;}
+div.remark{padding:0 12px;text-align:justify;}
diff --git a/emhttp/plugins/dynamix.plugin.manager/PluginHelpers.page b/emhttp/plugins/dynamix.plugin.manager/PluginHelpers.page
index 26af81523..551e1a89d 100644
--- a/emhttp/plugins/dynamix.plugin.manager/PluginHelpers.page
+++ b/emhttp/plugins/dynamix.plugin.manager/PluginHelpers.page
@@ -13,14 +13,6 @@ Link='nav-user'
* all copies or substantial portions of the Software.
*/
?>
-
@@ -166,37 +136,38 @@ function changemedia(uuid,dev,bus,file) {
if (file === "--select") getisoimage(uuid,dev,bus,file);
if (file === "--eject") ajaxVMDispatch({action:"change-media", uuid:uuid , cdrom:"" , dev:dev , bus:bus , file:file}, "loadlist");
}
+function dialogStyle() {
+ $('.ui-dialog-titlebar-close').css({'display':'none'});
+ $('.ui-dialog-title').css({'text-align':'center','width':'100%','font-size':'1.8rem'});
+ $('.ui-dialog-content').css({'padding-top':'15px','vertical-align':'bottom'});
+ $('.ui-button-text').css({'padding':'0px 5px'});
+}
function getisoimageboth(uuid,dev,bus,file,dev2,bus2,file2){
- var root = = '"'.$domain_cfg["MEDIADIR"].'"';?>;
- var match= ".iso";
+ var root = "=$domain_cfg["MEDIADIR"]?>";
+ var match = ".iso";
var box = $("#dialogWindow");
box.html($("#templateISOboth").html());
-
- box.find('#target').attr('data-pickroot',root).attr('data-picktop',root).attr('data-pickmatch',match).attr('value', file).fileTreeAttach(null,null,function(path){
- var bits = path.substr(1).split('/');
- var auto = bits.length>3 ? '' : share;
- box.find('#target').val(path+auto).change();
- });
- box.find('#target2').attr('data-pickroot',root).attr('data-picktop',root).attr('data-pickmatch',match).attr('value', file2).fileTreeAttach(null,null,function(path){
- var bits = path.substr(1).split('/');
- var auto = bits.length>3 ? '' : share;
- box.find('#target2').val(path+auto).change();
- });
- var height = 100;
-
+ box.find('#target').attr('data-pickroot',root).attr('data-picktop',root).attr('data-pickmatch',match).attr('value',file).fileTreeAttach(null,null,function(path){
+ var bits = path.substr(1).split('/');
+ var auto = bits.length>3 ? '' : share;
+ box.find('#target').val(path+auto).change();
+ });
+ box.find('#target2').attr('data-pickroot',root).attr('data-picktop',root).attr('data-pickmatch',match).attr('value',file2).fileTreeAttach(null,null,function(path){
+ var bits = path.substr(1).split('/');
+ var auto = bits.length>3 ? '' : share;
+ box.find('#target2').val(path+auto).change();
+ });
box.dialog({
- title: "Select ISOs for CDROMs",
- resizable: false,
+ title: "_(Select ISOs for CDROMs)_",
+ height: 600,
width: 600,
- height: 300,
+ resizable: false,
modal: true,
- show: {effect:'fade', duration:250},
- hide: {effect:'fade', duration:250},
buttons: {
"_(Update)_": function(){
var target = box.find('#target');
if (target.length) {
- target = target.val();
+ target = target.val();
} else target = '';
var target2 = box.find('#target2');
if (target2.length) {
@@ -204,7 +175,7 @@ function getisoimageboth(uuid,dev,bus,file,dev2,bus2,file2){
} else target2 = '';
box.find('#target').prop('disabled',true);
box.find('#target2').prop('disabled',true);
- ajaxVMDispatch({action:"change-media-both", uuid:uuid , cdrom:"" , dev:dev , bus:bus , file:target, dev2:dev2 , bus2:bus2 , file2:target2}, "loadlist");
+ ajaxVMDispatch({action:"change-media-both", uuid:uuid, cdrom:"", dev:dev, bus:bus, file:target, dev2:dev2, bus2:bus2, file2:target2}, "loadlist");
box.dialog('close');
},
"_(Cancel)_": function(){
@@ -215,25 +186,21 @@ function getisoimageboth(uuid,dev,bus,file,dev2,bus2,file2){
dialogStyle();
}
function getisoimage(uuid,dev,bus,file){
- var root = = '"'.$domain_cfg["MEDIADIR"].'"';?>;
- var match= ".iso";
+ var root = "=$domain_cfg["MEDIADIR"]?>";
+ var match = ".iso";
var box = $("#dialogWindow");
box.html($("#templateISO").html());
-
box.find('#target').attr('data-pickroot',root).attr('data-picktop',root).attr('data-pickmatch',match).fileTreeAttach(null,null,function(path){
- var bits = path.substr(1).split('/');
- var auto = bits.length>3 ? '' : share;
- box.find('#target').val(path+auto).change();
- });
- var height = 100;
+ var bits = path.substr(1).split('/');
+ var auto = bits.length>3 ? '' : share;
+ box.find('#target').val(path+auto).change();
+ });
box.dialog({
- title: "Select ISO",
- resizable: false,
+ title: "_(Select ISO)_",
+ height: 600,
width: 600,
- height: 300,
+ resizable: false,
modal: true,
- show: {effect:'fade', duration:250},
- hide: {effect:'fade', duration:250},
buttons: {
"_(Insert)_": function(){
var target = box.find('#target');
@@ -242,7 +209,7 @@ function getisoimage(uuid,dev,bus,file){
if (!target ) {errorTarget(); return;}
} else target = '';
box.find('#target').prop('disabled',true);
- ajaxVMDispatch({action:"change-media", uuid:uuid , cdrom:"" , dev:dev , bus:bus , file:target}, "loadlist");
+ ajaxVMDispatch({action:"change-media", uuid:uuid, cdrom:"", dev:dev, bus:bus, file:target}, "loadlist");
box.dialog('close');
},
"_(Cancel)_": function(){
@@ -253,44 +220,32 @@ function getisoimage(uuid,dev,bus,file){
dialogStyle();
}
function VMClone(uuid, name){
-
- //var root = = '"'.$domain_cfg["MEDIADIR"].'"';?>;
- var match= ".iso";
var box = $("#dialogWindow");
- var height = 200;
box.html($("#templateClone").html());
- box.find('#VMBeingCloned').html(name).change() ;
- box.find('#target').val(name + "_clone") ;
- document.getElementById("Free").checked = true ;
- document.getElementById("Overwrite").checked = true ;
- var Cancel = _("Cancel") ;
+ box.find('#VMBeingCloned').html(name).change();
+ box.find('#target').val(name + "_clone");
+ document.getElementById("Free").checked = true;
+ document.getElementById("Overwrite").checked = true;
box.dialog({
- title: "VM Clone",
- resizable: false,
+ title: "_(VM Clone)_",
+ height: 330,
width: 600,
- height: 500,
+ resizable: false,
modal: true,
- show: {effect:'fade', duration:250},
- hide: {effect:'fade', duration:250},
buttons: {
- "_(Clone)_" : function(){
+ "_(Clone)_": function(){
var target = box.find('#target');
if (target.length) {
target = target.val();
- //if (!target ) {errorTarget(); return;}
+ //if (!target) {errorTarget(); return;}
} else target = '';
-
- var clone = box.find("#target").prop('value') ;
- x = box.find('#Start').prop('checked') ;
- if (x) start = 'yes' ; else start = 'no' ;
- x = box.find('#Edit').prop('checked') ;
- if (x) edit = 'yes' ; else edit = 'no' ;
- x = box.find('#Overwrite').prop('checked') ;
- if (x) overwrite = 'yes' ; else overwrite = 'no' ;
- x = box.find('#Free').prop('checked') ;
- if (x) free = 'yes' ; else free = 'no' ;
- scripturl = "VMClone.php " + encodeURIComponent("/usr/local/emhttp/plugins/dynamix.vm.manager/include/VMClone.php&" + $.param({action:"clone" , name:name ,clone:clone, overwrite:overwrite , edit:edit, start,start, free:free})) ;
- openVMAction((scripturl),"VM Clone", "dynamix.vm.manager", "loadlist") ;
+ var clone = box.find("#target").prop('value');
+ var start = box.find('#Start').prop('checked') ? 'yes' : 'no';
+ var edit = box.find('#Edit').prop('checked') ? 'yes' : 'no';
+ var overwrite = box.find('#Overwrite').prop('checked') ? 'yes' : 'no';
+ var free = box.find('#Free').prop('checked') ? 'yes' : 'no';
+ scripturl = "VMClone.php " + encodeURIComponent("/usr/local/emhttp/plugins/dynamix.vm.manager/include/VMClone.php&" + $.param({action:"clone", name:name, clone:clone, overwrite:overwrite, edit:edit, start:start, free:free}));
+ openVMAction((scripturl),"VM Clone", "dynamix.vm.manager", "loadlist");
box.dialog('close');
},
"_(Cancel)_": function(){
@@ -300,44 +255,30 @@ function VMClone(uuid, name){
});
dialogStyle();
}
-
-
function selectsnapshot(uuid, name ,snaps, opt, getlist,state){
-
- var root = = '"'.$domain_cfg["MEDIADIR"].'"';?>;
- var match= ".iso";
- var box = $("#dialogWindow2");
+ var box = $("#dialogWindow");
box.html($("#templatesnapshot"+opt).html());
- var height = 200;
- const Capopt = opt.charAt(0).toUpperCase() + opt.slice(1) ;
- var optiontext = Capopt + " Snapshot" ;
- box.find('#VMName').html(name) ;
- box.find('#targetsnap').val(snaps) ;
- box.find('#targetsnapl').html(snaps) ;
+ const capopt = opt.charAt(0).toUpperCase() + opt.slice(1);
+ var optiontext = capopt + " _(Snapshot)_";
+ box.find('#VMName').html(name);
+ box.find('#targetsnap').val(snaps);
+ box.find('#targetsnapl').html(snaps);
if (getlist) {
- var only = 1 ;
- if (opt == "remove") only = 0;
- $.post("/plugins/dynamix.vm.manager/include/VMajax.php", {action:"snap-images", uuid:uuid , snapshotname:snaps, only:only}, function(data) {
- if (data.html) {
- box.find('#targetsnapimages').html(data.html) ;
- }
+ var only = (opt == "remove") ? 0 : 1;
+ $.post("/plugins/dynamix.vm.manager/include/VMajax.php", {action:"snap-images", uuid:uuid, snapshotname:snaps, only:only}, function(data) {
+ if (data.html) box.find('#targetsnapimages').html(data.html);
},'json');
}
-
- document.getElementById("targetsnaprmv").checked = true ;
- document.getElementById("targetsnaprmvmeta").checked = true ;
- document.getElementById("targetsnapkeep").checked = true ;
- document.getElementById("targetsnapfspc").checked = true ;
-
+ document.getElementById("targetsnaprmv").checked = true;
+ document.getElementById("targetsnaprmvmeta").checked = true;
+ document.getElementById("targetsnapkeep").checked = true;
+ document.getElementById("targetsnapfspc").checked = true;
box.dialog({
- title: "_("+optiontext+ ")_",
- resizable: false,
+ title: optiontext,
+ height: 330,
width: 600,
- height: 500,
+ resizable: false,
modal: true,
- show: {effect:'fade', duration:250},
- hide: {effect:'fade', duration:250},
-
buttons: {
"_(Proceed)_": function(){
var target = box.find('#targetsnap');
@@ -345,26 +286,22 @@ function selectsnapshot(uuid, name ,snaps, opt, getlist,state){
target = target.val();
if (!target ) {errorTarget(); return;}
} else target = '';
- var remove = 'yes'
- var keep = 'yes'
- var removemeta = 'yes'
+ var remove = 'yes'
+ var keep = 'yes'
+ var removemeta = 'yes'
var free = 'yes'
var desc = ''
box.find('#targetsnap').prop('disabled',true);
if (opt == "revert") {
- var x = box.find('#targetsnaprmv').prop('checked') ;
- if (x) remove = 'yes' ; else remove = 'no' ;
- x = box.find('#targetsnaprmvmeta').prop('checked') ;
- if (x) removemeta = 'yes' ; else removemeta = 'no' ;
- x = box.find('#targetsnapkeep').prop('checked') ;
- if (x) keep = 'yes' ; else keep = 'no' ;
+ remove = box.find('#targetsnaprmv').prop('checked') ? 'yes' : 'no';
+ removemeta = box.find('#targetsnaprmvmeta').prop('checked') ? 'yes' : 'no';
+ keep = box.find('#targetsnapkeep').prop('checked') ? 'yes' : 'no';
}
- if (opt == "create") {
- var x = box.find('#targetsnapfspc').prop('checked') ;
- if (x) free = 'yes' ; else free = 'no' ;
- var desc = box.find("#targetsnapdesc").prop('value') ;
+ if (opt == "create") {
+ free = box.find('#targetsnapfspc').prop('checked') ? 'yes' : 'no';
+ desc = box.find("#targetsnapdesc").prop('value');
}
- ajaxVMDispatch({action:"snap-" + opt +'-external', uuid:uuid , snapshotname:target , remove:remove, free:free ,removemeta:removemeta ,keep:keep, desc:desc} , "loadlist");
+ ajaxVMDispatch({action:"snap-" + opt +'-external', uuid:uuid, snapshotname:target, remove:remove, free:free, removemeta:removemeta, keep:keep, desc:desc}, "loadlist");
box.dialog('close');
},
"_(Cancel)_": function(){
@@ -374,86 +311,72 @@ function selectsnapshot(uuid, name ,snaps, opt, getlist,state){
});
dialogStyle();
}
-
-function selectblock(uuid, name ,snaps, opt, getlist,state){
-
- var root = = '"'.$domain_cfg["MEDIADIR"].'"';?>;
- var match= ".iso";
- var box = $("#dialogWindow2");
+function selectblock(uuid, name, snaps, opt, getlist, state){
+ var box = $("#dialogWindow");
box.html($("#templateblock").html());
- var height = 200;
- const Capopt = opt.charAt(0).toUpperCase() + opt.slice(1) ;
- var optiontext = Capopt + " Block Devices" ;
- box.find('#VMName').html(name) ;
- box.find('#targetsnap').val(snaps) ;
- box.find('#targetsnapl').html(snaps) ;
-
- getlist = true ;
+ const capopt = opt.charAt(0).toUpperCase() + opt.slice(1);
+ var optiontext = capopt + " _(Block Devices)_";
+ box.find('#VMName').html(name);
+ box.find('#targetsnap').val(snaps);
+ box.find('#targetsnapl').html(snaps);
+ getlist = true;
if (getlist) {
- var only = 1 ;
+ var only = 1;
if (opt == "remove") only = 0;
- $.post("/plugins/dynamix.vm.manager/include/VMajax.php", {action:"snap-list", uuid:uuid }, function(data) {
- if (data.html) {
- var targetbase = document.getElementById("targetblockbase") ;
- htmlstrbase = "
"
- htmlstrtop = "
"
- $("select.targetblockbase").replaceWith(htmlstrbase) ;
- $("select.targetblocktop").replaceWith(htmlstrtop) ;
- }
+ $.post("/plugins/dynamix.vm.manager/include/VMajax.php", {action:"snap-list", uuid:uuid}, function(data){
+ if (data.html) {
+ var targetbase = document.getElementById("targetblockbase");
+ htmlstrbase = "
"
+ htmlstrtop = "
"
+ $("select.targetblockbase").replaceWith(htmlstrbase);
+ $("select.targetblocktop").replaceWith(htmlstrtop);
+ }
},'json');
}
-
- document.getElementById("targetsnaprmv").checked = true ;
- document.getElementById("targetsnaprmvmeta").checked = true ;
- document.getElementById("targetsnapkeep").checked = true ;
- document.getElementById("targetsnapfspc").checked = true ;
- if (opt== "pull") {
- $('.toprow').hide();
- $('.targetpivotrow').hide();
- $('.targetdeleterow').hide();
- } else {
- $('.toprow').show();
- $('.targetpivotrow').show();
- $('.targetdeleterow').show();
- }
-
+ document.getElementById("targetsnaprmv").checked = true;
+ document.getElementById("targetsnaprmvmeta").checked = true;
+ document.getElementById("targetsnapkeep").checked = true;
+ document.getElementById("targetsnapfspc").checked = true;
+ if (opt == "pull") {
+ $('.toprow').hide();
+ $('.targetpivotrow').hide();
+ $('.targetdeleterow').hide();
+ } else {
+ $('.toprow').show();
+ $('.targetpivotrow').show();
+ $('.targetdeleterow').show();
+ }
box.dialog({
- title: "_("+optiontext+ ")_",
- resizable: false,
+ title: optiontext,
+ height: 330,
width: 600,
- height: 500,
+ resizable: false,
modal: true,
- show: {effect:'fade', duration:250},
- hide: {effect:'fade', duration:250},
buttons: {
- _("Action")_: function(){
+ "_(Action)_": function(){
var target = box.find('#targetsnap');
if (target.length) {
target = target.val();
if (!target ) {errorTarget(); return;}
} else target = '';
- var remove = 'yes'
- var keep = 'yes'
- var removemeta = 'yes'
+ var remove = 'yes'
+ var keep = 'yes'
+ var removemeta = 'yes'
var free = 'yes'
var delete_file = 'yes'
var pivot = 'yes'
var desc = ''
box.find('#targetsnap').prop('disabled',true);
if (opt == "create") {
- var x = box.find('#targetsnapfspc').prop('checked') ;
- if (x) free = 'yes' ; else free = 'no' ;
- var desc = box.find("#targetsnapdesc").prop('value') ;
+ free = box.find('#targetsnapfspc').prop('checked') ? 'yes' : 'no';
+ var desc = box.find("#targetsnapdesc").prop('value');
}
- var targetbase = box.find("#targetblockbase").prop('value') ;
- var targettop = box.find("#targetblocktop").prop('value') ;
-
- x = box.find('#targetpivot').prop('checked') ;
- if (x) pivot = 'yes' ; else pivot = 'no' ;
- x = box.find('#targetdelete').prop('checked') ;
- if (x) delete_file = 'yes' ; else delete_file = 'no' ;
- Ajaxurl = "VMAjaxCall.php " + encodeURIComponent("/usr/local/emhttp/plugins/dynamix.vm.manager/include/VMajax.php&" + $.param({action:opt , name:name ,targetbase:targetbase, targettop:targettop , snapshotname:target , remove:remove, targetpivot:pivot ,removemeta:removemeta ,targetdelete:delete_file})) ;
- openVMAction((Ajaxurl),"Block Commit", "dynamix.vm.manager", "loadlist") ;
+ var targetbase = box.find("#targetblockbase").prop('value');
+ var targettop = box.find("#targetblocktop").prop('value');
+ pivot = box.find('#targetpivot').prop('checked') ? 'yes' : 'no';
+ delete_file = box.find('#targetdelete').prop('checked') ? 'yes' : 'no';
+ Ajaxurl = "VMAjaxCall.php " + encodeURIComponent("/usr/local/emhttp/plugins/dynamix.vm.manager/include/VMajax.php&" + $.param({action:opt, name:name, targetbase:targetbase, targettop:targettop, snapshotname:target, remove:remove, targetpivot:pivot, removemeta:removemeta, targetdelete:delete_file}));
+ openVMAction((Ajaxurl),"Block Commit", "dynamix.vm.manager", "loadlist");
box.dialog('close');
},
"_(Cancel)_": function(){
@@ -463,13 +386,6 @@ function selectblock(uuid, name ,snaps, opt, getlist,state){
});
dialogStyle();
}
-
-function dialogStyle() {
- $('.ui-dialog-titlebar-close').css({'background':'transparent','border':'none','font-size':'1.8rem','margin-top':'-14px','margin-right':'-18px'}).html('
').prop('title');
- $('.ui-dialog-title').css({'text-align':'center','width':'100%','font-size':'1.8rem'});
- $('.ui-dialog-content').css({'padding-top':'15px','vertical-align':'bottom'});
- $('.ui-button-text').css({'padding':'0px 5px'});
-}
var sortableHelper = function(e,ui){
var child = ui.next();
if (child.is(':visible')) child.addClass('unhide').hide();
@@ -561,7 +477,17 @@ $(function() {
});
+
+| _(Name)_ | _(Description)_ | _(CPUs)_ | _(Memory)_ | _(vDisks / vCDs)_ | _(Graphics)_ | _(Autostart)_ |
+ |
+
+
+
+
+
+
+