diff --git a/static/madmin/static/js/loading_dialogue.js b/static/madmin/static/js/loading_dialogue.js new file mode 100644 index 000000000..260dc21a1 --- /dev/null +++ b/static/madmin/static/js/loading_dialogue.js @@ -0,0 +1,15 @@ +function loadingBlockUI(message) { + $.fn.center = function () { + this.css("position", "absolute"); + this.css("top", ($(window).height() - this.height()) / 2 + $(window).scrollTop() + "px"); + this.css("left", ($(window).width() - this.width()) / 2 + $(window).scrollLeft() + "px"); + return this; + } + +$.blockUI({css: { + height: 'auto', + textAlign: 'center', + width: 'auto' + }, message: '

' + message + '

' }) + $('.blockUI.blockMsg').center(); +} \ No newline at end of file diff --git a/static/madmin/static/style/MAD.css b/static/madmin/static/style/MAD.css index a5e028f70..2499f8126 100644 --- a/static/madmin/static/style/MAD.css +++ b/static/madmin/static/style/MAD.css @@ -60,7 +60,7 @@ } [data-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover { - color:# bbb !important; + color: #bbb !important; border: 1px solid #979797; background: #585858 !important; } diff --git a/static/madmin/templates/autoconfig_config_editor.html b/static/madmin/templates/autoconfig_config_editor.html index f8285a3bc..5d4bead21 100644 --- a/static/madmin/templates/autoconfig_config_editor.html +++ b/static/madmin/templates/autoconfig_config_editor.html @@ -7,11 +7,12 @@ {% block scripts %} + + {% endblock %} @@ -237,22 +265,28 @@

Worker Status

-
-
- View workers and their current status. Times are displayed as (HH):MM:SS. +
+
+ View workers and their current status. Times are displayed as (HH):MM:SS. +
-
+
+ + +
+
-
-
-
+
+
+
- +
-
- Set maximum time in seconds to display "Last update" as for an easier overview -
+
+ Set maximum time in seconds to display "Last update" as for an easier overview +
{% endblock %}