summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/content/blocklist.xul
blob: 240d9e4e1efca42078bb0fc9536693f9e59481e9 (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
<?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/"?>
<?xml-stylesheet href="chrome://mozapps/skin/extensions/blocklist.css"?>
<?xml-stylesheet href="chrome://mozapps/content/extensions/blocklist.css"?>

<!DOCTYPE dialog [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/blocklist.dtd">
%extensionsDTD;
]>

<dialog windowtype="Addons:Blocklist" title="&blocklist.title;" align="stretch"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="init();" ondialogaccept="return finish(true)"
                         ondialogcancel="return finish(false)"
        buttons="accept,cancel" style="&blocklist.style;"
        buttonlabelaccept="&blocklist.accept.label;"
        buttonaccesskeyaccept="&blocklist.accept.accesskey;">

  <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  <script type="application/javascript" src="chrome://mozapps/content/extensions/blocklist.js"/>

  <hbox align="stretch" flex="1">
    <vbox pack="start">
      <image class="error-icon"/>
    </vbox>
    <vbox flex="1">
      <label>&blocklist.summary;</label>
      <separator class="thin"/>
      <richlistbox id="addonList" flex="1"/>
      <separator class="thin"/>
      <description id="bothMessage" hidden="true" class="bold">&blocklist.softandhard;</description>
      <description id="hardBlockMessage" hidden="true" class="bold">&blocklist.hardblocked;</description>
      <description id="softBlockMessage" hidden="true" class="bold">&blocklist.softblocked;</description>
      <hbox pack="start">
        <label id="moreInfo" class="text-link" value="&blocklist.moreinfo;"/>
      </hbox>
    </vbox>
  </hbox>
</dialog>