5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:41:41 +00:00

select2 con bootstrap4

This commit is contained in:
f 2018-05-17 13:27:14 -03:00
parent f51aed84d6
commit 33713af201
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7
5 changed files with 12 additions and 4 deletions

View file

@ -21,6 +21,6 @@
//= require bootstrap/dropdown
//= require bootstrap-markdown/js/bootstrap-markdown
//= require markdown-it/dist/markdown-it
//= require select2/dist/js/select2
//= require table-dragger/dist/table-dragger.js
//= require select2/dist/js/select2.full.min
//= require table-dragger/dist/table-dragger.min
//= require_tree .

View file

@ -3,6 +3,8 @@ $(document).on('turbolinks:load', function() {
tags: true,
tokenSeparators: [','],
allowClear: true,
placeholder: ''
placeholder: '',
theme: 'bootstrap',
containerCssClass: ':all:'
});
});

View file

@ -2,7 +2,8 @@
@import "bootstrap-markdown/css/bootstrap-markdown.min";
@import "font-awesome";
@import "select2/dist/css/select2";
@import "dragula-with-animation/dist/dragula.css";
@import "select2-bootstrap-theme/dist/select2-bootstrap.min";
@import "dragula-with-animation/dist/dragula";
$footer-height: 60px;

View file

@ -10,6 +10,7 @@
"marked": "^0.3.12",
"popper.js": "^1.12.9",
"select2": "^4.0.6-rc.1",
"select2-bootstrap-theme": "https://github.com/angel-vladov/select2-bootstrap-theme",
"table-dragger": "^1.0.2"
}
}

View file

@ -133,6 +133,10 @@ rx@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782"
"select2-bootstrap-theme@https://github.com/angel-vladov/select2-bootstrap-theme":
version "0.1.0-beta.10"
resolved "https://github.com/angel-vladov/select2-bootstrap-theme#4fb604838e79150161fc636dbeb3b3022c034cda"
select2@^4.0.6-rc.1:
version "4.0.6-rc.1"
resolved "https://registry.yarnpkg.com/select2/-/select2-4.0.6-rc.1.tgz#aa6c3038a7f0f2e91ffade38f0a21c15e1813276"