|
10 | 10 | <header>
|
11 | 11 | <md-toolbar scroll-shrink>
|
12 | 12 | <div class="md-toolbar-tools">
|
| 13 | + <md-button ng-click="toggleMenu()">Menu</md-button> |
13 | 14 | <h3>
|
14 | 15 | <span>Angular Material Inbox</span>
|
15 | 16 | </h3>
|
16 | 17 | </div>
|
17 | 18 | </md-toolbar>
|
18 | 19 | </header>
|
19 | 20 | <div layout="vertical" flex>
|
| 21 | + <md-sidenav class="md-sidenav-left" component-id="left"> |
| 22 | + <md-toolbar class="md-theme-indigo"> |
| 23 | + <h1 class="md-toolbar-tools">Sidenav Left</h1> |
| 24 | + </md-toolbar> |
| 25 | + <md-content flex> |
| 26 | + <p>Stuff</p> |
| 27 | + </md-content> |
| 28 | + </md-sidenav> |
20 | 29 | <md-content layout="horizontal" layout-align="center">
|
21 | 30 | <md-list id="content">
|
22 | 31 | <div ng-repeat="chunk in ::chunks">
|
@@ -54,7 +63,7 @@ <h2>Some Post</h2>
|
54 | 63 | </md-content>
|
55 | 64 | </div>
|
56 | 65 |
|
57 |
| -<div layout="vertical" layout-align="space-between" style="height: 260px; position: fixed; right: 40px; bottom: 90px;" ng-if="showAddButtons" ng-animate="{enter: 'animate-enter', leave: 'animate-leave'}"> |
| 66 | +<div id="fab-popup" layout="vertical" layout-align="space-between" ng-if="showAddButtons" ng-animate="{enter: 'animate-enter', leave: 'animate-leave'}"> |
58 | 67 | <md-button class="md-fab md-raised" ng-click="openDialog($event);" aria-label="New document">
|
59 | 68 | <md-icon icon="bower_components/material-design-icons/content/svg/production/ic_add_24px.svg" style="width: 24px; height: 24px;"></md-icon>
|
60 | 69 | <md-tooltip>
|
@@ -84,18 +93,6 @@ <h2>Some Post</h2>
|
84 | 93 | <md-button id="mainFab" class="md-fab md-raised" ng-click="showAddButtons = !showAddButtons;" aria-label="New document">
|
85 | 94 | <md-icon icon="bower_components/material-design-icons/content/svg/production/ic_add_24px.svg" style="width: 24px; height: 24px;"></md-icon>
|
86 | 95 | </md-button>
|
87 |
| -<!--<md-bottom-sheet class="md-list md-has-header">--> |
88 |
| - <!--<md-subheader>Comment Actions</md-subheader>--> |
89 |
| - <!--<md-list>--> |
90 |
| - <!--<md-item ng-repeat="item in items" ng-click="showGridBottomSheet($event)">--> |
91 |
| - <!--<md-button>--> |
92 |
| - <!--<!– Using custom inline icon until md-icon is ready. DONT USE ME! –>--> |
93 |
| - <!--<md-inline-list-icon icon="{{item.icon}}"></md-inline-list-icon>--> |
94 |
| - <!--<span class="md-inline-list-icon-label">{{ item.name }}</span>--> |
95 |
| - <!--</md-button>--> |
96 |
| - <!--</md-item>--> |
97 |
| - <!--</md-list>--> |
98 |
| -<!--</md-bottom-sheet>--> |
99 | 96 |
|
100 | 97 | <script src="/bower_components/angular/angular.js"></script>
|
101 | 98 | <script src="/bower_components/angular-aria/angular-aria.js"></script>
|
|
0 commit comments