blob: c4529c642a5f97a22d5f56852445d98efebe24eb (
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
|
<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/cr_elements/cr_icon_button/cr_icon_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="../route.html">
<link rel="import" href="../settings_shared_css.html">
<link rel="import" href="cookie_info.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-break: break-word;
}
</style>
<template is="dom-repeat" items="[[entries_]]">
<div class="settings-box" first$="[[!index]]">
<cr-expand-button class="start" expanded="{{item.expanded_}}">
[[getEntryDescription_(item)]]
</cr-expand-button>
<div class="separator"></div>
<cr-icon-button class="icon-clear" data-id-path$="[[item.idPath]]"
on-click="onRemove_"></cr-icon-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="site_data_details_subpage.js"></script>
</dom-module>
|