summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/downloads/content/aboutDownloads.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/downloads/content/aboutDownloads.xhtml')
-rw-r--r--comm/mail/components/downloads/content/aboutDownloads.xhtml98
1 files changed, 98 insertions, 0 deletions
diff --git a/comm/mail/components/downloads/content/aboutDownloads.xhtml b/comm/mail/components/downloads/content/aboutDownloads.xhtml
new file mode 100644
index 0000000000..fdc570c06f
--- /dev/null
+++ b/comm/mail/components/downloads/content/aboutDownloads.xhtml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<?xml-stylesheet href="chrome://global/skin/global.css"?>
+<?xml-stylesheet href="chrome://messenger/skin/messenger.css"?>
+<?xml-stylesheet href="chrome://global/skin/in-content/common.css"?>
+<?xml-stylesheet href="chrome://messenger/skin/downloads/aboutDownloads.css"?>
+
+<!DOCTYPE html [
+<!ENTITY % aboutDownloadsDTD SYSTEM "chrome://messenger/locale/aboutDownloads.dtd">
+%aboutDownloadsDTD;
+]>
+
+<html id="aboutDownloads" xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ scrolling="false"
+ lightweightthemes="true">
+<head>
+ <title>&aboutDownloads.title;</title>
+ <script defer="defer" src="chrome://messenger/content/globalOverlay.js"></script>
+ <script defer="defer" src="chrome://global/content/editMenuOverlay.js"></script>
+ <script defer="defer" src="chrome://messenger/content/downloads/aboutDownloads.js"></script>
+ <meta http-equiv="Content-Security-Policy" content="default-src chrome:; img-src chrome: moz-icon:; object-src 'none'; script-src chrome: 'unsafe-inline'" />
+ <meta name="color-scheme" content="light dark" />
+ <link rel="icon" href="chrome://messenger/skin/icons/new/compact/download.svg" />
+</head>
+<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <commandset id="msgDownloadCommands"
+ commandupdater="true"
+ events="focus,select,contextmenu">
+ <command id="msgDownloadsCmd_open"
+ oncommand="goDoCommand('msgDownloadsCmd_open')"/>
+ <command id="msgDownloadsCmd_show"
+ oncommand="goDoCommand('msgDownloadsCmd_show')"/>
+ <command id="msgDownloadsCmd_remove"
+ oncommand="goDoCommand('msgDownloadsCmd_remove')"/>
+ <command id="msgDownloadsCmd_clearDownloads"
+ oncommand="goDoCommand('msgDownloadsCmd_clearDownloads')"/>
+ <command id="msgDownloadsCmd_searchDownloads"
+ oncommand="goDoCommand('msgDownloadsCmd_searchDownloads')"/>
+ </commandset>
+
+ <keyset id="downloadKeys">
+ <key keycode="&cmd.searchDownloads.key;" modifiers="accel"
+ oncommand="document.getElementById('searchBox').focus();"/>
+ </keyset>
+
+ <hbox id="downloadTopBox"
+ align="center">
+ <button id="clearDownloads"
+ command="msgDownloadsCmd_clearDownloads"
+ label="&cmd.clearList.label;"
+ accesskey="&cmd.clearList.accesskey;"
+ tooltiptext="&cmd.clearList.tooltip;"/>
+
+ <spacer flex="1"/>
+ <search-textbox id="searchBox"
+ class="themeableSearchBox"
+ command="msgDownloadsCmd_searchDownloads"
+ placeholder="&cmd.searchDownloads.label;"/>
+ </hbox>
+
+ <hbox id="downloadBottomBox" flex="1">
+ <richlistbox id="msgDownloadsRichListBox"
+ flex="1"
+ seltype="multiple"
+ context="msgDownloadsContextMenu"
+ oncontextmenu="DownloadsView.onDownloadContextMenu();"/>
+ </hbox>
+
+ <menupopup id="msgDownloadsContextMenu">
+ <menuitem command="msgDownloadsCmd_remove"
+ class="msgDownloadRemoveFromHistoryMenuItem"
+ label="&cmd.removeFromHistory.label;"
+ accesskey="&cmd.removeFromHistory.accesskey;"/>
+ <menuitem command="msgDownloadsCmd_open"
+ label="&cmd.open.label;"
+ accesskey="&cmd.open.accesskey;"/>
+ <menuitem command="msgDownloadsCmd_show"
+ class="msgDownloadShowMenuItem"
+#ifdef XP_MACOSX
+ label="&cmd.showMac.label;"
+ accesskey="&cmd.showMac.accesskey;"
+#else
+ label="&cmd.show.label;"
+ accesskey="&cmd.show.accesskey;"
+#endif
+ />
+ <menuitem command="msgDownloadsCmd_clearDownloads"
+ label="&cmd.clearList.label;"
+ accesskey="&cmd.clearList.accesskey;"
+ tooltiptext="&cmd.clearList.tooltip;"/>
+ </menupopup>
+</html:body>
+</html>