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