1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
---|
3 | <!DOCTYPE overlay SYSTEM "chrome://markingcollection/locale/markingcollection.dtd"> |
---|
4 | <overlay |
---|
5 | id="propertyOverlay" |
---|
6 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
---|
7 | xmlns:html="http://www.w3.org/1999/xhtml"> |
---|
8 | <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" /> |
---|
9 | <script type="application/x-javascript" src="chrome://global/content/nsJSSupportsUtils.js"/> |
---|
10 | <script type="application/x-javascript" src="chrome://global/content/nsJSComponentManager.js"/> |
---|
11 | <script type="application/x-javascript" src="chrome://markingcollection/content/treeproperty.js"/> |
---|
12 | <script type="application/x-javascript"> |
---|
13 | <![CDATA[ |
---|
14 | function _propertyOverlayInit(){ |
---|
15 | mcPropertyView.init(); |
---|
16 | } |
---|
17 | function _propertyOverlayDone(){ |
---|
18 | mcPropertyView.done(); |
---|
19 | } |
---|
20 | window.addEventListener("load", _propertyOverlayInit, false); |
---|
21 | window.addEventListener("unload", _propertyOverlayDone, false); |
---|
22 | ]]> |
---|
23 | </script> |
---|
24 | <splitter id="mcPropertyViewSplitter" class="chromeclass-extrachrome" hidden="true" /> |
---|
25 | <vbox id="mcPropertyViewVBox" hidden="true" persist="height" style="height:300px;" flex="1"> |
---|
26 | <toolbox class="plain"> |
---|
27 | <toolbar id="MarkingCollectionListHeader" class="plain"> |
---|
28 | <label id="MarkingCollectionListLabel" value="&markingcollection.property;" flex="1" crop="end" /> |
---|
29 | <spacer flex="1" /> |
---|
30 | <toolbarbutton class="tabs-closebutton" oncommand="mcPropertyView.onClick(event);" /> |
---|
31 | </toolbar> |
---|
32 | </toolbox> |
---|
33 | <vbox style="overflow:auto;" flex="1"> |
---|
34 | <vbox style="background:white;"> |
---|
35 | <groupbox > |
---|
36 | <caption label="&markingcollection.prop.title;" style="background:white;" /> |
---|
37 | <textbox |
---|
38 | id="mcPropTitleTextbox" |
---|
39 | multiline="true" |
---|
40 | rows="2" |
---|
41 | readonly="true" |
---|
42 | oninput="mcPropertyView.updateTitle(this.value);" |
---|
43 | onfocus="this.select();" |
---|
44 | onchange="mcPropertyView.update(event,this);"/> |
---|
45 | </groupbox> |
---|
46 | </vbox> |
---|
47 | <vbox style="background:white;"> |
---|
48 | <groupbox > |
---|
49 | <caption label="&markingcollection.prop.note;" style="background:white;" /> |
---|
50 | <textbox |
---|
51 | id="mcPropNoteTextbox" |
---|
52 | multiline="true" |
---|
53 | rows="2" |
---|
54 | readonly="true" |
---|
55 | oninput="mcPropertyView.updateNote(this.value);" |
---|
56 | onfocus="this.select();" |
---|
57 | onchange="mcPropertyView.update(event,this);"/> |
---|
58 | </groupbox> |
---|
59 | </vbox> |
---|
60 | <vbox id="mcPropertyExtendedMessageVBox" style="background:white;" hidden="true"> |
---|
61 | <groupbox id="mcPropertyExtendedMessageGBox"> |
---|
62 | <caption label="&markingcollection.prop.extended_message;" style="background:white;" /> |
---|
63 | <grid> |
---|
64 | <columns> |
---|
65 | <column /> |
---|
66 | <column /> |
---|
67 | </columns> |
---|
68 | <rows> |
---|
69 | <row align="center"> |
---|
70 | <hbox flex="1" pack="end"> |
---|
71 | <label value="Logical Page:" /> |
---|
72 | </hbox> |
---|
73 | <textbox id="mcPropExtendedMessageLogicalPageTextbox" size="1" onfocus="this.select();" onblur="mcPropertyView.update(event,this);"/> |
---|
74 | </row> |
---|
75 | <row align="center"> |
---|
76 | <hbox flex="1" pack="end"> |
---|
77 | <label value="Physical Page:" /> |
---|
78 | </hbox> |
---|
79 | <textbox id="mcPropExtendedMessagePhysicalPageTextbox" size="1" onfocus="this.select();" onblur="mcPropertyView.update(event,this);"/> |
---|
80 | </row> |
---|
81 | </rows> |
---|
82 | </grid> |
---|
83 | </groupbox> |
---|
84 | </vbox> |
---|
85 | <vbox id="mcPropertyExtendedMessageMedlineVBox" style="background:white;" hidden="true"> |
---|
86 | <groupbox id="mcPropertyExtendedMessageMedlineGBox"> |
---|
87 | <caption label="PubMed Central" style="background:white;" align="center" flex="1"> |
---|
88 | <label value="PubMed Central"/> |
---|
89 | <hbox align="center" pack="end" flex="1"> |
---|
90 | <label value="PMCID:" hidden="false"/> |
---|
91 | <textbox |
---|
92 | id="mcPropertyExtendedMessageMedlinePMCIDTextbox" |
---|
93 | size="1" |
---|
94 | flex="1" |
---|
95 | style="-moz-appearance:none !important;border:none;background:white !important;" onfocus="this.select();" |
---|
96 | readonly="true"/> |
---|
97 | </hbox> |
---|
98 | </caption> |
---|
99 | <grid> |
---|
100 | <columns> |
---|
101 | <column pack="end" /> |
---|
102 | <column pack="start" flex="1"/> |
---|
103 | </columns> |
---|
104 | <rows> |
---|
105 | <row align="center"> |
---|
106 | <hbox flex="1" pack="end"> |
---|
107 | <label value="PubMed ID:" /> |
---|
108 | </hbox> |
---|
109 | <textbox |
---|
110 | id="mcPropertyExtendedMessageMedlinePMIDTextbox" |
---|
111 | size="1" |
---|
112 | style="-moz-appearance:none !important;border:none;background:white !important;" |
---|
113 | onfocus="this.select();" |
---|
114 | readonly="true"/> |
---|
115 | </row> |
---|
116 | <row align="start"> |
---|
117 | <hbox flex="1" pack="end"> |
---|
118 | <label value="Source:"/> |
---|
119 | </hbox> |
---|
120 | <textbox |
---|
121 | id="mcPropertyExtendedMessageMedlineSOTextbox" |
---|
122 | rows="2" |
---|
123 | multiline="true" |
---|
124 | style="-moz-appearance:none !important;border:none;background:white !important;" onfocus="this.select();" |
---|
125 | readonly="true"/> |
---|
126 | </row> |
---|
127 | </rows> |
---|
128 | </grid> |
---|
129 | </groupbox> |
---|
130 | </vbox> |
---|
131 | <vbox style="background:white;"> |
---|
132 | <groupbox id="mcPropMarkerGroup" flex="1"> |
---|
133 | <caption label="&markingcollection.marker;" style="background:white;" /> |
---|
134 | <vbox flex="1" style="background:white;padding:10px;border:1px solid ThreeDShadow;text-align:center;" align="center"> |
---|
135 | <label id="mcPropSampleLabel" value="Firefox, rediscover the web" /> |
---|
136 | </vbox> |
---|
137 | <vbox > |
---|
138 | <hbox flex="1"> |
---|
139 | <spacer flex="1" /> |
---|
140 | <button id="mcPropMarkerCustomButton" label="&markingcollection.button.customize;..." oncommand="mcPropertyView.openDialog();" /> |
---|
141 | </hbox> |
---|
142 | </vbox> |
---|
143 | </groupbox> |
---|
144 | </vbox> |
---|
145 | <vbox id="mcPropertyURLVBox" style="background:white;" hidden="true"> |
---|
146 | <groupbox> |
---|
147 | <caption label="HYPER-ANCHOR Code" style="background:white;"/> |
---|
148 | <textbox |
---|
149 | id="mcPropURLTextbox" |
---|
150 | multiline="true" |
---|
151 | style="-moz-appearance:none !important;border:none;background:white !important;" |
---|
152 | onfocus="this.select();" |
---|
153 | readonly="true"/> |
---|
154 | </groupbox> |
---|
155 | </vbox> |
---|
156 | <vbox id="mcPropertyMetaCaptureVBox" style="background:white;" hidden="true"> |
---|
157 | <groupbox id="mcPropertyMetaCaptureGBox"> |
---|
158 | <caption label="&markingcollection.prop.metacapture;" style="background:white;" /> |
---|
159 | <textbox |
---|
160 | id="mcPropertyMetaCaptureTextbox" |
---|
161 | multiline="true" |
---|
162 | style="-moz-appearance:none !important;border:none;background:white !important;" |
---|
163 | onfocus="this.select();" |
---|
164 | readonly="true"/> |
---|
165 | </groupbox> |
---|
166 | </vbox> |
---|
167 | <vbox flex="1" style="background:white;"> |
---|
168 | <hbox flex="1"> |
---|
169 | <spacer flex="1" /> |
---|
170 | <button |
---|
171 | id="mcPropMarkerUpdateButton" |
---|
172 | label="&markingcollection.button.update;" |
---|
173 | oncommand="mcPropertyView.update();" |
---|
174 | disabled="true" |
---|
175 | hidden="true" /> |
---|
176 | </hbox> |
---|
177 | </vbox> |
---|
178 | </vbox> |
---|
179 | </vbox> |
---|
180 | </overlay> |
---|