mirror of https://github.com/apache/nifi.git
NIFI-85:
- Using draggable on all dialogs that are applicable at the moment.
This commit is contained in:
parent
621b7f41cb
commit
9c08118f57
|
@ -170,6 +170,10 @@ div.button-refresh-hover {
|
|||
background: transparent url(../images/buttonRefresh.png) no-repeat scroll top right;
|
||||
}
|
||||
|
||||
.ui-draggable .dialog-header {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
/* processor status styles */
|
||||
|
||||
div.disabled {
|
||||
|
|
|
@ -1108,6 +1108,9 @@ nf.ConnectionConfiguration = (function () {
|
|||
resetDialog();
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
|
||||
// initialize the properties tabs
|
||||
|
|
|
@ -121,6 +121,9 @@ nf.PortConfiguration = (function () {
|
|||
$('#port-comments').val('');
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -39,6 +39,9 @@ nf.PortDetails = (function () {
|
|||
nf.Common.clearField('read-only-port-comments');
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -78,6 +78,9 @@ nf.ProcessGroupConfiguration = (function () {
|
|||
$('#process-group-comments').val('');
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -38,6 +38,9 @@ nf.ProcessGroupDetails = (function () {
|
|||
nf.Common.clearField('read-only-process-group-comments');
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -427,7 +427,8 @@ nf.ProcessorConfiguration = (function () {
|
|||
}
|
||||
}
|
||||
}).draggable({
|
||||
handle: ".modal-header"
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
|
||||
// initialize the bulletin combo
|
||||
|
|
|
@ -91,6 +91,9 @@ nf.RemoteProcessGroupConfiguration = (function () {
|
|||
$('#remote-process-group-yield-duration').val('');
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -37,6 +37,9 @@ nf.RemoteProcessGroupDetails = (function () {
|
|||
$('#read-only-remote-process-group-yield-duration').val('');
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -167,6 +167,9 @@ nf.RemoteProcessGroupPorts = (function () {
|
|||
$('#remote-process-group-output-ports-container').empty();
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -128,6 +128,9 @@ nf.SecurePortConfiguration = (function () {
|
|||
$('#allowed-groups').empty();
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
|
||||
// listen for removal requests
|
||||
|
|
|
@ -83,6 +83,9 @@ nf.SecurePortDetails = (function () {
|
|||
$('#read-only-allowed-groups').empty();
|
||||
}
|
||||
}
|
||||
}).draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -345,6 +345,13 @@ nf.ConnectionDetails = (function () {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (overlayBackground) {
|
||||
$('#connection-details').draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -249,6 +249,13 @@ nf.ProcessorDetails = (function () {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (overlayBackground) {
|
||||
$('#processor-details').draggable({
|
||||
containment: 'parent',
|
||||
handle: '.dialog-header'
|
||||
});
|
||||
}
|
||||
|
||||
// function for formatting the property name
|
||||
var nameFormatter = function (row, cell, value, columnDef, dataContext) {
|
||||
|
|
Loading…
Reference in New Issue