From bbd509e98f5e457f787d93a33d8e80c3daaca8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 22 Nov 2017 10:37:50 -0500 Subject: [PATCH] Loader for logs --- views/logs.tpl | 3 +++ views/system.tpl | 2 ++ 2 files changed, 5 insertions(+) diff --git a/views/logs.tpl b/views/logs.tpl index 5851530e3..305002b0b 100644 --- a/views/logs.tpl +++ b/views/logs.tpl @@ -13,6 +13,9 @@ +
+
Loading...
+
diff --git a/views/system.tpl b/views/system.tpl index 0c46e10ab..738a1c9dd 100644 --- a/views/system.tpl +++ b/views/system.tpl @@ -145,6 +145,8 @@ function loadURL(page) { $.ajax({ url: "{{base_url}}logs/" + page, + beforeSend: function() { $('#loader').addClass('active'); }, + complete: function() { $('#loader').removeClass('active'); }, cache: false }).done(function(data) { $("#logs").html(data);