mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 08:29:51 -06:00
Make dialog boxes consistent
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
@@ -69,8 +69,6 @@ function addPoolPopup() {
|
||||
resizable: false,
|
||||
width: 600,
|
||||
modal: true,
|
||||
show : {effect:'fade', duration:250},
|
||||
hide : {effect:'fade', duration:250},
|
||||
buttons: {
|
||||
"_(Add)_": function() {
|
||||
if (validate($(this).find('input[name="poolName"]').val())) {
|
||||
@@ -122,8 +120,6 @@ function addSubpoolPopup(poolname,currentsubpools) {
|
||||
resizable: false,
|
||||
width: 600,
|
||||
modal: true,
|
||||
show : {effect:'fade', duration:250},
|
||||
hide : {effect:'fade', duration:250},
|
||||
buttons: {
|
||||
"_(Add)_": function() {
|
||||
subpool=$(this).find('select[name="subpool"]').val();
|
||||
|
||||
@@ -489,8 +489,6 @@ function renamePoolPopup() {
|
||||
resizable: false,
|
||||
width: 600,
|
||||
modal: true,
|
||||
show : {effect:'fade', duration:250},
|
||||
hide : {effect:'fade', duration:250},
|
||||
buttons: {
|
||||
"_(Rename)_": function() {
|
||||
if (validate($(this).find('input[name="poolName"]').val())) {
|
||||
|
||||
@@ -137,8 +137,6 @@ function PHPinfo() {
|
||||
height: Math.min(window.innerHeight-80,800),
|
||||
width: Math.min(window.innerWidth,1200),
|
||||
modal: true,
|
||||
show: {effect:'fade', duration:250},
|
||||
hide: {effect:'fade', duration:250},
|
||||
buttons: {
|
||||
"_(Done)_": function(){
|
||||
box.dialog('close');
|
||||
|
||||
Reference in New Issue
Block a user