|
1 <?xml version="1.0"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
7 <?xml-stylesheet href="chrome://mozapps/content/extensions/extensions.css"?> |
|
8 <?xml-stylesheet href="chrome://mozapps/skin/extensions/extensions.css"?> |
|
9 |
|
10 <!DOCTYPE page [ |
|
11 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > |
|
12 %brandDTD; |
|
13 <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/extensions.dtd"> |
|
14 %extensionsDTD; |
|
15 ]> |
|
16 |
|
17 <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
18 xmlns:xhtml="http://www.w3.org/1999/xhtml" |
|
19 id="addons-page" title="&addons.windowTitle;" |
|
20 role="application" windowtype="Addons:Manager" |
|
21 disablefastfind="true"> |
|
22 |
|
23 <xhtml:link rel="shortcut icon" |
|
24 href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/> |
|
25 |
|
26 <script type="application/javascript" |
|
27 src="chrome://mozapps/content/extensions/extensions.js"/> |
|
28 <script type="application/javascript" |
|
29 src="chrome://global/content/contentAreaUtils.js"/> |
|
30 |
|
31 <popupset> |
|
32 <!-- menu for an addon item --> |
|
33 <menupopup id="addonitem-popup"> |
|
34 <menuitem id="menuitem_showDetails" command="cmd_showItemDetails" |
|
35 default="true" label="&cmd.showDetails.label;" |
|
36 accesskey="&cmd.showDetails.accesskey;"/> |
|
37 <menuitem id="menuitem_enableItem" command="cmd_enableItem" |
|
38 label="&cmd.enableAddon.label;" |
|
39 accesskey="&cmd.enableAddon.accesskey;"/> |
|
40 <menuitem id="menuitem_disableItem" command="cmd_disableItem" |
|
41 label="&cmd.disableAddon.label;" |
|
42 accesskey="&cmd.disableAddon.accesskey;"/> |
|
43 <menuitem id="menuitem_enableTheme" command="cmd_enableItem" |
|
44 label="&cmd.enableTheme.label;" |
|
45 accesskey="&cmd.enableTheme.accesskey;"/> |
|
46 <menuitem id="menuitem_disableTheme" command="cmd_disableItem" |
|
47 label="&cmd.disableTheme.label;" |
|
48 accesskey="&cmd.disableTheme.accesskey;"/> |
|
49 <menuitem id="menuitem_installItem" command="cmd_installItem" |
|
50 label="&cmd.installAddon.label;" |
|
51 accesskey="&cmd.installAddon.accesskey;"/> |
|
52 <menuitem id="menuitem_uninstallItem" command="cmd_uninstallItem" |
|
53 label="&cmd.uninstallAddon.label;" |
|
54 accesskey="&cmd.uninstallAddon.accesskey;"/> |
|
55 <menuitem id="menuitem_debugItem" command="cmd_debugItem" |
|
56 label="&cmd.debugAddon.label;"/> |
|
57 <menuseparator id="addonitem-menuseparator" /> |
|
58 <menuitem id="menuitem_preferences" command="cmd_showItemPreferences" |
|
59 #ifdef XP_WIN |
|
60 label="&cmd.preferencesWin.label;" |
|
61 accesskey="&cmd.preferencesWin.accesskey;"/> |
|
62 #else |
|
63 label="&cmd.preferencesUnix.label;" |
|
64 accesskey="&cmd.preferencesUnix.accesskey;"/> |
|
65 #endif |
|
66 <menuitem id="menuitem_findUpdates" command="cmd_findItemUpdates" |
|
67 label="&cmd.findUpdates.label;" |
|
68 accesskey="&cmd.findUpdates.accesskey;"/> |
|
69 <menuitem id="menuitem_about" command="cmd_showItemAbout" |
|
70 label="&cmd.about.label;" |
|
71 accesskey="&cmd.about.accesskey;"/> |
|
72 </menupopup> |
|
73 </popupset> |
|
74 |
|
75 <!-- global commands - these act on all addons, or affect the addons manager |
|
76 in some other way --> |
|
77 <commandset id="globalCommandSet"> |
|
78 <command id="cmd_focusSearch"/> |
|
79 <command id="cmd_findAllUpdates"/> |
|
80 <command id="cmd_restartApp"/> |
|
81 <command id="cmd_goToDiscoverPane"/> |
|
82 <command id="cmd_goToRecentUpdates"/> |
|
83 <command id="cmd_goToAvailableUpdates"/> |
|
84 <command id="cmd_installFromFile"/> |
|
85 <command id="cmd_back"/> |
|
86 <command id="cmd_forward"/> |
|
87 <command id="cmd_enableCheckCompatibility"/> |
|
88 <command id="cmd_pluginCheck"/> |
|
89 <command id="cmd_enableUpdateSecurity"/> |
|
90 <command id="cmd_toggleAutoUpdateDefault"/> |
|
91 <command id="cmd_resetAddonAutoUpdate"/> |
|
92 <command id="cmd_experimentsLearnMore"/> |
|
93 <command id="cmd_experimentsOpenTelemetryPreferences"/> |
|
94 </commandset> |
|
95 |
|
96 <!-- view commands - these act on the selected addon --> |
|
97 <commandset id="viewCommandSet" |
|
98 events="richlistbox-select" commandupdater="true"> |
|
99 <command id="cmd_showItemDetails"/> |
|
100 <command id="cmd_findItemUpdates"/> |
|
101 <command id="cmd_showItemPreferences"/> |
|
102 <command id="cmd_showItemAbout"/> |
|
103 <command id="cmd_debugItem"/> |
|
104 <command id="cmd_enableItem"/> |
|
105 <command id="cmd_disableItem"/> |
|
106 <command id="cmd_installItem"/> |
|
107 <command id="cmd_purchaseItem"/> |
|
108 <command id="cmd_uninstallItem"/> |
|
109 <command id="cmd_cancelUninstallItem"/> |
|
110 <command id="cmd_cancelOperation"/> |
|
111 <command id="cmd_contribute"/> |
|
112 <command id="cmd_askToActivateItem"/> |
|
113 <command id="cmd_alwaysActivateItem"/> |
|
114 <command id="cmd_neverActivateItem"/> |
|
115 </commandset> |
|
116 |
|
117 <keyset> |
|
118 <!-- XXXunf Disabled until bug 371900 is fixed. --> |
|
119 <key id="focusSearch" key="&search.commandkey;" modifiers="accel" |
|
120 disabled="true"/> |
|
121 </keyset> |
|
122 |
|
123 <!-- main header --> |
|
124 <hbox id="header" align="center"> |
|
125 <toolbarbutton id="back-btn" class="nav-button header-button" command="cmd_back" |
|
126 tooltiptext="&cmd.back.tooltip;" hidden="true" disabled="true"/> |
|
127 <toolbarbutton id="forward-btn" class="nav-button header-button" command="cmd_forward" |
|
128 tooltiptext="&cmd.forward.tooltip;" hidden="true" disabled="true"/> |
|
129 <spacer flex="1"/> |
|
130 <hbox id="updates-container" align="center"> |
|
131 <image class="spinner"/> |
|
132 <label id="updates-noneFound" hidden="true" |
|
133 value="&updates.noneFound.label;"/> |
|
134 <button id="updates-manualUpdatesFound-btn" class="button-link" |
|
135 hidden="true" label="&updates.manualUpdatesFound.label;" |
|
136 command="cmd_goToAvailableUpdates"/> |
|
137 <label id="updates-progress" hidden="true" |
|
138 value="&updates.updating.label;"/> |
|
139 <label id="updates-installed" hidden="true" |
|
140 value="&updates.installed.label;"/> |
|
141 <label id="updates-downloaded" hidden="true" |
|
142 value="&updates.downloaded.label;"/> |
|
143 <button id="updates-restart-btn" class="button-link" hidden="true" |
|
144 label="&updates.restart.label;" |
|
145 command="cmd_restartApp"/> |
|
146 </hbox> |
|
147 <toolbarbutton id="header-utils-btn" class="header-button" type="menu" |
|
148 tooltiptext="&toolsMenu.tooltip;"> |
|
149 <menupopup id="utils-menu"> |
|
150 <menuitem id="utils-updateNow" |
|
151 label="&updates.checkForUpdates.label;" |
|
152 accesskey="&updates.checkForUpdates.accesskey;" |
|
153 command="cmd_findAllUpdates"/> |
|
154 <menuitem id="utils-viewUpdates" |
|
155 label="&updates.viewUpdates.label;" |
|
156 accesskey="&updates.viewUpdates.accesskey;" |
|
157 command="cmd_goToRecentUpdates"/> |
|
158 <menuseparator id="utils-installFromFile-separator"/> |
|
159 <menuitem id="utils-installFromFile" |
|
160 label="&installAddonFromFile.label;" |
|
161 accesskey="&installAddonFromFile.accesskey;" |
|
162 command="cmd_installFromFile"/> |
|
163 <menuseparator/> |
|
164 <menuitem id="utils-autoUpdateDefault" |
|
165 label="&updates.updateAddonsAutomatically.label;" |
|
166 accesskey="&updates.updateAddonsAutomatically.accesskey;" |
|
167 type="checkbox" autocheck="false" |
|
168 command="cmd_toggleAutoUpdateDefault"/> |
|
169 <menuitem id="utils-resetAddonUpdatesToAutomatic" |
|
170 label="&updates.resetUpdatesToAutomatic.label;" |
|
171 accesskey="&updates.resetUpdatesToAutomatic.accesskey;" |
|
172 command="cmd_resetAddonAutoUpdate"/> |
|
173 <menuitem id="utils-resetAddonUpdatesToManual" |
|
174 label="&updates.resetUpdatesToManual.label;" |
|
175 accesskey="&updates.resetUpdatesToManual.accesskey;" |
|
176 command="cmd_resetAddonAutoUpdate"/> |
|
177 </menupopup> |
|
178 </toolbarbutton> |
|
179 <textbox id="header-search" type="search" searchbutton="true" |
|
180 placeholder="&search.placeholder;"/> |
|
181 </hbox> |
|
182 |
|
183 <hbox flex="1"> |
|
184 |
|
185 <!-- category list --> |
|
186 <richlistbox id="categories"> |
|
187 <richlistitem id="category-search" value="addons://search/" |
|
188 class="category" |
|
189 name="&view.search.label;" priority="0" |
|
190 tooltiptext="&view.search.label;" disabled="true"/> |
|
191 <richlistitem id="category-discover" value="addons://discover/" |
|
192 class="category" |
|
193 name="&view.discover.label;" priority="1000" |
|
194 tooltiptext="&view.discover.label;"/> |
|
195 <richlistitem id="category-availableUpdates" value="addons://updates/available" |
|
196 class="category" |
|
197 name="&view.availableUpdates.label;" priority="100000" |
|
198 tooltiptext="&view.availableUpdates.label;" |
|
199 disabled="true"/> |
|
200 <richlistitem id="category-recentUpdates" value="addons://updates/recent" |
|
201 class="category" |
|
202 name="&view.recentUpdates.label;" priority="101000" |
|
203 tooltiptext="&view.recentUpdates.label;" disabled="true"/> |
|
204 </richlistbox> |
|
205 |
|
206 <box id="view-port-container" class="main-content" flex="1"> |
|
207 |
|
208 <!-- view port --> |
|
209 <deck id="view-port" flex="1" selectedIndex="0"> |
|
210 |
|
211 <!-- discover view --> |
|
212 <deck id="discover-view" flex="1" class="view-pane" selectedIndex="0" tabindex="0"> |
|
213 <vbox id="discover-loading" align="center" pack="stretch" flex="1" class="alert-container"> |
|
214 <spacer class="alert-spacer-before"/> |
|
215 <hbox class="alert loading" align="center"> |
|
216 <image/> |
|
217 <label value="&loading.label;"/> |
|
218 </hbox> |
|
219 <spacer class="alert-spacer-after"/> |
|
220 </vbox> |
|
221 <vbox id="discover-error" align="center" pack="stretch" flex="1" class="alert-container"> |
|
222 <spacer class="alert-spacer-before"/> |
|
223 <hbox> |
|
224 <spacer class="discover-spacer-before"/> |
|
225 <hbox class="alert" align="center"> |
|
226 <image class="discover-logo"/> |
|
227 <vbox flex="1" align="stretch"> |
|
228 <label class="discover-title">&discover.title;</label> |
|
229 <description class="discover-description">&discover.description2;</description> |
|
230 <description class="discover-footer">&discover.footer;</description> |
|
231 </vbox> |
|
232 </hbox> |
|
233 <spacer class="discover-spacer-after"/> |
|
234 </hbox> |
|
235 <spacer class="alert-spacer-after"/> |
|
236 </vbox> |
|
237 <browser id="discover-browser" type="content" flex="1" |
|
238 disablehistory="true" homepage="about:blank"/> |
|
239 </deck> |
|
240 |
|
241 <!-- search view --> |
|
242 <vbox id="search-view" flex="1" class="view-pane" tabindex="0"> |
|
243 <hbox class="view-header global-warning-container" align="center"> |
|
244 <!-- global warnings --> |
|
245 <hbox class="global-warning" flex="1"> |
|
246 <hbox class="global-warning-safemode" flex="1" align="center" |
|
247 tooltiptext="&warning.safemode.label;"> |
|
248 <image class="warning-icon"/> |
|
249 <label class="global-warning-text" flex="1" crop="end" |
|
250 value="&warning.safemode.label;"/> |
|
251 </hbox> |
|
252 <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
|
253 tooltiptext="&warning.checkcompatibility.label;"> |
|
254 <image class="warning-icon"/> |
|
255 <label class="global-warning-text" flex="1" crop="end" |
|
256 value="&warning.checkcompatibility.label;"/> |
|
257 </hbox> |
|
258 <button class="button-link global-warning-checkcompatibility" |
|
259 label="&warning.checkcompatibility.enable.label;" |
|
260 tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
|
261 command="cmd_enableCheckCompatibility"/> |
|
262 <hbox class="global-warning-updatesecurity" flex="1" align="center" |
|
263 tooltiptext="&warning.updatesecurity.label;"> |
|
264 <image class="warning-icon"/> |
|
265 <label class="global-warning-text" flex="1" crop="end" |
|
266 value="&warning.updatesecurity.label;"/> |
|
267 </hbox> |
|
268 <button class="button-link global-warning-updatesecurity" |
|
269 label="&warning.updatesecurity.enable.label;" |
|
270 tooltiptext="&warning.updatesecurity.enable.tooltip;" |
|
271 command="cmd_enableUpdateSecurity"/> |
|
272 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
273 </hbox> |
|
274 <spacer flex="1"/> |
|
275 <hbox id="search-sorters" class="sort-controls" |
|
276 showrelevance="true" sortby="relevancescore" ascending="false"/> |
|
277 </hbox> |
|
278 <hbox id="search-filter" align="center"> |
|
279 <label id="search-filter-label" value="&search.filter2.label;"/> |
|
280 <radiogroup id="search-filter-radiogroup" orient="horizontal" |
|
281 align="center" persist="value" value="remote"> |
|
282 <radio id="search-filter-local" class="search-filter-radio" |
|
283 label="&search.filter2.installed.label;" value="local" |
|
284 tooltiptext="&search.filter2.installed.tooltip;"/> |
|
285 <radio id="search-filter-remote" class="search-filter-radio" |
|
286 label="&search.filter2.available.label;" value="remote" |
|
287 tooltiptext="&search.filter2.available.tooltip;"/> |
|
288 </radiogroup> |
|
289 </hbox> |
|
290 <vbox id="search-loading" class="alert-container" |
|
291 flex="1" hidden="true"> |
|
292 <spacer class="alert-spacer-before"/> |
|
293 <hbox class="alert loading" align="center"> |
|
294 <image/> |
|
295 <label value="&loading.label;"/> |
|
296 </hbox> |
|
297 <spacer class="alert-spacer-after"/> |
|
298 </vbox> |
|
299 <vbox id="search-list-empty" class="alert-container" |
|
300 flex="1" hidden="true"> |
|
301 <spacer class="alert-spacer-before"/> |
|
302 <vbox class="alert"> |
|
303 <label value="&listEmpty.search.label;"/> |
|
304 <button class="discover-button" |
|
305 id="discover-button-search" |
|
306 label="&listEmpty.button.label;" |
|
307 command="cmd_goToDiscoverPane"/> |
|
308 </vbox> |
|
309 <spacer class="alert-spacer-after"/> |
|
310 </vbox> |
|
311 <richlistbox id="search-list" class="list" flex="1"> |
|
312 <hbox pack="center"> |
|
313 <label id="search-allresults-link" class="text-link"/> |
|
314 </hbox> |
|
315 </richlistbox> |
|
316 </vbox> |
|
317 |
|
318 <!-- list view --> |
|
319 <vbox id="list-view" flex="1" class="view-pane" align="stretch" tabindex="0"> |
|
320 <hbox class="view-header global-warning-container"> |
|
321 <!-- global warnings --> |
|
322 <hbox class="global-warning" flex="1"> |
|
323 <hbox class="global-warning-safemode" flex="1" align="center" |
|
324 tooltiptext="&warning.safemode.label;"> |
|
325 <image class="warning-icon"/> |
|
326 <label class="global-warning-text" flex="1" crop="end" |
|
327 value="&warning.safemode.label;"/> |
|
328 </hbox> |
|
329 <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
|
330 tooltiptext="&warning.checkcompatibility.label;"> |
|
331 <image class="warning-icon"/> |
|
332 <label class="global-warning-text" flex="1" crop="end" |
|
333 value="&warning.checkcompatibility.label;"/> |
|
334 </hbox> |
|
335 <button class="button-link global-warning-checkcompatibility" |
|
336 label="&warning.checkcompatibility.enable.label;" |
|
337 tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
|
338 command="cmd_enableCheckCompatibility"/> |
|
339 <hbox class="global-warning-updatesecurity" flex="1" align="center" |
|
340 tooltiptext="&warning.updatesecurity.label;"> |
|
341 <image class="warning-icon"/> |
|
342 <label class="global-warning-text" flex="1" crop="end" |
|
343 value="&warning.updatesecurity.label;"/> |
|
344 </hbox> |
|
345 <button class="button-link global-warning-updatesecurity" |
|
346 label="&warning.updatesecurity.enable.label;" |
|
347 tooltiptext="&warning.updatesecurity.enable.tooltip;" |
|
348 command="cmd_enableUpdateSecurity"/> |
|
349 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
350 </hbox> |
|
351 </hbox> |
|
352 <hbox class="view-header global-info-container plugin-info-container"> |
|
353 <hbox class="global-info" flex="1" align="center"> |
|
354 <button class="button-link global-info-plugincheck" |
|
355 label="&info.plugincheck.label;" |
|
356 tooltiptext="&info.plugincheck.tooltip;" |
|
357 command="cmd_pluginCheck"/> |
|
358 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
359 </hbox> |
|
360 </hbox> |
|
361 <hbox class="view-header global-info-container experiment-info-container"> |
|
362 <hbox class="global-info" flex="1" align="center"> |
|
363 <label value="&experiment.info.label;"/> |
|
364 <button id="experiments-learn-more" |
|
365 label="&experiment.info.learnmore;" |
|
366 tooltiptext="&experiment.info.learnmore;" |
|
367 accesskey="&experiment.info.learnmore.accesskey;" |
|
368 command="cmd_experimentsLearnMore"/> |
|
369 <button id="experiments-change-telemetry" |
|
370 label="&experiment.info.changetelemetry;" |
|
371 tooltiptext="&experiment.info.changetelemetry;" |
|
372 accesskey="&experiment.info.changetelemetry.accesskey;" |
|
373 command="cmd_experimentsOpenTelemetryPreferences"/> |
|
374 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap. --> |
|
375 </hbox> |
|
376 </hbox> |
|
377 <vbox id="addon-list-empty" class="alert-container" |
|
378 flex="1" hidden="true"> |
|
379 <spacer class="alert-spacer-before"/> |
|
380 <vbox class="alert"> |
|
381 <label value="&listEmpty.installed.label;"/> |
|
382 <button class="discover-button" |
|
383 id="discover-button-install" |
|
384 label="&listEmpty.button.label;" |
|
385 command="cmd_goToDiscoverPane"/> |
|
386 </vbox> |
|
387 <spacer class="alert-spacer-after"/> |
|
388 </vbox> |
|
389 <richlistbox id="addon-list" class="list" flex="1"/> |
|
390 </vbox> |
|
391 |
|
392 <!-- updates view --> |
|
393 <vbox id="updates-view" flex="1" class="view-pane" tabindex="0"> |
|
394 <hbox class="view-header global-warning-container" align="center"> |
|
395 <!-- global warnings --> |
|
396 <hbox class="global-warning" flex="1"> |
|
397 <hbox class="global-warning-safemode" flex="1" align="center" |
|
398 tooltiptext="&warning.safemode.label;"> |
|
399 <image class="warning-icon"/> |
|
400 <label class="global-warning-text" flex="1" crop="end" |
|
401 value="&warning.safemode.label;"/> |
|
402 </hbox> |
|
403 <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
|
404 tooltiptext="&warning.checkcompatibility.label;"> |
|
405 <image class="warning-icon"/> |
|
406 <label class="global-warning-text" flex="1" crop="end" |
|
407 value="&warning.checkcompatibility.label;"/> |
|
408 </hbox> |
|
409 <button class="button-link global-warning-checkcompatibility" |
|
410 label="&warning.checkcompatibility.enable.label;" |
|
411 tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
|
412 command="cmd_enableCheckCompatibility"/> |
|
413 <hbox class="global-warning-updatesecurity" flex="1" align="center" |
|
414 tooltiptext="&warning.updatesecurity.label;"> |
|
415 <image class="warning-icon"/> |
|
416 <label class="global-warning-text" flex="1" crop="end" |
|
417 value="&warning.updatesecurity.label;"/> |
|
418 </hbox> |
|
419 <button class="button-link global-warning-updatesecurity" |
|
420 label="&warning.updatesecurity.enable.label;" |
|
421 tooltiptext="&warning.updatesecurity.enable.tooltip;" |
|
422 command="cmd_enableUpdateSecurity"/> |
|
423 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
424 </hbox> |
|
425 <spacer flex="1"/> |
|
426 <hbox id="updates-sorters" class="sort-controls" sortby="updateDate" |
|
427 ascending="false"/> |
|
428 </hbox> |
|
429 <vbox id="updates-list-empty" class="alert-container" |
|
430 flex="1" hidden="true"> |
|
431 <spacer class="alert-spacer-before"/> |
|
432 <vbox class="alert"> |
|
433 <label id="empty-availableUpdates-msg" value="&listEmpty.availableUpdates.label;"/> |
|
434 <label id="empty-recentUpdates-msg" value="&listEmpty.recentUpdates.label;"/> |
|
435 <button label="&listEmpty.findUpdates.label;" |
|
436 command="cmd_findAllUpdates"/> |
|
437 </vbox> |
|
438 <spacer class="alert-spacer-after"/> |
|
439 </vbox> |
|
440 <hbox id="update-actions" pack="center"> |
|
441 <button id="update-selected-btn" hidden="true" |
|
442 label="&updates.updateSelected.label;" |
|
443 tooltiptext="&updates.updateSelected.tooltip;"/> |
|
444 </hbox> |
|
445 <richlistbox id="updates-list" class="list" flex="1"/> |
|
446 </vbox> |
|
447 |
|
448 <!-- detail view --> |
|
449 <scrollbox id="detail-view" flex="1" class="view-pane addon-view" orient="vertical" tabindex="0"> |
|
450 <!-- global warnings --> |
|
451 <hbox class="global-warning-container global-warning"> |
|
452 <hbox class="global-warning-safemode" flex="1" align="center" |
|
453 tooltiptext="&warning.safemode.label;"> |
|
454 <image class="warning-icon"/> |
|
455 <label class="global-warning-text" flex="1" crop="end" |
|
456 value="&warning.safemode.label;"/> |
|
457 </hbox> |
|
458 <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
|
459 tooltiptext="&warning.checkcompatibility.label;"> |
|
460 <image class="warning-icon"/> |
|
461 <label class="global-warning-text" flex="1" crop="end" |
|
462 value="&warning.checkcompatibility.label;"/> |
|
463 </hbox> |
|
464 <button class="button-link global-warning-checkcompatibility" |
|
465 label="&warning.checkcompatibility.enable.label;" |
|
466 tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
|
467 command="cmd_enableCheckCompatibility"/> |
|
468 <hbox class="global-warning-updatesecurity" flex="1" align="center" |
|
469 tooltiptext="&warning.updatesecurity.label;"> |
|
470 <image class="warning-icon"/> |
|
471 <label class="global-warning-text" flex="1" crop="end" |
|
472 value="&warning.updatesecurity.label;"/> |
|
473 </hbox> |
|
474 <button class="button-link global-warning-updatesecurity" |
|
475 label="&warning.updatesecurity.enable.label;" |
|
476 tooltiptext="&warning.updatesecurity.enable.tooltip;" |
|
477 command="cmd_enableUpdateSecurity"/> |
|
478 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
479 </hbox> |
|
480 <hbox flex="1"> |
|
481 <spacer flex="1"/> |
|
482 <!-- "loading" splash screen --> |
|
483 <vbox class="alert-container"> |
|
484 <spacer class="alert-spacer-before"/> |
|
485 <hbox class="alert loading"> |
|
486 <image/> |
|
487 <label value="&loading.label;"/> |
|
488 </hbox> |
|
489 <spacer class="alert-spacer-after"/> |
|
490 </vbox> |
|
491 <!-- actual detail view --> |
|
492 <vbox class="detail-view-container" flex="3" contextmenu="addonitem-popup"> |
|
493 <vbox id="detail-notifications"> |
|
494 <hbox id="warning-container" align="center" class="warning"> |
|
495 <image class="warning-icon"/> |
|
496 <label id="detail-warning" flex="1"/> |
|
497 <label id="detail-warning-link" class="text-link"/> |
|
498 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
499 </hbox> |
|
500 <hbox id="error-container" align="center" class="error"> |
|
501 <image class="error-icon"/> |
|
502 <label id="detail-error" flex="1"/> |
|
503 <label id="detail-error-link" class="text-link"/> |
|
504 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
505 </hbox> |
|
506 <hbox id="pending-container" align="center" class="pending"> |
|
507 <image class="pending-icon"/> |
|
508 <label id="detail-pending" flex="1"/> |
|
509 <button id="detail-restart-btn" class="button-link" |
|
510 label="&addon.restartNow.label;" |
|
511 command="cmd_restartApp"/> |
|
512 <button id="detail-undo-btn" class="button-link" |
|
513 label="&addon.undoAction.label;" |
|
514 tooltipText="&addon.undoAction.tooltip;" |
|
515 command="cmd_cancelOperation"/> |
|
516 <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
|
517 </hbox> |
|
518 </vbox> |
|
519 <hbox align="start"> |
|
520 <vbox id="detail-icon-container" align="end"> |
|
521 <image id="detail-icon" class="icon"/> |
|
522 </vbox> |
|
523 <vbox flex="1"> |
|
524 <vbox id="detail-summary"> |
|
525 <hbox id="detail-name-container" class="name-container" |
|
526 align="start"> |
|
527 <label id="detail-name" flex="1"/> |
|
528 <label id="detail-version"/> |
|
529 <label class="disabled-postfix" value="&addon.disabled.postfix;"/> |
|
530 <label class="update-postfix" value="&addon.update.postfix;"/> |
|
531 <spacer flex="5000"/> <!-- Necessary to allow the name to wrap --> |
|
532 </hbox> |
|
533 <label id="detail-creator" class="creator"/> |
|
534 </vbox> |
|
535 <hbox id="detail-experiment-container"> |
|
536 <svg width="8" height="8" viewBox="0 0 8 8" version="1.1" |
|
537 xmlns="http://www.w3.org/2000/svg" |
|
538 id="detail-experiment-bullet-container"> |
|
539 <circle cx="4" cy="4" r="4" id="detail-experiment-bullet"/> |
|
540 </svg> |
|
541 <label id="detail-experiment-state"/> |
|
542 <label id="detail-experiment-time"/> |
|
543 </hbox> |
|
544 <hbox id="detail-desc-container" align="start"> |
|
545 <vbox pack="center"> <!-- Necessary to work around bug 394738 --> |
|
546 <image id="detail-screenshot" hidden="true"/> |
|
547 </vbox> |
|
548 <vbox flex="1"> |
|
549 <description id="detail-desc"/> |
|
550 <description id="detail-fulldesc"/> |
|
551 </vbox> |
|
552 </hbox> |
|
553 <vbox id="detail-contributions"> |
|
554 <description id="detail-contrib-description"> |
|
555 &detail.contributions.description; |
|
556 </description> |
|
557 <hbox align="center"> |
|
558 <label id="detail-contrib-suggested"/> |
|
559 <spacer flex="1"/> |
|
560 <button id="detail-contrib-btn" |
|
561 label="&cmd.contribute.label;" |
|
562 accesskey="&cmd.contribute.accesskey;" |
|
563 tooltiptext="&cmd.contribute.tooltip;" |
|
564 command="cmd_contribute"/> |
|
565 </hbox> |
|
566 </vbox> |
|
567 <grid id="detail-grid"> |
|
568 <columns> |
|
569 <column flex="1"/> |
|
570 <column flex="2"/> |
|
571 </columns> |
|
572 <rows id="detail-rows"> |
|
573 <row class="detail-row-complex" id="detail-updates-row"> |
|
574 <label class="detail-row-label" value="&detail.updateType;"/> |
|
575 <hbox align="center"> |
|
576 <radiogroup id="detail-autoUpdate" orient="horizontal"> |
|
577 <!-- The values here need to match the values of |
|
578 AddonManager.AUTOUPDATE_* --> |
|
579 <radio label="&detail.updateDefault.label;" |
|
580 tooltiptext="&detail.updateDefault.tooltip;" |
|
581 value="1"/> |
|
582 <radio label="&detail.updateAutomatic.label;" |
|
583 tooltiptext="&detail.updateAutomatic.tooltip;" |
|
584 value="2"/> |
|
585 <radio label="&detail.updateManual.label;" |
|
586 tooltiptext="&detail.updateManual.tooltip;" |
|
587 value="0"/> |
|
588 </radiogroup> |
|
589 <button id="detail-findUpdates-btn" class="button-link" |
|
590 label="&detail.checkForUpdates.label;" |
|
591 accesskey="&detail.checkForUpdates.accesskey;" |
|
592 tooltiptext="&detail.checkForUpdates.tooltip;" |
|
593 command="cmd_findItemUpdates"/> |
|
594 </hbox> |
|
595 </row> |
|
596 <row class="detail-row" id="detail-dateUpdated" label="&detail.lastupdated.label;"/> |
|
597 <row class="detail-row-complex" id="detail-homepage-row" label="&detail.home;"> |
|
598 <label class="detail-row-label" value="&detail.home;"/> |
|
599 <label id="detail-homepage" class="detail-row-value text-link" crop="end"/> |
|
600 </row> |
|
601 <row class="detail-row-complex" id="detail-repository-row" label="&detail.repository;"> |
|
602 <label class="detail-row-label" value="&detail.repository;"/> |
|
603 <label id="detail-repository" class="detail-row-value text-link"/> |
|
604 </row> |
|
605 <row class="detail-row" id="detail-size" label="&detail.size;"/> |
|
606 <row class="detail-row-complex" id="detail-rating-row"> |
|
607 <label class="detail-row-label" value="&rating2.label;"/> |
|
608 <hbox> |
|
609 <label id="detail-rating" class="meta-value meta-rating" |
|
610 showrating="average"/> |
|
611 <label id="detail-reviews" class="text-link"/> |
|
612 </hbox> |
|
613 </row> |
|
614 <row class="detail-row" id="detail-downloads" label="&detail.numberOfDownloads.label;"/> |
|
615 </rows> |
|
616 </grid> |
|
617 <hbox id="detail-controls"> |
|
618 <button id="detail-prefs-btn" class="addon-control preferences" |
|
619 #ifdef XP_WIN |
|
620 label="&detail.showPreferencesWin.label;" |
|
621 accesskey="&detail.showPreferencesWin.accesskey;" |
|
622 tooltiptext="&detail.showPreferencesWin.tooltip;" |
|
623 #else |
|
624 label="&detail.showPreferencesUnix.label;" |
|
625 accesskey="&detail.showPreferencesUnix.accesskey;" |
|
626 tooltiptext="&detail.showPreferencesUnix.tooltip;" |
|
627 #endif |
|
628 command="cmd_showItemPreferences"/> |
|
629 <spacer flex="1"/> |
|
630 <button id="detail-debug-btn" class="addon-control debug" |
|
631 label="Debug" |
|
632 command="cmd_debugItem" /> |
|
633 <button id="detail-enable-btn" class="addon-control enable" |
|
634 label="&cmd.enableAddon.label;" |
|
635 accesskey="&cmd.enableAddon.accesskey;" |
|
636 command="cmd_enableItem"/> |
|
637 <button id="detail-disable-btn" class="addon-control disable" |
|
638 label="&cmd.disableAddon.label;" |
|
639 accesskey="&cmd.disableAddon.accesskey;" |
|
640 command="cmd_disableItem"/> |
|
641 <button id="detail-uninstall-btn" class="addon-control remove" |
|
642 label="&cmd.uninstallAddon.label;" |
|
643 accesskey="&cmd.uninstallAddon.accesskey;" |
|
644 command="cmd_uninstallItem"/> |
|
645 <button id="detail-purchase-btn" class="addon-control purchase" |
|
646 command="cmd_purchaseItem"/> |
|
647 <button id="detail-install-btn" class="addon-control install" |
|
648 label="&cmd.installAddon.label;" |
|
649 accesskey="&cmd.installAddon.accesskey;" |
|
650 command="cmd_installItem"/> |
|
651 <menulist id="detail-state-menulist" |
|
652 crop="none" sizetopopup="always" |
|
653 tooltiptext="&cmd.stateMenu.tooltip;"> |
|
654 <menupopup> |
|
655 <menuitem id="detail-ask-to-activate-menuitem" |
|
656 class="addon-control" |
|
657 label="&cmd.askToActivate.label;" |
|
658 tooltiptext="&cmd.askToActivate.tooltip;" |
|
659 command="cmd_askToActivateItem"/> |
|
660 <menuitem id="detail-always-activate-menuitem" |
|
661 class="addon-control" |
|
662 label="&cmd.alwaysActivate.label;" |
|
663 tooltiptext="&cmd.alwaysActivate.tooltip;" |
|
664 command="cmd_alwaysActivateItem"/> |
|
665 <menuitem id="detail-never-activate-menuitem" |
|
666 class="addon-control" |
|
667 label="&cmd.neverActivate.label;" |
|
668 tooltiptext="&cmd.neverActivate.tooltip;" |
|
669 command="cmd_neverActivateItem"/> |
|
670 </menupopup> |
|
671 </menulist> |
|
672 </hbox> |
|
673 </vbox> |
|
674 </hbox> |
|
675 </vbox> |
|
676 <spacer flex="1"/> |
|
677 </hbox> |
|
678 </scrollbox> |
|
679 |
|
680 </deck> |
|
681 |
|
682 </box> |
|
683 </hbox> |
|
684 |
|
685 </page> |