summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/preferences/containersPane.inc
blob: 956eb971a2af4e6947315c777a440bef021db6e7 (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
# 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/.

<!-- Containers panel -->

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

<preferences id="containerPreferences" hidden="true" data-category="paneContainer">
  <!-- Containers -->
  <preference id="privacy.userContext.enabled"
              name="privacy.userContext.enabled"
              type="bool"/>

</preferences>

<hbox hidden="true"
      class="container-header-links"
      data-category="paneContainers">
  <label class="text-link" id="backContainersLink" value="&backLink.label;" />
</hbox>

<hbox id="header-containers"
      class="header"
      hidden="true"
      data-category="paneContainers">
  <label class="header-name" flex="1">&paneContainers.title;</label>
  <button class="help-button"
          aria-label="&helpButton.label;"/>
</hbox>

<!-- Containers -->
<groupbox id="browserContainersGroup" data-category="paneContainers" hidden="true">
  <vbox id="browserContainersbox">

    <richlistbox id="containersView" orient="vertical" persist="lastSelectedType"
                 flex="1">
      <listheader equalsize="always">
          <treecol id="typeColumn" value="type"
                   persist="sortDirection"
                   flex="1" sortDirection="ascending"/>
          <treecol id="actionColumn" value="action"
                   persist="sortDirection"
                   flex="1"/>
      </listheader>
    </richlistbox>
  </vbox>
  <vbox>
    <hbox flex="1">
      <button onclick="gContainersPane.onAddButtonClick();" accesskey="&addButton.accesskey;" label="&addButton.label;"/>
    </hbox>
  </vbox>
</groupbox>