| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> | 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 4 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicat
or.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicat
or.html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_indicator.html"> | 7 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_indicator.html"> |
| 8 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 8 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 9 <link rel="import" href="chrome://resources/html/polymer.html"> | 9 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 | 54 |
| 55 .settings-box.stretch { | 55 .settings-box.stretch { |
| 56 align-items: stretch; | 56 align-items: stretch; |
| 57 } | 57 } |
| 58 | 58 |
| 59 .settings-box:first-of-type { | 59 .settings-box:first-of-type { |
| 60 border-top: none; | 60 border-top: none; |
| 61 } | 61 } |
| 62 | 62 |
| 63 #networkState { | |
| 64 font-size: 107.69%; /* 14px / 13px */ | |
| 65 font-weight: 500; | |
| 66 } | |
| 67 | |
| 68 #networkState[connected] { | 63 #networkState[connected] { |
| 69 color: var(--google-green-500); | 64 color: var(--google-green-500); |
| 70 } | 65 } |
| 71 </style> | 66 </style> |
| 72 <!-- Title section: Icon + name + connection state. --> | 67 <!-- Title section: Icon + name + connection state. --> |
| 73 <div class="settings-box first"> | 68 <div class="settings-box first"> |
| 74 <div class="start layout horizontal center"> | 69 <div class="start layout horizontal center"> |
| 75 <cr-network-icon network-state="[[networkProperties]]"> | 70 <cr-network-icon network-state="[[networkProperties]]"> |
| 76 </cr-network-icon> | 71 </cr-network-icon> |
| 77 <div id="networkState" | 72 <div id="networkState" class="title" |
| 78 connected$="[[isConnectedState_(networkProperties)]]"> | 73 connected$="[[isConnectedState_(networkProperties)]]"> |
| 79 [[getStateText_(networkProperties)]] | 74 [[getStateText_(networkProperties)]] |
| 80 </div> | 75 </div> |
| 81 <template is="dom-if" | 76 <template is="dom-if" |
| 82 if="[[isPolicySource(networkProperties.Source))]]"> | 77 if="[[isPolicySource(networkProperties.Source))]]"> |
| 83 <cr-policy-indicator | 78 <cr-policy-indicator |
| 84 indicator-type="[[getIndicatorTypeForSource( | 79 indicator-type="[[getIndicatorTypeForSource( |
| 85 networkProperties.Source)]]"> | 80 networkProperties.Source)]]"> |
| 86 </cr-policy-indicator> | 81 </cr-policy-indicator> |
| 87 </template> | 82 </template> |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 </template> | 288 </template> |
| 294 | 289 |
| 295 <tether-connection-dialog id="tetherDialog" | 290 <tether-connection-dialog id="tetherDialog" |
| 296 network-properties="[[networkProperties]]" | 291 network-properties="[[networkProperties]]" |
| 297 on-tether-connect="onTetherConnect_" | 292 on-tether-connect="onTetherConnect_" |
| 298 on-close="onTetherDialogClose_"> | 293 on-close="onTetherDialogClose_"> |
| 299 </tether-connection-dialog> | 294 </tether-connection-dialog> |
| 300 </template> | 295 </template> |
| 301 <script src="internet_detail_page.js"></script> | 296 <script src="internet_detail_page.js"></script> |
| 302 </dom-module> | 297 </dom-module> |
| OLD | NEW |