summaryrefslogtreecommitdiffstats
path: root/mobile/android/chrome/content/aboutDownloads.xhtml
blob: 6b90256941fb8fe8e459309c41c9aaca6e88ef13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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>