This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,10 @@ button {
5757button : hover {
5858 background-color : # cfd8dc ;
5959}
60+ /* #docregion delete-hero */
61+ button .delete-button {
62+ float : right;
63+ background-color : gray !important ;
64+ color : white;
65+ }
66+ /* #enddocregion delete-hero */
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -315,7 +315,9 @@ block add-new-hero-via-detail-comp
315315 The user can *delete* an existing hero by clicking a delete button next to the hero's name.
316316 Add the following to the heroes component HTML right after the hero name in the repeated `<li>` tag:
317317+ makeExample('app/heroes.component.html' , 'delete' )
318-
318+ :marked
319+ Add the following CSS to the bottom of `heroes.component.css`.
320+ + makeExample('toh-6/ts/app/heroes.component.css' , 'delete-hero' , 'app/heroes.component.css (delete)' )( format ="." )
319321:marked
320322 Now let's fix-up the `HeroesComponent` to support the *add* and *delete* actions used in the template.
321323 Let's start with *add*.
@@ -390,7 +392,6 @@ block filetree
390392 .file typings ...
391393 .file index.html
392394 .file package.json
393- .file sample.css (new)
394395 .file styles.css
395396 .file systemjs.config.json
396397 .file tsconfig.json
@@ -414,6 +415,7 @@ block file-summary
414415 ` toh-6/ts/app/app.component.ts,
415416 toh-6/ts/app/heroes.component.ts,
416417 toh-6/ts/app/heroes.component.html,
418+ toh-6/ts/app/heroes.component.css,
417419 toh-6/ts/app/hero-detail.component.ts,
418420 toh-6/ts/app/hero-detail.component.html,
419421 toh-6/ts/app/hero.service.ts,
You can’t perform that action at this time.
0 commit comments