summaryrefslogtreecommitdiffstats
path: root/components/sync/quota.xul
blob: 99e6ed78b73c9e06d7d019cfba219cd8da4ebcdc (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
<?xml version="1.0"?>

<!-- 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://browser/skin/syncQuota.css"?>

<!DOCTYPE dialog [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
<!ENTITY % syncBrandDTD SYSTEM "chrome://browser/locale/syncBrand.dtd">
<!ENTITY % syncQuotaDTD SYSTEM "chrome://browser/locale/syncQuota.dtd">
%brandDTD;
%syncBrandDTD;
%syncQuotaDTD;
]>
<dialog id="quotaDialog"
        windowtype="Sync:ViewQuota"
        persist="screenX screenY width height"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        onload="gSyncQuota.init()"
        buttons="accept,cancel"
        title="&quota.dialogTitle.label;"
        ondialogcancel="return gSyncQuota.onCancel();"
        ondialogaccept="return gSyncQuota.onAccept();">

  <script type="application/javascript"
          src="chrome://browser/content/sync/quota.js"/>

  <stringbundleset id="stringbundleset">
    <stringbundle id="quotaStrings"
                  src="chrome://browser/locale/syncQuota.properties"/>
  </stringbundleset>

  <vbox flex="1">
    <label id="usageLabel"
           value="&quota.retrievingInfo.label;"/>
    <separator/>
    <tree id="usageTree"
          seltype="single"
          hidecolumnpicker="true"
          onclick="gUsageTreeView.onTreeClick(event);"
          flex="1">
      <treecols>
        <treecol id="enabled"
                 type="checkbox"
                 fixed="true"/>
        <splitter class="tree-splitter"/>
        <treecol id="collection"
                 label="&quota.typeColumn.label;"
                 flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="size"
                 label="&quota.sizeColumn.label;"
                 flex="1"/>
      </treecols>
      <treechildren flex="1"/>
    </tree>
    <separator/>
    <description id="treeCaption"> </description>
  </vbox>

</dialog>