| 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/network/cr_network_list.
html"> | 2 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list.
html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list_
item.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list_
item.html"> |
| 4 <link rel="import" href="chrome://resources/html/action_link.html"> | 4 <link rel="import" href="chrome://resources/html/action_link.html"> |
| 5 <link rel="import" href="chrome://resources/html/action_link_css.html"> | 5 <link rel="import" href="chrome://resources/html/action_link_css.html"> |
| 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 6 <link rel="import" href="chrome://resources/html/polymer.html"> | 7 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior
/iron-a11y-keys-behavior.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior
/iron-a11y-keys-behavior.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> | 12 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> |
| 12 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 13 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
| 13 <link rel="import" href="../settings_shared_css.html"> | 14 <link rel="import" href="../settings_shared_css.html"> |
| 14 <link rel="import" href="network_siminfo.html"> | 15 <link rel="import" href="network_siminfo.html"> |
| 15 | 16 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 50 |
| 50 #networkList { | 51 #networkList { |
| 51 margin: 5px 0 10px; | 52 margin: 5px 0 10px; |
| 52 max-height: 200px; | 53 max-height: 200px; |
| 53 min-height: 50px; | 54 min-height: 50px; |
| 54 } | 55 } |
| 55 </style> | 56 </style> |
| 56 <div class="settings-box two-line" actionable on-tap="onDetailsTap_"> | 57 <div class="settings-box two-line" actionable on-tap="onDetailsTap_"> |
| 57 <div id="details" | 58 <div id="details" |
| 58 no-flex$="[[showSimInfo_(deviceState)]]"> | 59 no-flex$="[[showSimInfo_(deviceState)]]"> |
| 59 <cr-network-list-item item="[[activeNetworkState]]" class="flex" | 60 <cr-network-list-item item="[[activeNetworkState]]" class="flex"> |
| 60 item-name="{{itemName}}"> | |
| 61 </cr-network-list-item> | 61 </cr-network-list-item> |
| 62 <paper-spinner active="[[scanningIsActive_(deviceState, expanded_)]]" | 62 <paper-spinner active="[[scanningIsActive_(deviceState, expanded_)]]" |
| 63 hidden$="[[!scanningIsVisible_(deviceState)]]"> | 63 hidden$="[[!scanningIsVisible_(deviceState)]]"> |
| 64 </paper-spinner> | 64 </paper-spinner> |
| 65 </div> | 65 </div> |
| 66 | 66 |
| 67 <template is="dom-if" if="[[showSimInfo_(deviceState)]]"> | 67 <template is="dom-if" if="[[showSimInfo_(deviceState)]]"> |
| 68 <network-siminfo editable class="flex" | 68 <network-siminfo editable class="flex" |
| 69 network-properties="[[getCellularState_(deviceState)]]" | 69 network-properties="[[getCellularState_(deviceState)]]" |
| 70 networking-private="[[networkingPrivate]]"> | 70 networking-private="[[networkingPrivate]]"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 83 [[activeNetworkState.name]]? --> | 83 [[activeNetworkState.name]]? --> |
| 84 <button class="subpage-arrow" is="paper-icon-button-light" | 84 <button class="subpage-arrow" is="paper-icon-button-light" |
| 85 on-tap="onShowDetailsTap_"> | 85 on-tap="onShowDetailsTap_"> |
| 86 </button> | 86 </button> |
| 87 </template> | 87 </template> |
| 88 </div> | 88 </div> |
| 89 | 89 |
| 90 <template is="dom-if" if="[[enableToggleIsVisible_(deviceState)]]"> | 90 <template is="dom-if" if="[[enableToggleIsVisible_(deviceState)]]"> |
| 91 <div class="secondary-action"> | 91 <div class="secondary-action"> |
| 92 <paper-toggle-button id="deviceEnabledButton" | 92 <paper-toggle-button id="deviceEnabledButton" |
| 93 aria-label$="[[itemName]]" | 93 aria-label$="[[getToggleA11yString_(deviceState)]]" |
| 94 checked="[[deviceIsEnabled_(deviceState)]]" | 94 checked="[[deviceIsEnabled_(deviceState)]]" |
| 95 enabled="[[enableToggleIsEnabled_(deviceState)]]" | 95 enabled="[[enableToggleIsEnabled_(deviceState)]]" |
| 96 on-tap="onDeviceEnabledTap_"> | 96 on-tap="onDeviceEnabledTap_"> |
| 97 </paper-toggle-button> | 97 </paper-toggle-button> |
| 98 </div> | 98 </div> |
| 99 </template> | 99 </template> |
| 100 | 100 |
| 101 </div> | 101 </div> |
| 102 <template is="dom-if" | 102 <template is="dom-if" |
| 103 if="[[networksDomIfIsTrue_(expanded_, wasExpanded_)]]"> | 103 if="[[networksDomIfIsTrue_(expanded_, wasExpanded_)]]"> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 115 $i18n{knownNetworksButton} | 115 $i18n{knownNetworksButton} |
| 116 </a> | 116 </a> |
| 117 </div> | 117 </div> |
| 118 </template> | 118 </template> |
| 119 </div> | 119 </div> |
| 120 </iron-collapse> | 120 </iron-collapse> |
| 121 </template> | 121 </template> |
| 122 </template> | 122 </template> |
| 123 <script src="network_summary_item.js"></script> | 123 <script src="network_summary_item.js"></script> |
| 124 </dom-module> | 124 </dom-module> |
| OLD | NEW |