OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <!-- X-WebKit-CSP is our development name for Content-Security-Policy. |
| 6 TODO(tsepez) rename when Content-security-policy is done. |
| 7 TODO(tsepez) remove unsafe-eval when bidichecker_packaged.js fixed. |
| 8 --> |
| 9 <meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome://
resources 'self' 'unsafe-eval'"> |
5 <title i18n-content="title"></title> | 10 <title i18n-content="title"></title> |
6 <link rel="icon" href="../../app/theme/downloads_favicon.png"> | 11 <link rel="icon" href="../../app/theme/downloads_favicon.png"> |
7 <style> | 12 <style> |
8 body { | 13 body { |
9 background-color: white; | 14 background-color: white; |
10 color: black; | 15 color: black; |
11 margin: 10px; | 16 margin: 10px; |
12 } | 17 } |
13 | 18 |
14 .header { | 19 .header { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 background-color: #ebeff9; | 177 background-color: #ebeff9; |
173 margin-right: 4px; | 178 margin-right: 4px; |
174 } | 179 } |
175 | 180 |
176 .footer { | 181 .footer { |
177 height: 24px; | 182 height: 24px; |
178 } | 183 } |
179 | 184 |
180 </style> | 185 </style> |
181 <script src="chrome://resources/js/local_strings.js"></script> | 186 <script src="chrome://resources/js/local_strings.js"></script> |
182 <script src="chrome://downloads/downloads.js"></script> | |
183 </head> | 187 </head> |
184 <body onload="load();" i18n-values=".style.fontFamily:fontfamily;.style.fontSize
:fontsize"> | 188 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
185 <div class="header"> | 189 <div class="header"> |
186 <a href="" onclick="setSearch(''); return false;"> | 190 <a id="search-link" href=""> |
187 <img src="shared/images/downloads_section.png" | 191 <img src="shared/images/downloads_section.png" |
188 width="67" height="67" class="logo" border="0" /></a> | 192 width="67" height="67" class="logo" border="0" /></a> |
189 <form method="post" action="" | 193 <form id="search-form" method="post" action="" class="form"> |
190 onsubmit="setSearch(this.term.value); return false;" | |
191 class="form"> | |
192 <input type="text" name="term" id="term" /> | 194 <input type="text" name="term" id="term" /> |
193 <input type="submit" name="submit" i18n-values="value:searchbutton" /> | 195 <input type="submit" name="submit" i18n-values="value:searchbutton" /> |
194 </form> | 196 </form> |
195 </div> | 197 </div> |
196 <div class="main"> | 198 <div class="main"> |
197 <div id="downloads-summary"> | 199 <div id="downloads-summary"> |
198 <span id="downloads-summary-text" i18n-content="downloads">Downloads</span> | 200 <span id="downloads-summary-text" i18n-content="downloads">Downloads</span> |
199 <a id="clear-all" href="" onclick="clearAll();" i18n-content="clear_all">Cle
ar All</a> | 201 <a id="clear-all" href="" i18n-content="clear_all">Clear All</a> |
200 </div> | 202 </div> |
201 <div id="downloads-display"></div> | 203 <div id="downloads-display"></div> |
202 </div> | 204 </div> |
203 <div class="footer"> | 205 <div class="footer"> |
204 </div> | 206 </div> |
| 207 <script src="chrome://downloads/downloads.js"></script> |
205 <script src="chrome://downloads/strings.js"></script> | 208 <script src="chrome://downloads/strings.js"></script> |
206 <script src="chrome://resources/js/i18n_template.js"></script> | 209 <script src="chrome://resources/js/i18n_template.js"></script> |
207 <script src="chrome://resources/js/i18n_process.js"></script> | 210 <script src="chrome://resources/js/i18n_process.js"></script> |
208 </body> | 211 </body> |
209 </html> | 212 </html> |
OLD | NEW |