Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 002e52b

Browse files
committed
docs(): polish
1 parent e5c19eb commit 002e52b

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

docs/app/partials/home.tmpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div ng-controller="HomeCtrl" layout="column">
1+
<div ng-controller="HomeCtrl" layout="column" class="doc-content">
22
<md-content class="extraPad" >
33
<p>
44
<a href="http://www.google.com/design/spec/material-design/">Material Design</a> is a specification for a
Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
1-
<div ng-controller="AppCtrl" style="position:absolute;display: block; width: 100%">
2-
<div style="padding: 24px;">
1+
<div ng-controller="AppCtrl" layout-fill layout="column" class="inset">
32
<p>Toast can be dismissed with a swipe, a timer, or a button.</p>
4-
<div class="inset" layout="row" layout-sm="column" layout-align="center">
3+
4+
<div layout="row" layout-sm="column" layout-align="space-around">
5+
<div style="width:50px"></div>
56
<md-button ng-click="showCustomToast()">
67
Show Custom
78
</md-button>
8-
<div style="width:50px"></div>
99
<md-button ng-click="showSimpleToast()">
1010
Show Simple
1111
</md-button>
12-
<div style="width:50px"></div>
13-
<md-button class="md-raised"
14-
ng-click="showActionToast()">
12+
<md-button class="md-raised" ng-click="showActionToast()">
1513
Show With Action
1614
</md-button>
15+
<div style="width:50px"></div>
1716
</div>
1817

1918
<div>
2019
<br/>
2120
<b>Toast Position: "{{getToastPosition()}}"</b>
21+
<br/>
22+
<md-checkbox ng-repeat="(name, isSelected) in toastPosition"
23+
aria-label="{{name}}"
24+
ng-model="toastPosition[name]">
25+
{{name}}
26+
</md-checkbox>
27+
<md-button class="md-primary md-fab md-fab-bottom-right">
28+
FAB
29+
</md-button>
30+
<md-button class="md-primary md-fab md-fab-top-right" md-theme="green">
31+
FAB
32+
</md-button>
2233
</div>
23-
<md-checkbox ng-repeat="(name, isSelected) in toastPosition"
24-
aria-label="{{name}}"
25-
ng-model="toastPosition[name]">
26-
{{name}}
27-
</md-checkbox>
28-
<md-button class="md-primary md-fab md-fab-bottom-right">
29-
FAB
30-
</md-button>
31-
<md-button class="md-primary md-fab md-fab-top-right" md-theme="green">
32-
FAB
33-
</md-button>
34-
</div>
3534
</div>

0 commit comments

Comments
 (0)