OLD | NEW |
---|---|
(Empty) | |
1 <link href="chrome://resources/polymer/polymer/polymer.html" rel="import"> | |
2 <link href="chrome://resources/polymer/paper-tabs/paper-tabs.html" rel="import"> | |
3 <link href="chrome://resources/polymer/paper-shadow/paper-shadow.html" rel="impo rt"> | |
4 <link href="chrome://resources/polymer/core-animated-pages/core-animated-pages.h tml" rel="import"> | |
Ilya Sherman
2015/04/28 02:40:12
nit: Please alphabetize this list, if possible.
Tim Song
2015/04/28 19:41:32
Done.
| |
5 <link rel="import" href="local-state.html"> | |
6 <link rel="import" href="device-list.html"> | |
7 | |
8 <polymer-element name="content-panel" layout vertical> | |
9 <template> | |
10 <style> | |
11 :host { | |
12 background-color: #ececec; | |
13 } | |
14 | |
15 paper-tabs { | |
16 background-color: #03A9F4; | |
Ilya Sherman
2015/04/28 02:40:12
nit: Please lowercase.
michaelpg
2015/04/28 04:00:49
another nit: use rgb()
Tim Song
2015/04/28 19:41:32
Done.
Tim Song
2015/04/28 19:41:33
Done.
| |
17 color: #ffffff; | |
18 box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
michaelpg
2015/04/28 04:00:48
nit: alphabetize
Tim Song
2015/04/28 19:41:32
Done.
| |
19 font-size: 14px; | |
20 font-weight: 500; | |
21 width: 100%; | |
22 } | |
23 | |
24 local-state, | |
25 device-list{ | |
michaelpg
2015/04/28 04:00:48
space before {
Tim Song
2015/04/28 19:41:32
Done.
| |
26 width: 80%; | |
27 } | |
28 </style> | |
29 | |
30 <paper-tabs id='tabs' selected='{{selected}}'> | |
michaelpg
2015/04/28 04:00:49
use double quotes in HTML
Tim Song
2015/04/28 19:41:32
Done.
| |
31 <paper-tab>LOCAL STATE</paper-tab> | |
32 <paper-tab>ELIGIBLE PHONES</paper-tab> | |
33 <paper-tab>REACHABLE PHONES</paper-tab> | |
34 </paper-tabs> | |
35 | |
36 <core-animated-pages selected='{{selected}}' transitions='cross-fade' flex> | |
37 <section layout vertical center> | |
38 <local-state id='local-state' flex self-center cross-fade> | |
39 </local-state> | |
40 </section> | |
41 | |
42 <section layout vertical center> | |
43 <device-list | |
44 label='Eligible Phones' devices={{eligibleDevices}} cross-fade> | |
michaelpg
2015/04/28 04:00:49
use double quotes around attribute values
Tim Song
2015/04/28 19:41:32
Done.
| |
45 </device-list> | |
46 <device-list | |
47 label='Ineligible Phones' devices={{ineligibleDevices}} cross-fade> | |
48 </device-list> | |
49 </section> | |
50 | |
51 <section layout vertical center> | |
52 <device-list | |
53 label='Reachable Phones' devices={{onlineDevices}} cross-fade> | |
54 </device-list> | |
55 </section> | |
56 </core-animated-pages> | |
57 </template> | |
58 <script src="content-panel.js"></script> | |
59 </polymer-element> | |
OLD | NEW |