summaryrefslogtreecommitdiffstats
path: root/devtools/client/storage/index.xhtml
blob: bad75aa15baa31b05a81a733dd6633a64ff4012c (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE window>

<window
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
>
  <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
  <html:link
    rel="stylesheet"
    href="chrome://devtools/content/shared/widgets/widgets.css"
  />
  <html:link rel="stylesheet" href="chrome://devtools/skin/widgets.css" />
  <html:link rel="stylesheet" href="chrome://devtools/skin/storage.css" />
  <html:link
    rel="stylesheet"
    href="chrome://devtools/content/shared/components/SidebarToggle.css"
  />

  <html:link rel="localization" href="devtools/client/storage.ftl" />

  <script src="chrome://devtools/content/shared/theme-switching.js" />
  <script src="chrome://global/content/globalOverlay.js" />

  <popupset id="storagePopupSet">
    <menupopup id="storage-tree-popup">
      <menuitem
        id="storage-tree-popup-delete-all"
        data-l10n-id="storage-context-menu-delete-all"
      />
      <menuitem
        id="storage-tree-popup-delete-all-session-cookies"
        data-l10n-id="storage-context-menu-delete-all-session-cookies"
      />
      <menuitem
        id="storage-tree-popup-delete"
        data-l10n-id="storage-context-menu-delete"
        data-l10n-args='{"itemName": ""}'
      />
    </menupopup>
    <menupopup id="variable-view-popup">
      <menuitem
        id="variable-view-popup-copy"
        data-l10n-id="storage-context-menu-copy"
      />
    </menupopup>
    <menupopup id="storage-table-popup">
      <menuitem
        id="storage-table-popup-add"
        data-l10n-id="storage-context-menu-add-item"
      />
      <menuitem
        id="storage-table-popup-delete"
        data-l10n-id="storage-context-menu-delete"
        data-l10n-args='{"itemName": ""}'
      />
      <menuitem
        id="storage-table-popup-delete-all-from"
        data-l10n-id="storage-context-menu-delete-all-from"
        data-l10n-args='{"host": ""}'
      />
      <menuitem
        id="storage-table-popup-delete-all"
        data-l10n-id="storage-context-menu-delete-all"
      />
      <menuitem
        id="storage-table-popup-delete-all-session-cookies"
        data-l10n-id="storage-context-menu-delete-all-session-cookies"
      />
    </menupopup>
  </popupset>

  <box flex="1" class="devtools-responsive-container theme-body">
    <vbox id="storage-tree" />
    <splitter class="devtools-side-splitter" />
    <vbox flex="1">
      <hbox
        id="storage-toolbar"
        class="devtools-toolbar devtools-input-toolbar"
      >
        <html:input
          id="storage-searchbox"
          class="devtools-filterinput"
          data-l10n-id="storage-search-box"
        />
        <hbox class="devtools-separator" />
        <html:button
          id="add-button"
          class="devtools-button add-button"
          data-l10n-id="storage-add-button"
        ></html:button>
        <html:button
          id="refresh-button"
          class="devtools-button refresh-button"
          data-l10n-id="storage-refresh-button"
        ></html:button>
        <html:button
          class="devtools-button sidebar-toggle"
          hidden=""
        ></html:button>
      </hbox>
      <vbox id="storage-table" class="theme-sidebar" flex="1" />
    </vbox>
    <splitter class="devtools-side-splitter" />
    <vbox id="storage-sidebar" class="devtools-sidebar-tabs" hidden="true">
      <vbox flex="1" />
    </vbox>
  </box>
</window>