File: RulePreview.xul

package info (click to toggle)
https-finder 087-2~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 484 kB
  • sloc: makefile: 7
file content (48 lines) | stat: -rw-r--r-- 2,315 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://httpsfinder/locale/Overlay.dtd">
<dialog
    title="&httpsfinder.title;"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    xmlns:html="http://www.w3.org/1999/xhtml"
    buttons="accept,cancel"
    onload="httpsfinder.RulePreview.httpsfinderLoadRulePreview(document)"
    ondialogaccept="return httpsfinder.RulePreview.httpsfinderOkRulePreview();">
    <script type="application/x-javascript" src="RulePreview.js"/>
    <grid>
        <columns>
            <column flex="4"/>
            <column flex="1"/>
            <column>
                <grid>
                    <rows>
                        <row>
                            <vbox>
                                <label control="rule" value="&httpsfinder.rulePreview.top;"/>
                                <textbox id="ruleBox" multiline="true" cols="80" rows="9"/>
                            </vbox>
                        </row>
                        <row>
                            <label value="&httpsfinder.rulePreview.tip1;" control="tip1"/>
                        </row>
                        <vbox>
                            <row>
                                <label value="&httpsfinder.rulePreview.learnmore;" control="more"/>
                                <label id="ruleslink"
                                         value="&httpsfinder.rulePreview.clickhere;"
                                         style="color: blue; text-decoration:underline;"
                                         onmouseover="event.target.style.cursor='pointer'"
                                         onmouseout="event.target.style.cursor='default'"
                                        onclick="window.open('&httpsfinder.rulePreview.link;')"/>
                            </row>
                        </vbox>
                        <row>
                            <label value="&httpsfinder.rulePreview.tip2;" control="tip2"/>
                        </row>
                        <separator class="thin"/>
                    </rows>
                </grid>
            </column>
        </columns>
    </grid>
</dialog>