| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 7 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
| 8 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 8 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 9 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> | 9 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> |
| 10 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 10 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 11 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> | 11 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> |
| 12 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_indicator.html"> | 12 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_indicator.html"> |
| 13 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 13 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 14 <link rel="import" href="network_apnlist.html"> | 14 <link rel="import" href="network_apnlist.html"> |
| 15 <link rel="import" href="network_ip_config.html"> | 15 <link rel="import" href="network_ip_config.html"> |
| 16 <link rel="import" href="network_nameservers.html"> | 16 <link rel="import" href="network_nameservers.html"> |
| 17 <link rel="import" href="network_property_list.html"> | 17 <link rel="import" href="network_property_list.html"> |
| 18 <link rel="import" href="network_proxy.html"> | 18 <link rel="import" href="network_proxy.html"> |
| 19 <link rel="import" href="network_siminfo.html"> | 19 <link rel="import" href="network_siminfo.html"> |
| 20 | 20 |
| 21 <dom-module id="settings-internet-detail-page"> | 21 <dom-module id="settings-internet-detail-page"> |
| 22 <link rel="import" type="css" href="internet_detail_page.css"> | |
| 23 <template> | 22 <template> |
| 24 <style include="settings-shared"></style> | 23 <style include="settings-shared"> |
| 24 .section { |
| 25 margin-bottom: 5px; |
| 26 } |
| 27 |
| 28 iron-collapse { |
| 29 margin: 10px; |
| 30 } |
| 31 |
| 32 cr-network-icon { |
| 33 height: 32px; |
| 34 width: 32px; |
| 35 } |
| 36 |
| 37 cr-policy-network-indicator { |
| 38 -webkit-margin-start: 10px; |
| 39 } |
| 40 |
| 41 #networkName, |
| 42 #networkState { |
| 43 -webkit-margin-start: 10px; |
| 44 font-size: 20px; |
| 45 } |
| 46 |
| 47 #networkName { |
| 48 font-weight: bold; |
| 49 } |
| 50 |
| 51 #networkState[connected] { |
| 52 color: green; |
| 53 } |
| 54 |
| 55 #outerDiv { |
| 56 margin: 10px 20px; |
| 57 } |
| 58 |
| 59 #ipAddressLabel { |
| 60 -webkit-margin-end: 10px; |
| 61 font-weight: bold; |
| 62 } |
| 63 |
| 64 #preferButton { |
| 65 -webkit-margin-end: 8px; |
| 66 -webkit-margin-start: -3px; |
| 67 padding: 0 |
| 68 } |
| 69 |
| 70 #proxyDiv { |
| 71 max-width: 500px; |
| 72 } |
| 73 </style> |
| 25 <div class="layout vertical"> | 74 <div class="layout vertical"> |
| 26 <!-- Title section: Icon + name + connection state. --> | 75 <!-- Title section: Icon + name + connection state. --> |
| 27 <div id="titleDiv" class="layout horizontal center"> | 76 <div id="titleDiv" class="layout horizontal center"> |
| 28 <cr-network-icon network-state="[[networkProperties]]"> | 77 <cr-network-icon network-state="[[networkProperties]]"> |
| 29 </cr-network-icon> | 78 </cr-network-icon> |
| 30 <span id="networkName">[[getStateName_(networkProperties)]]</span> | 79 <span id="networkName">[[getStateName_(networkProperties)]]</span> |
| 31 <span id="networkState" | 80 <span id="networkState" |
| 32 connected$="[[isConnectedState_(networkProperties)]]" | 81 connected$="[[isConnectedState_(networkProperties)]]" |
| 33 >[[getStateText_(networkProperties)]]</span> | 82 >[[getStateText_(networkProperties)]]</span> |
| 34 </div> | 83 </div> |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 </network-property-list> | 233 </network-property-list> |
| 185 </iron-collapse> | 234 </iron-collapse> |
| 186 </div> | 235 </div> |
| 187 </iron-collapse> | 236 </iron-collapse> |
| 188 </div> | 237 </div> |
| 189 </div> | 238 </div> |
| 190 </div> | 239 </div> |
| 191 </template> | 240 </template> |
| 192 <script src="internet_detail_page.js"></script> | 241 <script src="internet_detail_page.js"></script> |
| 193 </dom-module> | 242 </dom-module> |
| OLD | NEW |