OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 | 2 |
3 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
7 <link rel="import" href="../route.html"> | 7 <link rel="import" href="../route.html"> |
8 <link rel="import" href="../settings_shared_css.html"> | 8 <link rel="import" href="../settings_shared_css.html"> |
9 <link rel="import" href="site_settings_prefs_browser_proxy.html"> | 9 <link rel="import" href="site_settings_prefs_browser_proxy.html"> |
10 | 10 |
11 <dom-module id="site-data-details-subpage"> | 11 <dom-module id="site-data-details-subpage"> |
12 <template> | 12 <template> |
13 <style include="settings-shared md-select"> | 13 <style include="settings-shared md-select"> |
14 [first] { | 14 [first] { |
15 border-top: none; | 15 border-top: none; |
16 } | 16 } |
17 | 17 |
18 .secondary, | 18 .secondary, |
19 .start { | 19 .start { |
20 -webkit-user-select: text; | 20 -webkit-user-select: text; |
21 max-width: 100%; | 21 max-width: 100%; |
22 word-wrap: break-word; | 22 word-wrap: break-word; |
23 } | 23 } |
24 </style> | 24 </style> |
25 <template is="dom-repeat" items="[[entries_]]"> | 25 <template is="dom-repeat" items="[[entries_]]"> |
26 <div class="settings-box" first$="[[!index]]"> | 26 <div class="settings-box" first$="[[!index]]"> |
27 <div class="start">[[getEntryDescription_(item)]]</div> | 27 <div class="start">[[getEntryDescription_(item)]]</div> |
28 <cr-expand-button expanded="{{item.expanded_}}"> | 28 <cr-expand-button expanded="{{item.expanded_}}"> |
29 </cr-expand-button> | 29 </cr-expand-button> |
30 <paper-icon-button data-id-path$="[[item.idPath]]" icon="cr:close" | 30 <button is="paper-icon-button-light" data-id-path$="[[item.idPath]]" |
31 on-tap="onRemove_"> | 31 class="icon-clear" on-tap="onRemove_"> |
32 </paper-icon-button> | 32 </button> |
33 </div> | 33 </div> |
34 <iron-collapse class="list-frame vertical-list" | 34 <iron-collapse class="list-frame vertical-list" |
35 opened="[[item.expanded_]]"> | 35 opened="[[item.expanded_]]"> |
36 <template is="dom-repeat" items="[[getCookieNodes_(item)]]"> | 36 <template is="dom-repeat" items="[[getCookieNodes_(item)]]"> |
37 <div class="list-item two-line"> | 37 <div class="list-item two-line"> |
38 <div class="start"> | 38 <div class="start"> |
39 [[item.label]] | 39 [[item.label]] |
40 <div class="secondary">[[item.content]]</div> | 40 <div class="secondary">[[item.content]]</div> |
41 </div> | 41 </div> |
42 </div> | 42 </div> |
43 </template> | 43 </template> |
44 </iron-collapse> | 44 </iron-collapse> |
45 </template> | 45 </template> |
46 </template> | 46 </template> |
47 <script src="cookie_info.js"></script> | 47 <script src="cookie_info.js"></script> |
48 <script src="cookie_tree_node.js"></script> | 48 <script src="cookie_tree_node.js"></script> |
49 <script src="site_data_details_subpage.js"></script> | 49 <script src="site_data_details_subpage.js"></script> |
50 </dom-module> | 50 </dom-module> |
OLD | NEW |