Skip to content

Commit 3b435d3

Browse files
committed
Version 1.2.1.
1 parent 7d7bf09 commit 3b435d3

11 files changed

+66
-70
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Sample Single Page Apps made with Evolutility:
1717

1818
## Installation
1919

20-
[**Download**](https://github.com/evoluteur/evolutility-ui-jquery/archive/master.zip) or **clone** Evolutility-UI-jQuery from GitHub.
20+
[Download](https://github.com/evoluteur/evolutility-ui-jquery/archive/master.zip) or **clone** Evolutility-UI-jQuery from GitHub.
2121

2222
```bash
2323
# To get the latest stable version, use git from the command line.
@@ -210,7 +210,7 @@ Code: [/js/view-action/action-import.js](https://github.com/evoluteur/evolutilit
210210

211211
## UI-model
212212

213-
Views are not defined in templates but configured with a UI-model using a [vocabulary](http://evoluteur.github.io/evolutility-ui-jquery/doc/ui-model.html) with words like "field", "panel" and "tab" rather than "INPUT" and "DIV" to describe UI elements.
213+
Views are not defined in templates but configured with a UI-model using a [vocabulary](http://evoluteur.github.io/evolutility-ui-jquery/doc/ui-model.html) with words like "field", "panel" and "tab" rather than "input" and "div" to describe UI elements.
214214

215215
Here is the UI-model used to configure all views for the ["Graphic Novels" app demo](http://evoluteur.github.io/evolutility-ui-jquery/demo/index.html#comics/cards):
216216

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "evolutility-ui-jquery",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"copyright": "(c) 2017 Olivier Giulieri",
55
"description": "UI which changes form, volume and structure to adapt to your data (using jQuery, Backbone, and D3.js).",
66
"main": [

config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ Evol.Config = {
1010
// --- using evolutility-server-node
1111
//url: 'http://localhost:3000/api/v1/evolutility/'
1212

13-
// --- using postgrest
14-
//url: 'http://localhost:3001/'
1513
};

demo/demo-data.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/dependencies.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/evolutility-ui-jquery.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
evolutility-ui-jquery 1.2.0
3-
(c) 2016 Olivier Giulieri
2+
evolutility-ui-jquery 1.2.1
3+
(c) 2017 Olivier Giulieri
44
http://evoluteur.github.io/evolutility-ui-jquery/
55
*/
66
#title > i {
@@ -104,7 +104,7 @@
104104
.evol-actions > i:hover,
105105
.evol-actions-nxtTd > i:hover {
106106
color: #428bca;
107-
background-color: #eceff1;
107+
background-color: #ECEFF1;
108108
}
109109
.evol-actions {
110110
top: 35px;

dist/css/evolutility-ui-jquery.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dependencies.min.js

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/evolutility-ui-jquery.js

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
evolutility-ui-jquery 1.2.0
3-
(c) 2016 Olivier Giulieri
2+
evolutility-ui-jquery 1.2.1
3+
(c) 2017 Olivier Giulieri
44
http://evoluteur.github.io/evolutility-ui-jquery/
55
*/
66
// default config for Evolutility-UI-jQuery
@@ -9,14 +9,12 @@ var Evol = Evol || {};
99

1010
Evol.Config = {
1111

12-
// --- using local storage
12+
// --- using localStorage
1313
localStorage: true,
1414

1515
// --- using evolutility-server-node
1616
//url: 'http://localhost:3000/api/v1/evolutility/'
1717

18-
// --- using postgrest
19-
//url: 'http://localhost:3001/'
2018
};
2119
;
2220
// Evolutility-UI-jQuery Localization Library ENGLISH
@@ -268,7 +266,7 @@ Evol.i18n = {
268266
* Library of helpers for metamodel
269267
*
270268
* https://github.com/evoluteur/evolutility-ui-jquery
271-
* Copyright (c) 2016 Olivier Giulieri
269+
* (c) 2017 Olivier Giulieri
272270
*
273271
*************************************************************************** */
274272

@@ -524,7 +522,7 @@ return {
524522
* Helpers for string manipulation and date formats
525523
*
526524
* https://github.com/evoluteur/evolutility-ui-jquery
527-
* Copyright (c) 2016 Olivier Giulieri
525+
* (c) 2017 Olivier Giulieri
528526
*
529527
*************************************************************************** */
530528

@@ -618,7 +616,7 @@ Evol.Format = {
618616
* evolutility-ui-jquery :: dom.js
619617
*
620618
* https://github.com/evoluteur/evolutility-ui-jquery
621-
* Copyright (c) 2016 Olivier Giulieri
619+
* (c) 2017 Olivier Giulieri
622620
*
623621
*************************************************************************** */
624622

@@ -1037,7 +1035,7 @@ Evol.DOM = {
10371035
* evolutility-ui-jquery :: dom-charts.js
10381036
*
10391037
* https://github.com/evoluteur/evolutility-ui-jquery
1040-
* Copyright (c) 2016 Olivier Giulieri
1038+
* (c) 2017 Olivier Giulieri
10411039
*
10421040
*************************************************************************** */
10431041

@@ -1084,7 +1082,7 @@ Evol.DOM.Charts = {
10841082
* Library of helpers for dictionary
10851083
*
10861084
* https://github.com/evoluteur/evolutility-ui-jquery
1087-
* Copyright (c) 2016 Olivier Giulieri
1085+
* (c) 2017 Olivier Giulieri
10881086
*
10891087
*************************************************************************** */
10901088

@@ -1699,7 +1697,7 @@ return {
16991697
* View "many" for other ViewMany views to inherit from.
17001698
*
17011699
* https://github.com/evoluteur/evolutility-ui-jquery
1702-
* Copyright (c) 2016 Olivier Giulieri
1700+
* (c) 2017 Olivier Giulieri
17031701
*
17041702
*************************************************************************** */
17051703

@@ -2421,7 +2419,7 @@ return Bubbles;
24212419
* View "many bubbles" to show a Bubble Chart of a collection of many models.
24222420
*
24232421
* https://github.com/evoluteur/evolutility-ui-jquery
2424-
* Copyright (c) 2016 Olivier Giulieri
2422+
* (c) 2017 Olivier Giulieri
24252423
*
24262424
*************************************************************************** */
24272425

@@ -2586,7 +2584,7 @@ Evol.ViewMany.Bubbles = Evol.View_Many.extend({
25862584
* View "many cards" to show a collection as many cards.
25872585
*
25882586
* https://github.com/evoluteur/evolutility-ui-jquery
2589-
* Copyright (c) 2016 Olivier Giulieri
2587+
* (c) 2017 Olivier Giulieri
25902588
*
25912589
*************************************************************************** */
25922590

@@ -2735,7 +2733,7 @@ Evol.ViewMany.Cards = Evol.View_Many.extend({
27352733
* View "many charts" to display a collection as a set of charts.
27362734
*
27372735
* https://github.com/evoluteur/evolutility-ui-jquery
2738-
* Copyright (c) 2016 Olivier Giulieri
2736+
* (c) 2017 Olivier Giulieri
27392737
*
27402738
*************************************************************************** */
27412739

@@ -2906,7 +2904,7 @@ return Evol.View_Many.extend({
29062904
* View "many list" to display a collection as a list (table w/ sorting and paging).
29072905
*
29082906
* https://github.com/evoluteur/evolutility-ui-jquery
2909-
* Copyright (c) 2016 Olivier Giulieri
2907+
* (c) 2017 Olivier Giulieri
29102908
*
29112909
*************************************************************************** */
29122910

@@ -3073,7 +3071,7 @@ Evol.ViewMany.List = Evol.View_Many.extend({
30733071
* View "one" should not be instanciated but inherited.
30743072
*
30753073
* https://github.com/evoluteur/evolutility-ui-jquery
3076-
* Copyright (c) 2016 Olivier Giulieri
3074+
* (c) 2017 Olivier Giulieri
30773075
*
30783076
*************************************************************************** */
30793077

@@ -4258,7 +4256,7 @@ return Backbone.View.extend({
42584256
* View "one browse" to browse one model in readonly mode.
42594257
*
42604258
* https://github.com/evoluteur/evolutility-ui-jquery
4261-
* Copyright (c) 2016 Olivier Giulieri
4259+
* (c) 2017 Olivier Giulieri
42624260
*
42634261
*************************************************************************** */
42644262

@@ -4385,7 +4383,7 @@ Evol.ViewOne.Browse = Evol.View_One.extend({
43854383
* View "one edit" to edit one backbone model.
43864384
*
43874385
* https://github.com/evoluteur/evolutility-ui-jquery
4388-
* Copyright (c) 2016 Olivier Giulieri
4386+
* (c) 2017 Olivier Giulieri
43894387
*
43904388
*************************************************************************** */
43914389

@@ -4418,7 +4416,7 @@ Evol.ViewOne.Edit = Evol.View_One.extend({
44184416
* View "one json" to edit one backbone model in JSON.
44194417
*
44204418
* https://github.com/evoluteur/evolutility-ui-jquery
4421-
* Copyright (c) 2016 Olivier Giulieri
4419+
* (c) 2017 Olivier Giulieri
44224420
*
44234421
*************************************************************************** */
44244422

@@ -4512,7 +4510,7 @@ Evol.ViewOne.JSON = Evol.View_One.extend({
45124510
* View "one mini" to "quick edit" one backbone model (only showing important or required fields).
45134511
*
45144512
* https://github.com/evoluteur/evolutility-ui-jquery
4515-
* Copyright (c) 2016 Olivier Giulieri
4513+
* (c) 2017 Olivier Giulieri
45164514
*
45174515
*************************************************************************** */
45184516

@@ -4587,7 +4585,7 @@ return Evol.ViewOne.Edit.extend({
45874585
* evolutility-ui-jquery :: action-export.js
45884586
*
45894587
* https://github.com/evoluteur/evolutility-ui-jquery
4590-
* Copyright (c) 2016 Olivier Giulieri
4588+
* (c) 2017 Olivier Giulieri
45914589
*
45924590
*************************************************************************** */
45934591

@@ -5167,7 +5165,7 @@ return Backbone.View.extend({
51675165
* evolutility-ui-jquery :: action-filter.js
51685166
*
51695167
* https://github.com/evoluteur/evolutility-ui-jquery
5170-
* Copyright (c) 2016 Olivier Giulieri
5168+
* (c) 2017 Olivier Giulieri
51715169
*
51725170
*************************************************************************** */
51735171

@@ -5809,7 +5807,7 @@ return Backbone.View.extend({
58095807
* evolutility-ui-jquery :: action-import.js
58105808
*
58115809
* https://github.com/evoluteur/evolutility-ui-jquery
5812-
* Copyright (c) 2016 Olivier Giulieri
5810+
* (c) 2017 Olivier Giulieri
58135811
*
58145812
*************************************************************************** */
58155813

@@ -6080,7 +6078,7 @@ return Backbone.View.extend({
60806078
* View "toolbar" (one toolbar instance manages all views for a UI model).
60816079
*
60826080
* https://github.com/evoluteur/evolutility-ui-jquery
6083-
* Copyright (c) 2016 Olivier Giulieri
6081+
* (c) 2017 Olivier Giulieri
60846082
*
60856083
*************************************************************************** */
60866084

@@ -6412,7 +6410,7 @@ return Backbone.View.extend({
64126410
}
64136411
if(_.isUndefined(vw)){
64146412
//TODO error tracking (in other places too)
6415-
alert('error: invalid route.');
6413+
alert('error: invalid route (for toolbar).');
64166414
}else{
64176415
this.curView=vw;
64186416
this.viewsHash[viewName]=vw;
@@ -7216,7 +7214,7 @@ return Backbone.View.extend({
72167214
* View "app" to manage the single page app for all objects/ui-models.
72177215
*
72187216
* https://github.com/evoluteur/evolutility-ui-jquery
7219-
* Copyright (c) 2016 Olivier Giulieri
7217+
* (c) 2017 Olivier Giulieri
72207218
*
72217219
*************************************************************************** */
72227220

@@ -7293,7 +7291,7 @@ Evol.App = Backbone.View.extend({
72937291
Evol.Dico.setRoute(this.router, cView.uiModel.id, cView.viewName, id, triggerRoute);
72947292
Evol.Dico.setPageTitle(cView.getTitle());
72957293
}else{
7296-
alert('Error: Invalid route.');
7294+
alert('Error: Invalid route (for app).');
72977295
}
72987296
return this;
72997297
},
@@ -7419,19 +7417,19 @@ Evol.App = Backbone.View.extend({
74197417
if(that.useRouter){
74207418
config.router = that.router;
74217419
}
7422-
var tb = new Evol.Toolbar(config).render();//.setTitle();
7423-
if(options && tb.cardinality==='1'){
7424-
tb.setModelById(options);
7420+
var toolbar = new Evol.Toolbar(config).render();//.setTitle();
7421+
if(options && toolbar.cardinality==='1'){
7422+
toolbar.setModelById(options);
74257423
}
74267424
if(that._tbs){
7427-
that._tbs[uiModel.id] = tb;
7425+
that._tbs[uiModel.id] = toolbar;
74287426
}
74297427
if(cb){
7430-
cb(tb);
7428+
cb(toolbar);
74317429
}
74327430
},
74337431
error: function(err){
7434-
alert('Error: invalid route.');
7432+
alert('Error: invalid route (for app).');
74357433
}
74367434
});
74377435
},

dist/evolutility-ui-jquery.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)