From bee61f33d91b80f128486d9685a060b5b4b8487a Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Mon, 8 Oct 2018 01:19:35 +0100 Subject: [PATCH] lib/js/modal.js --- lib/js/modal.js | 41 ++++++++++++++++++++++++++++++++++++ www/dbq/html/default.css | 2 +- www/dbq/html/default.min.css | 2 +- 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 lib/js/modal.js diff --git a/lib/js/modal.js b/lib/js/modal.js new file mode 100644 index 00000000..557306c8 --- /dev/null +++ b/lib/js/modal.js @@ -0,0 +1,41 @@ +$('
', { + id: 'modal', + class: 'modal fade', + role: 'dialog', + tabindex: '-1', + 'aria-labelledby': 'modal-title', + 'aria-hidden': 'true', +}).append( + $('
', { class: 'modal-dialog modal-lg', role: 'document' }).append( + $('
', { class: 'modal-content' }).append([ + $('
', { class: 'modal-header' }).append([ + $('
',{ class: 'modal-title', id: 'modal-title' }), + $('