| OLD | NEW |
| (Empty) |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | |
| 3 <link rel="import" href="/i18n_setup.html"> | |
| 4 <link rel="import" href="/md_select_css.html"> | |
| 5 <link rel="import" href="/settings_shared_css.html"> | |
| 6 | |
| 7 <dom-module id="site-data-details-dialog"> | |
| 8 <template> | |
| 9 <style include="settings-shared md-select"> | |
| 10 .picker-container { | |
| 11 flex: 1; | |
| 12 margin: auto; | |
| 13 } | |
| 14 | |
| 15 .remove-button { | |
| 16 margin: 0; | |
| 17 } | |
| 18 </style> | |
| 19 <dialog is="cr-dialog" id="dialog"> | |
| 20 <div class="title">[[title_]]</div> | |
| 21 <div class="body"> | |
| 22 <div class="layout horizontal" id="container"> | |
| 23 <div class="picker-container"> | |
| 24 <div class="md-select-wrapper"> | |
| 25 <select id="picker" class="md-select" on-change="onItemSelected_"> | |
| 26 <template is="dom-repeat" items="[[entries_]]"> | |
| 27 <option value$="[[item.id]]"> | |
| 28 [[getEntryDescription(item)]] | |
| 29 </option> | |
| 30 </template> | |
| 31 </select> | |
| 32 <span class="md-select-underline"></span> | |
| 33 </div> | |
| 34 </div> | |
| 35 <div class="button-container"> | |
| 36 <paper-button on-tap="onRemove_" | |
| 37 class="cancel-button remove-button"> | |
| 38 $i18n{siteSettingsCookieRemove} | |
| 39 </paper-button> | |
| 40 </div> | |
| 41 </div> | |
| 42 | |
| 43 <div class="vertical-list"> | |
| 44 <template is="dom-repeat" items="[[cookieNodes_]]"> | |
| 45 <div class="list-item single-column two-line"> | |
| 46 <div>[[item.label]]</div> | |
| 47 <div class="secondary">[[item.content]]</div> | |
| 48 </div> | |
| 49 </template> | |
| 50 </div> | |
| 51 | |
| 52 <div class="button-container"> | |
| 53 <paper-button class="cancel-button" on-tap="onCancelTap_"> | |
| 54 $i18n{cancel} | |
| 55 </paper-button> | |
| 56 <paper-button class="action-button" id="clear" on-tap="onRemoveAll_"> | |
| 57 $i18n{siteSettingsCookieRemoveAll} | |
| 58 </paper-button> | |
| 59 </div> | |
| 60 </div> | |
| 61 </dialog> | |
| 62 </template> | |
| 63 <script src="cookie_info.js"></script> | |
| 64 <script src="cookie_tree_node.js"></script> | |
| 65 <script src="site_data_details_dialog.js"></script> | |
| 66 </dom-module> | |
| OLD | NEW |