Skip to content

Commit a780664

Browse files
author
Olivier Giulieri
committed
Small edits.
1 parent 2809a75 commit a780664

File tree

5 files changed

+17
-37
lines changed

5 files changed

+17
-37
lines changed

dist/css/demo.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@
9494
top: 62px;
9595
padding: 5px 10px;
9696
}
97-
.evo-content h1,
98-
.evo-content2 h1,
99-
.evo-content3 h1,
100-
.evo-content h2,
101-
.evo-content2 h2,
102-
.evo-content3 h2 {
103-
color: #428bca !important;
104-
}
10597
.evo-content {
10698
padding: 80px 30px 30px;
10799
}

dist/css/evolutility.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@
9999
top: 62px;
100100
padding: 5px 10px;
101101
}
102-
.evo-content h1,
103-
.evo-content2 h1,
104-
.evo-content3 h1,
105-
.evo-content h2,
106-
.evo-content2 h2,
107-
.evo-content3 h2 {
108-
color: #428bca !important;
109-
}
110102
.evo-content {
111103
padding: 80px 30px 30px;
112104
}

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.

doc/ui-model.html

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,21 @@
2727
<h1>ui-model</h1>
2828
</div>
2929

30-
<div class="evo-content3">
3130

32-
<ul style="float:right;padding:10px 5px;background-color:white;">
33-
<li><a href="#object">object</a></li>
34-
<li><a href="#field">field</a></li>
35-
<li><a href="#section">section</a></li>
36-
<li><a href="#sample">Sample todo ui-model</a></li>
37-
</ul>
31+
<div class="evo-content3">
3832

3933

34+
<p>This page describes the structure of UI-models.
35+
It is not fully defined nor implemented yet but a work in progress based on
36+
<a href="http://www.codeproject.com/Articles/28636/Minimalist-Meta-Model-for-CRUD-Applications" target="evomm">Evolutility minimalist meta-model</a>.</p>
4037

41-
<p>This page describes the structure of UI-models.</p>
4238

43-
<p>This is not fully defined nor implemented yet but a work in progress based on <a href="http://www.codeproject.com/Articles/28636/Minimalist-Meta-Model-for-CRUD-Applications" target="evomm">Evolutility minimalist meta-model</a>.</p>
39+
<p>The UI model for a Backbone model consists of an object with fields grouped in panels and tabs.</p>
4440

4541

4642
<section id="object">
47-
<h2>object</h2>
43+
<p></p>
44+
<h1>object</h1>
4845

4946
<p>An "object" is the UI information added to the Backbone model.
5047
This ui-model defines all <a href="views.html">views</a>.</p>
@@ -93,12 +90,14 @@ <h2>object</h2>
9390
</tr>
9491
</tbody></table>
9592

93+
<a name="field"></a>
9694
<span class="evol-required">*</span>: required attribute.
9795
</section>
9896

9997
<section id="field">
100-
<h2>field</h2>
98+
<h1>field</h1>
10199
<p>Attributes in your Backbone model are mapped to fields in the UI.</p>
100+
<p>These fields have the following properties:</p>
102101

103102
<table class="table table-bordered">
104103
<tbody>
@@ -308,7 +307,8 @@ <h2>field</h2>
308307
</section>
309308

310309
<section id="sections">
311-
<h2>sections</h2>
310+
<p></p>
311+
<h1>sections</h1>
312312
<p>Fields are grouped in panels and panels can be grouped in tabs. </p>
313313

314314

@@ -451,10 +451,11 @@ <h3>tab</h3>
451451
</section>
452452

453453
<section id="sample">
454+
<p></p>
454455

455-
<h2>Sample UI-model for a to do app.</h2>
456+
<h1>Sample UI-model</h1>
456457

457-
<p></p>
458+
<p>The classic "todo app".</p>
458459

459460
<iframe style="width:100%;height:300px" src="../js/ui-models/apps/todo.js"></iframe>
460461

less/header.less

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
text-decoration: none;
5555

5656
:hover{
57-
color:@color-header-link
57+
color:@color-header-link;
5858
}
5959
}
6060
}
@@ -105,11 +105,6 @@
105105
}
106106

107107
// --- content ---
108-
.evo-content,.evo-content2,.evo-content3{
109-
h1,h2{
110-
color: @color-title !important;
111-
}
112-
}
113108
.evo-content{
114109
padding: 80px 30px 30px;
115110
}

0 commit comments

Comments
 (0)