From 3f23fc06ccd16b04fb40ffc79c1627ed2589344b Mon Sep 17 00:00:00 2001 From: Christian Glatthard Date: Tue, 11 Aug 2015 22:50:17 +0200 Subject: [PATCH] make select input fields searchable --- ipynbsrv/web/templates/web/base_generic.html | 16 +++- .../web/collaborationgroups/index.html | 1 + .../collaborationgroups/modal_addusers.html | 20 ++-- .../web/containers/modal_create.html | 14 +-- .../templates/web/images/modal_create.html | 14 +-- .../web/notifications/modal_create.html | 92 +++++++++++-------- .../templates/web/shares/modal_addgroups.html | 17 ++-- .../templates/web/shares/modal_addusers.html | 21 +++-- ipynbsrv/web/views/collaborationgroups.py | 2 - 9 files changed, 114 insertions(+), 83 deletions(-) diff --git a/ipynbsrv/web/templates/web/base_generic.html b/ipynbsrv/web/templates/web/base_generic.html index a3e24e0..b601ad1 100644 --- a/ipynbsrv/web/templates/web/base_generic.html +++ b/ipynbsrv/web/templates/web/base_generic.html @@ -18,10 +18,24 @@ - {% block js %}{% endblock %} diff --git a/ipynbsrv/web/templates/web/collaborationgroups/index.html b/ipynbsrv/web/templates/web/collaborationgroups/index.html index 77dd0cc..965d107 100644 --- a/ipynbsrv/web/templates/web/collaborationgroups/index.html +++ b/ipynbsrv/web/templates/web/collaborationgroups/index.html @@ -115,6 +115,7 @@

Groups

$('[data-toggle="modal"]').click(function (e) { var btn = $(e.target); var modal = btn.data('target'); + //bootstrap_multiselect_init(); switch (modal) { case "#modal-share-adduser": { diff --git a/ipynbsrv/web/templates/web/collaborationgroups/modal_addusers.html b/ipynbsrv/web/templates/web/collaborationgroups/modal_addusers.html index 4827a46..81d3fa6 100644 --- a/ipynbsrv/web/templates/web/collaborationgroups/modal_addusers.html +++ b/ipynbsrv/web/templates/web/collaborationgroups/modal_addusers.html @@ -12,16 +12,16 @@
- +
+ +
diff --git a/ipynbsrv/web/templates/web/shares/modal_addgroups.html b/ipynbsrv/web/templates/web/shares/modal_addgroups.html index 82bb457..3732cf5 100644 --- a/ipynbsrv/web/templates/web/shares/modal_addgroups.html +++ b/ipynbsrv/web/templates/web/shares/modal_addgroups.html @@ -11,17 +11,18 @@ {% csrf_token %} diff --git a/ipynbsrv/web/templates/web/shares/modal_addusers.html b/ipynbsrv/web/templates/web/shares/modal_addusers.html index 49f6aae..b0998d4 100644 --- a/ipynbsrv/web/templates/web/shares/modal_addusers.html +++ b/ipynbsrv/web/templates/web/shares/modal_addusers.html @@ -11,19 +11,20 @@ {% csrf_token %}