Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/ui/ehh-composer.xul

Issue 6525035187535872: issue #390 - Integrate parts of Element Hiding Helper functionality into Adblock Plus (Closed)
Patch Set: Created July 18, 2014, 12:54 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0"?>
2
3 <!-- This Source Code is subject to the terms of the Mozilla Public License
4 - version 2.0 (the "License"). You can obtain a copy of the License at
5 - http://mozilla.org/MPL/2.0/. -->
6
7 <!DOCTYPE overlay SYSTEM "chrome://adblockplus/locale/ehh-composer.dtd">
8
9 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
10 <?xml-stylesheet href="chrome://adblockplus/skin/ehh-composer.css" type="text/cs s"?>
11
12 <dialog id="ehh-composer"
13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
14 title="&dialog.title;"
15 onload="init()"
16 ondialogaccept="addExpression();"
17 ondialogdisclosure="setAdvancedMode(!advancedMode);"
18 onunload="togglePreview(false);"
19 buttons="accept,cancel,disclosure"
20 width="600px"
21 height="400px"
22 persist="screenX screenY width height sizemode advancedMode"
23 advancedMode="false"
24 buttonlabelaccept="&accept.label;"
25 buttonlabeldisclosure="&advanced.label;"
26 buttonlabeldisclosure_on="&advanced.label;"
27 buttonlabeldisclosure_off="&basic.label;"
28 windowtype="ehh:composer">
29 <script type="application/x-javascript;version=1.7" src="utils.js"/>
30 <script type="application/x-javascript;version=1.7" src="ehh-composer.js"/>
31
32 <description id="groupDisabledWarning" hidden="true">&groupDisabled.warning;</ description>
33
34 <vbox id="expressionBox">
35 <label control="expression" value="&expression.label;"/>
36 <hbox>
37 <textbox id="expression" flex="1" readonly="true"/>
38 <checkbox id="preview" label="&preview.label;" checked="true" oncommand="t ogglePreview(this.checked)" persist="checked"/>
39 </hbox>
40 </vbox>
41
42 <hbox id="basicAttributeTemplate" class="attribute basic" hidden="true">
43 <checkbox class="checkbox" oncommand="toggleAttr(this);"/>
44 </hbox>
45
46 <hbox id="advancedAttributeTemplate" class="attribute advanced" hidden="true">
47 <checkbox class="checkbox" oncommand="toggleAttr(this);"/>
48 <vbox flex="1">
49 <label class="label" onclick="this.parentNode.previousSibling.click();"/>
50 <textbox class="textbox" oninput="setSelectedAttrValue(this);"/>
51 </vbox>
52 </hbox>
53
54 <hbox id="choices" flex="1">
55 <groupbox id="domain" orient="vertical">
56 <caption label="&domain.label;"/>
57 <scrollbox flex="1" orient="vertical">
58 <radiogroup id="domainGroup" _labelnone="&domain.none.label;"/>
59 </scrollbox>
60 </groupbox>
61 <groupbox id="attributes" flex="2">
62 <caption label="&attributes.label;"/>
63 <hbox flex="1">
64 <tree id="nodes-tree" width="200" seltype="single" enableColumnDrag="tru e" onselect="updateNodeSelection()" persist="width">
65 <treecols>
66 <treecol id="nodes-tree-node" label="&nodes-tree.node.label;" primar y="true" width="200" persist="width ordinal hidden"/>
67 <splitter class="tree-splitter" resizeafter="grow"/>
68 <treecol id="nodes-tree-id" label="&nodes-tree.id.label;" width="80" persist="width ordinal hidden"/>
69 <splitter class="tree-splitter" resizeafter="grow"/>
70 <treecol id="nodes-tree-class" label="&nodes-tree.class.label;" widt h="80" persist="width ordinal hidden"/>
71 <splitter class="tree-splitter" resizeafter="grow"/>
72 </treecols>
73 <treechildren id="nodes-tree-children"/>
74 </tree>
75 <splitter id="nodes-tree-splitter"/>
76 <scrollbox id="attributes-list" orient="vertical" flex="1"
77 _labeltagname="&attributes.tagname.label;"
78 _labelfirstchild="&attributes.firstchild.label;"
79 _labellastchild="&attributes.lastchild.label;"
80 _labelcustom="&attributes.custom.label;"/>
81 </hbox>
82 </groupbox>
83 </hbox>
84 </dialog>
OLDNEW

Powered by Google App Engine
This is Rietveld