-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove material2 and simplify html and css * add form back to home * add exterior state back to app * add about content back in * update e2e test
- Loading branch information
Showing
14 changed files
with
45 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,4 @@ | ||
html, body{ | ||
height: 100%; | ||
background: #F4FAFA; | ||
} | ||
button.active{ | ||
background: #fff; | ||
color: #009688; | ||
} | ||
button.active:hover{ | ||
color: #fff; | ||
} | ||
.fill{ | ||
flex: 1 1 auto; | ||
} | ||
.app-state{ | ||
margin: 15px; | ||
flex: 1; | ||
} | ||
.home{ | ||
flex: 1; | ||
} | ||
md-content{ | ||
display: flex; | ||
flex-direction: column; | ||
height: 100%; | ||
} | ||
footer{ | ||
flex: 0 0 60px; | ||
padding: 10px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: #fff; | ||
} | ||
font-family: Arial, Helvetica, sans-serif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
/*styles for home content only*/ | ||
.card-container{ | ||
display: flex; | ||
flex-direction: column; | ||
margin: 15px; | ||
|
||
border: 2px dashed #FBC02D; | ||
} | ||
.sample-content{ | ||
flex: 1; | ||
} | ||
.card-container md-card{ | ||
margin: 5px; | ||
} | ||
/*styles for home content only*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,28 @@ | ||
<div class="card-container"> | ||
<md-card x-large class="sample-content">Your Content Here</md-card> | ||
<md-card> | ||
<h1 x-large class="sample-content">Your Content Here</h1> | ||
<div> | ||
For hot module reloading run | ||
<pre>npm run start:hmr</pre> | ||
</md-card> | ||
<md-card> | ||
<md-card-title>Local State</md-card-title> | ||
<md-card-content> | ||
</div> | ||
<div> | ||
<h4>Local State</h4> | ||
|
||
<form (ngSubmit)="submitState(localState.value)" autocomplete="off"> | ||
<form (ngSubmit)="submitState(localState.value)" autocomplete="off"> | ||
|
||
<md-input | ||
placeholder="Submit Local State to App State" | ||
[value]="localState.value" | ||
(input)="localState.value = $event.target.value" | ||
autofocus> | ||
</md-input> | ||
<input placeholder="Submit Local State to App State" [value]="localState.value" (input)="localState.value = $event.target.value" | ||
autofocus> | ||
|
||
<button md-raised-button color="primary">Submit Value</button> | ||
</form> | ||
<!-- | ||
<button md-raised-button color="primary">Submit Value</button> | ||
</form> | ||
<!-- | ||
<input type="text" [value]="localState.value" (input)="localState.value = $event.target.value" autofocus> | ||
Rather than wiring up two-way data-binding ourselves with [value] and (input) | ||
we can use Angular's [(ngModel)] syntax | ||
<input type="text" [(ngModel)]="localState.value" autofocus> | ||
--> | ||
|
||
<pre>this.localState = {{ localState | json }}</pre> | ||
<pre>this.localState = {{ localState | json }}</pre> | ||
|
||
</md-card-content> | ||
</md-card> | ||
</div> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters