summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates/orglist.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-15 21:37:08 +0100
committerSimon Rettberg2017-12-15 21:37:08 +0100
commite41a8074713861bdd8c6ef34d4f3465864bf4cd4 (patch)
tree6c62391ce7e1d7944889dc675c0e8ab26cf2dfe6 /modules-available/dozmod/templates/orglist.html
parent[roomplanner] Fix deleting PCs after loading room plan (diff)
parent[backup] added permissions to create and restore backups (diff)
downloadslx-admin-e41a8074713861bdd8c6ef34d4f3465864bf4cd4.tar.gz
slx-admin-e41a8074713861bdd8c6ef34d4f3465864bf4cd4.tar.xz
slx-admin-e41a8074713861bdd8c6ef34d4f3465864bf4cd4.zip
Merge branch 'permission-manager' of openslx.org:openslx-ng/slx-admin into permission-manager
Diffstat (limited to 'modules-available/dozmod/templates/orglist.html')
-rw-r--r--modules-available/dozmod/templates/orglist.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules-available/dozmod/templates/orglist.html b/modules-available/dozmod/templates/orglist.html
index 361421c5..5224c962 100644
--- a/modules-available/dozmod/templates/orglist.html
+++ b/modules-available/dozmod/templates/orglist.html
@@ -41,7 +41,19 @@ function seto(action, el, orgid) {
if (data !== '1' && data !== '0') {
el.checked = !old;
- box.parent().css('background-color', 'red !important');
+ box.parent().css('background-color', '');
+ /* show success notification */
+ $notification = $('<span></span>')
+ .addClass('glyphicon glyphicon-remove')
+ .css('color', 'red')
+ .css('width', '0px')
+ .css('position', 'relative')
+ .css('right', '20px')
+ .hide();
+ box.before($notification);
+ $notification.fadeIn('fast', function () {
+ $notification.fadeOut('slow', function () { $notification.remove() });
+ });
} else {
el.checked = (data == 1);
box.parent().css('background-color', '');