summaryrefslogtreecommitdiffstats
path: root/mobile/android/chrome/content/aboutDownloads.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/chrome/content/aboutDownloads.xhtml')
-rw-r--r--mobile/android/chrome/content/aboutDownloads.xhtml62
1 files changed, 62 insertions, 0 deletions
diff --git a/mobile/android/chrome/content/aboutDownloads.xhtml b/mobile/android/chrome/content/aboutDownloads.xhtml
new file mode 100644
index 000000000..6b9025694
--- /dev/null
+++ b/mobile/android/chrome/content/aboutDownloads.xhtml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
+<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
+%brandDTD;
+<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd" >
+%globalDTD;
+<!ENTITY % downloadsDTD SYSTEM "chrome://browser/locale/aboutDownloads.dtd" >
+%downloadsDTD;
+]>
+
+<!-- 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/. -->
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<head>
+ <title>&aboutDownloads.title;</title>
+ <meta name="viewport" content="width=device-width; user-scalable=0" />
+ <link rel="icon" type="image/png" sizes="64x64" href="chrome://branding/content/favicon64.png" />
+ <link rel="stylesheet" href="chrome://browser/skin/aboutBase.css" type="text/css"/>
+ <link rel="stylesheet" href="chrome://browser/skin/aboutDownloads.css" type="text/css"/>
+</head>
+
+<body dir="&locale.dir;">
+ <menu type="context" id="downloadmenu">
+ <menuitem id="contextmenu-open" label="&aboutDownloads.open;"></menuitem>
+ <menuitem id="contextmenu-retry" label="&aboutDownloads.retry;"></menuitem>
+ <menuitem id="contextmenu-remove" label="&aboutDownloads.remove;"></menuitem>
+ <menuitem id="contextmenu-pause" label="&aboutDownloads.pause;"></menuitem>
+ <menuitem id="contextmenu-resume" label="&aboutDownloads.resume;"></menuitem>
+ <menuitem id="contextmenu-cancel" label="&aboutDownloads.cancel;"></menuitem>
+ <menuitem id="contextmenu-removeall" label="&aboutDownloads.removeAll;"></menuitem>
+ </menu>
+
+ <!--template id="download-item"-->
+ <li id="download-item" class="list-item" role="button" contextmenu="downloadmenu" style="display: none">
+ <img class="icon" src=""/>
+ <div class="details">
+ <div class="row">
+ <!-- This is a hack so that we can crop this label in its center -->
+ <xul:label class="title" crop="center" value=""/>
+ <div class="date"></div>
+ </div>
+ <div class="size"></div>
+ <div class="domain"></div>
+ <div class="state"></div>
+ </div>
+ </li>
+ <!--/template-->
+
+ <div class="header">
+ <div>&aboutDownloads.header;</div>
+ </div>
+ <ul id="private-downloads-list" class="list"></ul>
+ <ul id="public-downloads-list" class="list"></ul>
+ <span id="no-downloads-indicator">&aboutDownloads.empty;</span>
+ <script type="application/javascript;version=1.8" src="chrome://browser/content/aboutDownloads.js"/>
+</body>
+</html>