Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared _menu.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared _menu.html"> |
| 2 <link rel="import" href="chrome://resources/html/action_link.html"> | 2 <link rel="import" href="chrome://resources/html/action_link.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
| 5 <link rel="import" href="/passwords_and_forms_page/address_edit_dialog.html"> | 5 <link rel="import" href="/passwords_and_forms_page/address_edit_dialog.html"> |
| 6 <link rel="import" href="/passwords_and_forms_page/credit_card_edit_dialog.html" > | 6 <link rel="import" href="/passwords_and_forms_page/credit_card_edit_dialog.html" > |
| 7 <link rel="import" href="/passwords_and_forms_page/passwords_shared_css.html"> | 7 <link rel="import" href="/passwords_and_forms_page/passwords_shared_css.html"> |
| 8 <link rel="import" href="/settings_shared_css.html"> | 8 <link rel="import" href="/settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-autofill-section"> | 10 <dom-module id="settings-autofill-section"> |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 32 | 32 |
| 33 .expiration-date { | 33 .expiration-date { |
| 34 flex: 1; | 34 flex: 1; |
| 35 } | 35 } |
| 36 | 36 |
| 37 .payments-label { | 37 .payments-label { |
| 38 -webkit-margin-start: 16px; | 38 -webkit-margin-start: 16px; |
| 39 color: var(--paper-grey-600); | 39 color: var(--paper-grey-600); |
| 40 } | 40 } |
| 41 </style> | 41 </style> |
| 42 <div class="heading">$i18n{addresses}</div> | 42 <h2>$i18n{addresses}</h2> |
| 43 <div class="item-list"> | 43 <div class="item-list"> |
| 44 <div id="addressList" class="vertical-list list-section"> | 44 <div id="addressList" class="vertical-list list-section"> |
| 45 <template is="dom-repeat" items="[[addresses]]"> | 45 <template is="dom-repeat" items="[[addresses]]"> |
| 46 <div class="list-item two-line"> | 46 <div class="list-item two-line"> |
| 47 <div class="start"> | 47 <div class="start"> |
| 48 <span id="addressSummary">[[address_(item)]]</span> | 48 <span id="addressSummary">[[address_(item)]]</span> |
| 49 <span class="payments-label" hidden$="[[item.metadata.isLocal]]"> | 49 <span class="payments-label" hidden$="[[item.metadata.isLocal]]"> |
| 50 $i18n{googlePayments} | 50 $i18n{googlePayments} |
| 51 </span> | 51 </span> |
| 52 </div> | 52 </div> |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 65 <button id="menuEditAddress" class="list-item menu-item" | 65 <button id="menuEditAddress" class="list-item menu-item" |
| 66 on-tap="onMenuEditAddressTap_">$i18n{editAddress}</button> | 66 on-tap="onMenuEditAddressTap_">$i18n{editAddress}</button> |
| 67 <button id="menuRemoveAddress" class="list-item menu-item" | 67 <button id="menuRemoveAddress" class="list-item menu-item" |
| 68 on-tap="onMenuRemoveAddressTap_">$i18n{removeAddress}</button> | 68 on-tap="onMenuRemoveAddressTap_">$i18n{removeAddress}</button> |
| 69 </cr-shared-menu> | 69 </cr-shared-menu> |
| 70 <template is="dom-if" if="[[activeAddress]]" restamp> | 70 <template is="dom-if" if="[[activeAddress]]" restamp> |
| 71 <settings-address-edit-dialog address="[[activeAddress]]" | 71 <settings-address-edit-dialog address="[[activeAddress]]" |
| 72 on-close="unstampAddressEditDialog_"> | 72 on-close="unstampAddressEditDialog_"> |
| 73 </settings-address-edit-dialog> | 73 </settings-address-edit-dialog> |
| 74 </template> | 74 </template> |
| 75 <div class="heading">$i18n{creditCards}</div> | 75 <h2>$i18n{creditCards}</h2> |
|
hcarmona
2016/08/24 23:41:21
Looks like this add some extra space between the l
dschuyler
2016/08/25 02:00:53
I was separating the CLs. I have more changes to g
| |
| 76 <div class="item-list"> | 76 <div class="item-list"> |
| 77 <div class="list-item column-header"> | 77 <div class="list-item column-header"> |
| 78 <div class="type-column">$i18n{creditCardType}</div> | 78 <div class="type-column">$i18n{creditCardType}</div> |
| 79 <div class="expiration-column">$i18n{creditCardExpiration}</div> | 79 <div class="expiration-column">$i18n{creditCardExpiration}</div> |
| 80 </div> | 80 </div> |
| 81 <div id="creditCardList" | 81 <div id="creditCardList" |
| 82 class="vertical-list list-section list-with-header"> | 82 class="vertical-list list-section list-with-header"> |
| 83 <template is="dom-repeat" items="[[creditCards]]"> | 83 <template is="dom-repeat" items="[[creditCards]]"> |
| 84 <div class="list-item two-line"> | 84 <div class="list-item two-line"> |
| 85 <div class="type-column"> | 85 <div class="type-column"> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 on-tap="onMenuClearCreditCardTap_">$i18n{clearCreditCard}</button> | 119 on-tap="onMenuClearCreditCardTap_">$i18n{clearCreditCard}</button> |
| 120 </cr-shared-menu> | 120 </cr-shared-menu> |
| 121 <template is="dom-if" if="[[activeCreditCard]]" restamp> | 121 <template is="dom-if" if="[[activeCreditCard]]" restamp> |
| 122 <settings-credit-card-edit-dialog credit-card="[[activeCreditCard]]" | 122 <settings-credit-card-edit-dialog credit-card="[[activeCreditCard]]" |
| 123 on-close="unstampCreditCardEditDialog_"> | 123 on-close="unstampCreditCardEditDialog_"> |
| 124 </settings-credit-card-edit-dialog> | 124 </settings-credit-card-edit-dialog> |
| 125 </template> | 125 </template> |
| 126 </template> | 126 </template> |
| 127 <script src="/passwords_and_forms_page/autofill_section.js"></script> | 127 <script src="/passwords_and_forms_page/autofill_section.js"></script> |
| 128 </dom-module> | 128 </dom-module> |
| OLD | NEW |