Chromium Code Reviews| 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"> | |
| 5 <!-- "action_link_css.html" replaces "action_link.css" for MD pages. --> | |
|
Dan Beam
2017/01/25 23:47:47
don't repeat this everywhere, just put it in the t
| |
| 6 <link rel="import" href="chrome://resources/html/action_link_css.html"> | |
| 4 <link rel="import" href="chrome://resources/html/polymer.html"> | 7 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 5 <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"> |
| 6 <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"> |
| 7 <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"> |
| 8 <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"> |
| 9 <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"> |
| 10 <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"> |
| 11 <link rel="import" href="/settings_shared_css.html"> | 14 <link rel="import" href="/settings_shared_css.html"> |
| 12 <link rel="import" href="network_siminfo.html"> | 15 <link rel="import" href="network_siminfo.html"> |
| 13 | 16 |
| 14 <dom-module name="network-summary-item"> | 17 <dom-module name="network-summary-item"> |
| 15 <template> | 18 <template> |
| 16 <style include="settings-shared"> | 19 <style include="settings-shared action-link"> |
| 17 paper-spinner { | 20 paper-spinner { |
| 18 @apply(--cr-icon-height-width); | 21 @apply(--cr-icon-height-width); |
| 19 margin: 0 var(--settings-box-row-padding); | 22 margin: 0 var(--settings-box-row-padding); |
| 20 } | 23 } |
| 21 | 24 |
| 22 network-siminfo { | 25 network-siminfo { |
| 23 padding: 0 var(--settings-box-row-padding); | 26 padding: 0 var(--settings-box-row-padding); |
| 24 } | 27 } |
| 25 | 28 |
| 26 .button-row { | |
| 27 align-items: center; | |
| 28 display: flex; | |
| 29 min-height: var(--settings-row-min-height); | |
| 30 } | |
| 31 | |
| 32 .padded { | 29 .padded { |
| 33 @apply(--settings-list-frame-padding); | 30 @apply(--settings-list-frame-padding); |
| 34 } | 31 } |
| 35 | 32 |
| 36 #buttons { | 33 #buttons { |
| 37 align-items: center; | 34 align-items: center; |
| 38 } | 35 } |
| 39 | 36 |
| 40 #details { | 37 #details { |
| 41 align-items: center; | 38 align-items: center; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 <template is="dom-if" | 99 <template is="dom-if" |
| 103 if="[[networksDomIfIsTrue_(expanded_, wasExpanded_)]]"> | 100 if="[[networksDomIfIsTrue_(expanded_, wasExpanded_)]]"> |
| 104 <iron-collapse | 101 <iron-collapse |
| 105 opened="[[networksIronCollapseIsOpened_(expanded_, wasExpanded_)]]"> | 102 opened="[[networksIronCollapseIsOpened_(expanded_, wasExpanded_)]]"> |
| 106 <div class="layout vertical padded"> | 103 <div class="layout vertical padded"> |
| 107 <cr-network-list id="networkList" networks="[[networkStateList]]" | 104 <cr-network-list id="networkList" networks="[[networkStateList]]" |
| 108 show-buttons> | 105 show-buttons> |
| 109 </cr-network-list> | 106 </cr-network-list> |
| 110 <template is="dom-if" | 107 <template is="dom-if" |
| 111 if="[[knownNetworksIsVisible_(activeNetworkState)]]"> | 108 if="[[knownNetworksIsVisible_(activeNetworkState)]]"> |
| 112 <div class="button-row" actionable on-tap="onKnownNetworksTap_"> | 109 <div class="list-item"> |
| 113 <a is="action-link">$i18n{knownNetworksButton}</a> | 110 <a is="action-link" class="list-button" |
| 111 on-tap="onKnownNetworksTap_"> | |
| 112 $i18n{knownNetworksButton} | |
| 113 </a> | |
| 114 </div> | 114 </div> |
| 115 </template> | 115 </template> |
| 116 </div> | 116 </div> |
| 117 </iron-collapse> | 117 </iron-collapse> |
| 118 </template> | 118 </template> |
| 119 </template> | 119 </template> |
| 120 <script src="network_summary_item.js"></script> | 120 <script src="network_summary_item.js"></script> |
| 121 </dom-module> | 121 </dom-module> |
| OLD | NEW |