chore(cheatsheet): fix double banner issue (#2293)

Each page is designed to have a single banner; adjust the cheatsheet to
follow this convention. Also eliminate the article nested within the
`l-conent` div.

Propagated changes/cleanup to JS and Dart.
This commit is contained in:
Patrice Chalin 2016-09-08 15:01:39 -07:00 committed by Kathy Walrath
parent 08130d85df
commit 562e99463a
11 changed files with 14 additions and 23 deletions

View File

@ -38,7 +38,7 @@
"cheatsheet": {
"title": "Angular Cheat Sheet",
"intro": "A quick guide to Angular syntax.",
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
"reference": false
},

View File

@ -1,9 +1,4 @@
- var base = current.path[4] ? '.' : './guide';
.banner.grid-fluid
.alert.is-important
:marked
This cheat sheet is provisional and subject to change.
article(class="l-content-small grid-fluid docs-content")
.cheatsheet
ngio-cheatsheet(src= base + '/cheatsheet.json')
.l-content-small.grid-fluid.docs-content.cheatsheet
ngio-cheatsheet(src= base + '/cheatsheet.json')

View File

@ -59,7 +59,7 @@
"cheatsheet": {
"title": "Angular Cheat Sheet",
"intro": "A quick guide to Angular syntax.",
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
"nextable": true,
"basics": true
},

View File

@ -1 +1 @@
!= partial("../cheatsheet")
extends ../cheatsheet

View File

@ -38,7 +38,7 @@
"cheatsheet": {
"title": "Angular Cheat Sheet",
"intro": "A quick guide to Angular syntax.",
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
"reference": false
},

View File

@ -1,5 +1,4 @@
- var base = current.path[4] ? '.' : './guide';
article(class="l-content-small grid-fluid docs-content")
.cheatsheet
ngio-cheatsheet(src= base + '/cheatsheet.json')
.l-content-small.grid-fluid.docs-content.cheatsheet
ngio-cheatsheet(src= base + '/cheatsheet.json')

View File

@ -52,7 +52,7 @@
"cheatsheet": {
"title": "Angular Cheat Sheet",
"intro": "A quick guide to Angular syntax.",
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
"nextable": true,
"basics": true
},

View File

@ -1 +1 @@
!= partial("../cheatsheet")
extends ../cheatsheet

View File

@ -45,7 +45,7 @@
"cheatsheet": {
"title": "Angular Cheat Sheet",
"intro": "A quick guide to Angular syntax.",
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
"reference": false
},

View File

@ -1,7 +1,4 @@
- var base = current.path[4] ? '.' : './guide';
.banner
p.text-body This cheat sheet is provisional and may change. Angular 2 is currently in Release Candidate.
article(class="l-content-small grid-fluid docs-content")
.cheatsheet
ngio-cheatsheet(src= base + '/cheatsheet.json')
.l-content-small.grid-fluid.docs-content.cheatsheet
ngio-cheatsheet(src= base + '/cheatsheet.json')

View File

@ -60,7 +60,7 @@
"cheatsheet": {
"title": "Angular Cheat Sheet",
"intro": "A quick guide to Angular syntax.",
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
"nextable": true,
"basics": true
},