aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/redirectList.xul
blob: 975497b7a9d06209502a958048789e821d06156f (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" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://redirector/locale/redirectList.dtd">
<window title="&window.title;"
        orient="vertical"
        autostretch="always"
        onload="RedirectList.onLoad();"
        buttons="accept"
        width="600px;"
        height="400px;"
        xmlns:nc="http://home.netscape.com/NC-rdf#"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/x-javascript" src="redirlib.js"/>
  <script type="application/x-javascript" src="redirector.js"/>
  <script type="application/x-javascript" src="redirectList.js"/>

  <vbox>
  <listbox id="lstRedirects" style="margin-bottom:5px;" height="330px" ondblclick="RedirectList.editRedirect();" onselect="RedirectList.selectionChange();">

    <listhead>
      <listheader label="&colPattern.label;"/>
      <listheader label="&colExample.label;"/>
      <listheader label="&colRedirectTo.label;"/>
      <listheader label="&colOnlyIfLinkExits.label;"/>
      <listheader label="&colPatternType.label;"/>
    </listhead>

    <listcols>
      <listcol/>
      <listcol/>
      <listcol/>
      <listcol/>
      <listcol/>

    </listcols>

  </listbox>
  <hbox style="align:right;">
    <button id="btnAdd" onclick="RedirectList.addRedirect();" label="&btnAdd.label;" disabled="false" />
    <button id="btnEdit" onclick="RedirectList.editRedirect();" label="&btnEdit.label;" disabled="true" />
    <button id="btnDelete" onclick="RedirectList.deleteRedirect();" label="&btnDelete.label;" disabled="true" />
    <button id="btnClose" onclick="RedirectList.close();" label="&btnClose.label;"/>
  </hbox>
  </vbox>
</window>