From 73cbe5650b57323a17c84aceace12623bd36b8d7 Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Tue, 2 Aug 2016 17:23:07 +0200 Subject: ... and the same for the userlist. --- modules-available/dozmod/templates/userlist.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'modules-available/dozmod/templates') diff --git a/modules-available/dozmod/templates/userlist.html b/modules-available/dozmod/templates/userlist.html index 3ccff4d9..79d4848b 100644 --- a/modules-available/dozmod/templates/userlist.html +++ b/modules-available/dozmod/templates/userlist.html @@ -51,6 +51,17 @@ function setu(action, el, uid) { } else { el.checked = (data == 1); } + /* show success notification */ + $notification = $('') + .addClass('glyphicon glyphicon-saved') + .css('color', '#2ecc71') + .css('width', '0px') + .css('position', 'relative') + .css('right', '20px') + .hide(); + box.before($notification); + $notification.fadeIn('slow', function () {$notification.fadeOut('fast');}); + box.css('display', ''); }).fail(function() { el.checked = !old; -- cgit v1.2.3-55-g7522