Skip to content

Commit dc05f05

Browse files
author
Olivier Giulieri
committed
New field type "list" using select2.
+ improvements to “color” fields.
1 parent e91a88d commit dc05f05

24 files changed

Lines changed: 329 additions & 169 deletions

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = function (grunt) {
2424
// jQuery & jQuery UI
2525
'bower_components/jquery/dist/jquery.js',
2626
//'bower_components/jquery-ui/ui/jquery.ui.widget.js',
27+
//'bower_components/jquery.csv.js',
2728

2829
// Backbone & Underscore
2930
'bower_components/underscore/underscore.js',
@@ -38,7 +39,8 @@ module.exports = function (grunt) {
3839
'bower_components/bootstrap/js/dropdown.js',
3940

4041
// Widgets
41-
'bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js'
42+
'bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js',
43+
'bower_components/select2/select2.js'
4244
],
4345
dest: '<%= pkg.target %>/vendors.js'
4446
},
@@ -61,6 +63,7 @@ module.exports = function (grunt) {
6163
'js/action.js',
6264
'js/action-*.js',
6365

66+
//'js/navbar.js',
6467
'js/toolbar.js'
6568
//'js/ui-models/dico/field.js'
6669
],
@@ -85,7 +88,9 @@ module.exports = function (grunt) {
8588
'js/one*.js',
8689
'js/action-*.js',
8790

91+
//'js/navbar.js',
8892
'js/toolbar.js',
93+
8994
'js/ui-models/dico/*.js',
9095

9196
// --- ui models ---

bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"backbone.localStorage": "v1.1.7",
88
"underscore": "1.6.0",
99
"bootstrap": "v3.1.1",
10-
"bootstrap-datepicker": "1.3.0"
10+
"bootstrap-datepicker": "1.3.0",
11+
"select2": "3.4.8"
1112
}
1213
}

dist/css/evolutility.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@
134134
.evo-msg > div {
135135
margin-top: 5px;
136136
}
137+
.evo-color-box {
138+
height: 20px;
139+
width: 20px;
140+
border: solid 1px silver;
141+
}
137142
/* --- mini --- */
138143
.evol-mini-holder {
139144
margin: 10px -10px;

dist/css/evolutility.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/select2-spinner.gif

1.81 KB
Loading

dist/css/select2.png

613 Bytes
Loading

dist/css/select2x2.png

845 Bytes
Loading

dist/css/vendors.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)