summaryrefslogtreecommitdiff
path: root/devtools/client/storage/storage.xul
blob: fa006ac7cb04632062a3cdbe944741c6e35abe6e (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
<?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/. -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/content/shared/widgets/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/storage.css" type="text/css"?>

<!DOCTYPE window [
  <!ENTITY % storageDTD SYSTEM "chrome://devtools/locale/storage.dtd">
  %storageDTD;
]>

<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/javascript;version=1.8"
          src="chrome://devtools/content/shared/theme-switching.js"/>
  <script type="text/javascript" src="chrome://global/content/globalOverlay.js"/>

  <commandset id="editMenuCommands"/>

  <popupset id="storagePopupSet">
    <menupopup id="storage-tree-popup">
      <menuitem id="storage-tree-popup-delete-all"
                label="&storage.popupMenu.deleteAllLabel;"/>
      <menuitem id="storage-tree-popup-delete-all-session-cookies"
                label="&storage.popupMenu.deleteAllSessionCookiesLabel;"/>
      <menuitem id="storage-tree-popup-delete"/>
    </menupopup>
    <menupopup id="storage-table-popup">
      <menuitem id="storage-table-popup-add"/>
      <menuitem id="storage-table-popup-delete"/>
      <menuitem id="storage-table-popup-delete-all-from"/>
      <menuitem id="storage-table-popup-delete-all"
                label="&storage.popupMenu.deleteAllLabel;"/>
      <menuitem id="storage-table-popup-delete-all-session-cookies"
                label="&storage.popupMenu.deleteAllSessionCookiesLabel;"/>
    </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">
        <button id="add-button"
                class="devtools-button add-button"></button>
        <button id="refresh-button"
                class="devtools-button refresh-button"></button>
        <spacer flex="1"/>
        <textbox id="storage-searchbox"
                 class="devtools-filterinput"
                 type="search"
                 timeout="200"
                 placeholder="&searchBox.placeholder;"/>
      </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>