OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/core-animated-pages/core-ani
mated-pages.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/paper-tabs/paper-tabs.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/paper-shadow/paper-shadow.ht
ml"> |
| 4 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
| 5 <link rel="import" href="device-list.html"> |
| 6 <link rel="import" href="local-state.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: rgb(3, 169, 244); |
| 17 box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); |
| 18 color: #ffffff; |
| 19 font-size: 14px; |
| 20 font-weight: 500; |
| 21 width: 100%; |
| 22 } |
| 23 |
| 24 local-state, |
| 25 device-list { |
| 26 width: 80%; |
| 27 } |
| 28 </style> |
| 29 |
| 30 <paper-tabs id="tabs" selected="{{selected_}}"> |
| 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> |
| 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 |