Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / downloads / downloads.html
blob4349816fdd8464cf35c736f8d401f03d89213a9f
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <head>
4 <meta charset="utf-8">
5 <title i18n-content="title"></title>
6 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
7 <!-- This has to come after chrome_shared.css -->
8 <link rel="stylesheet" href="downloads.css">
9 <script src="chrome://resources/js/action_link.js"></script>
10 <link rel="import" href="chrome://resources/html/assert.html">
11 <link rel="import" href="chrome://resources/html/cr.html">
12 <script src="chrome://resources/js/cr/ui.js"></script>
13 <script src="chrome://resources/js/cr/ui/command.js"></script>
14 <script src="chrome://resources/js/load_time_data.js"></script>
15 <script src="chrome://resources/js/util.js"></script>
16 <script src="chrome://resources/js/event_tracker.js"></script>
17 <script src="chrome://resources/js/cr/ui/focus_row.js"></script>
18 <script src="chrome://resources/js/cr/ui/focus_grid.js"></script>
19 <link rel="import" href="chrome://downloads/constants.html">
20 <link rel="import" href="chrome://downloads/throttled_icon_loader.html">
21 <script src="chrome://downloads/item_view.js"></script>
22 <script src="chrome://downloads/focus_row.js"></script>
23 <script src="chrome://downloads/manager.js"></script>
24 </head>
25 <body>
26 <header>
27 <h1 i18n-content="downloads"></h1>
28 <input id="term" type="search" tabindex=1
29 i18n-values="placeholder:searchButton" autofocus incremental>
30 </header>
31 <div class="main">
32 <div class="summary" id="downloads-summary">
33 <span id="downloads-summary-text"></span>
34 <span id="downloads-actions">
35 <a is="action-link" id="open-downloads-folder"
36 i18n-content="openDownloadsFolder"></a>
37 <a is="action-link" id="clear-all" i18n-content="clearAll" hidden></a>
38 </span>
39 </div>
40 <div id="downloads-display"></div>
41 <div id="no-downloads-or-results"></div>
42 </div>
43 <command id="clear-all-command" shortcut="Alt-U+0043"><!-- Alt+C -->
44 <if expr="is_macosx">
45 <command id="undo-command" shortcut="Meta-U+005A"><!-- Command+Z -->
46 </if>
47 <if expr="not is_macosx">
48 <command id="undo-command" shortcut="Ctrl-U+005A"><!-- Ctrl+Z -->
49 </if>
50 <div id="templates" hidden>
51 <div class="download">
52 <div class="date-container">
53 <div class="since"></div>
54 <div class="date"></div>
55 </div>
56 <div class="safe">
57 <div class="progress background"></div>
58 <canvas class="progress"></canvas>
59 <img class="icon" alt="">
60 <div class="title-area">
61 <a is="action-link" class="name" focus-type="name"></a>
62 <span class="name"></span>
63 <span class="status"></span>
64 </div>
65 <div class="url-container">
66 <a class="src-url" target="_blank" focus-type="url"></a>
67 </div>
68 <div class="controls">
69 <a is="action-link" class="show" focus-type="show"
70 i18n-content="controlShowInFolder"></a>
71 <a class="retry" focus-type="retry" i18n-content="controlRetry"
72 download></a>
73 <a is="action-link" class="pause" focus-type="pause"
74 i18n-content="controlPause"></a>
75 <a is="action-link" class="resume" focus-type="resume"
76 i18n-content="controlResume"></a>
77 <a is="action-link" class="remove" focus-type="remove"
78 i18n-content="controlRemoveFromList"></a>
79 <a is="action-link" class="cancel" focus-type="cancel"
80 i18n-content="controlCancel"></a>
81 <span class="controlled-by"
82 i18n-values=".innerHTML:controlByExtension"></span>
83 </div>
84 </div>
85 <div class="dangerous">
86 <img class="icon" alt="">
87 <div class="description"></div>
88 <div class="controls">
89 <a is="action-link" class="restore" focus-type="save"
90 i18n-content="dangerRestore"></a>
91 <a is="action-link" class="remove" focus-type="discard"
92 i18n-content="controlRemoveFromList"></a>
93 </div>
94 <button class="save" focus-type="save"
95 i18n-content="dangerSave"></button>
96 <button class="discard" focus-type="discard"
97 i18n-content="dangerDiscard"></button>
98 </div>
99 </div>
100 </div>
101 <script src="chrome://downloads/strings.js"></script>
102 <script src="chrome://resources/js/i18n_template.js"></script>
103 </body>
104 </html>