NEW Move the upload input on top right in ECM module

This commit is contained in:
Laurent Destailleur
2017-08-20 21:23:19 +02:00
parent d911749b17
commit 2321091170
9 changed files with 94 additions and 131 deletions

View File

@@ -23,7 +23,7 @@
// Examples
$(document).ready(function() {
// override these in your code to change the default behavior and style
$.blockUI.events = {
/*$.blockUI.events = {
// styles applied when using $.growlUI
dolEventValidCSS: {
@@ -59,7 +59,7 @@ $(document).ready(function() {
'border-radius': '10px'
}
};
};*/
$.dolEventValid = function(title, message, timeout, onClose) {
var $m = $('<div class="dolEventValid"></div>');
@@ -67,7 +67,7 @@ $(document).ready(function() {
if (message) $m.append('<h2>'+message+'</h2>');
if (timeout == undefined) timeout = 3000;
$.blockUI({
message: $m, fadeIn: 200, fadeOut: 700, centerY: false,
message: $m, fadeIn: 0, fadeOut: 0, centerY: false,
timeout: timeout, showOverlay: false,
onUnblock: onClose,
css: $.blockUI.events.dolEventValidCSS
@@ -80,7 +80,7 @@ $(document).ready(function() {
if (message) $m.append('<h2>'+message+'</h2>');
if (timeout == undefined) timeout = 0;
$.blockUI({
message: $m, fadeIn: 200, centerY: false,
message: $m, fadeIn: 0, centerY: false,
timeout: timeout, showOverlay: false,
onUnblock: onClose,
css: $.blockUI.events.dolEventErrorCSS
@@ -98,7 +98,6 @@ $(document).ready(function() {
'-webkit-border-radius': '10px',
'-moz-border-radius': '10px',
'border-radius': '10px',
opacity: .5,
color: '#fff'
}
});