File tree 5 files changed +42
-5
lines changed
5 files changed +42
-5
lines changed Original file line number Diff line number Diff line change 28
28
< div ng-include ="'views/sidenav.html' "> </ div >
29
29
< div layout ="column " layout-fill flex >
30
30
< div ng-include ="'views/toolbar.html' "> </ div >
31
- < md-content >
32
- < div layout-align ="center center " ng-view =""> </ div >
31
+ < md-content layout =" column " layout-fill flex >
32
+ < div layout-align ="center center " ng-view ="" layout-fill flex > </ div >
33
33
</ md-content >
34
34
</ div >
35
35
<!-- build:js(.) scripts/oldieshim.js -->
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ angular.module('yoAngularChromeApp')
23
23
. when ( '/dialog' , {
24
24
templateUrl : 'views/dialog.html'
25
25
} )
26
- . when ( '/subheader ' , {
27
- templateUrl : 'views/list .html'
26
+ . when ( '/tabs ' , {
27
+ templateUrl : 'views/tabs .html'
28
28
} )
29
29
. otherwise ( {
30
30
redirectTo : '/'
Original file line number Diff line number Diff line change 1
- < md-content class ="md-padding " flex >
1
+ < md-content class ="md-padding " flex layout =" column " layout-margin >
2
2
< h3 > Ways to display various messages to a user</ h3 >
3
3
4
4
< md-button class ="md-fab md-fab-bottom-right " aria-label ="Time ">
Original file line number Diff line number Diff line change @@ -98,6 +98,21 @@ <h3>List</h3>
98
98
</ a >
99
99
</ md-item-content >
100
100
</ md-item >
101
+ < md-item >
102
+ < md-item-content layout ="row ">
103
+ < a class ="menu-item menu-sub-item md-menu-item " ng-click ="go('/tabs'); " md-ink-ripple ="#bbb " layout ="row " layout-align ="start center ">
104
+ < div class ="md-tile-right " layout-align ="center center ">
105
+ < i class ="fa fa-fw fa-2x fa-tags "> </ i >
106
+ </ div >
107
+ < div class ="md-tile-content " layout-align ="start center ">
108
+ < h3 > Tabs</ h3 >
109
+ < p >
110
+ Demonstration of a pane with several tabs
111
+ </ p >
112
+ </ div >
113
+ </ a >
114
+ </ md-item-content >
115
+ </ md-item >
101
116
</ md-list >
102
117
</ section >
103
118
</ md-content >
Original file line number Diff line number Diff line change
1
+ < md-content class ="md-padding " flex layout ="column " layout-fill >
2
+ < h3 > Tabs</ h3 >
3
+ < p > Click the tab header change between tab contents</ p >
4
+
5
+ < md-tabs layout ="column " flex md-stretch-tabs ="always ">
6
+ < md-tab label ="1 ">
7
+ < div layout ="column " layout-fill layout-align ="space-around center ">
8
+ < h1 > A tab of content</ h1 >
9
+ </ div >
10
+ </ md-tab >
11
+ < md-tab label ="Disabled " class ="md-accent " disabled ="true ">
12
+ < div layout ="column " layout-fill layout-align ="space-around center ">
13
+ < h1 > A third tab of content</ h1 >
14
+ </ div >
15
+ </ md-tab >
16
+ < md-tab label ="2 " class ="md-hue1 ">
17
+ < div layout ="column " layout-fill flex layout-align ="space-around center " style ="background-color:#fff000 ">
18
+ < h1 > A second tab of content</ h1 >
19
+ </ div >
20
+ </ md-tab >
21
+ </ md-tabs >
22
+ </ md-content >
You can’t perform that action at this time.
0 commit comments