Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!-- | |
| 2 Copyright 2015 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. | |
| 5 --> | |
| 6 <!DOCTYPE html> | |
| 7 <html> | |
| 8 <head> | |
| 9 <meta charset="utf-8"> | |
| 10 <if expr="is_android or is_ios"> | |
| 11 <meta name="viewport" content="width=device-width, initial-scale=1.0, | |
| 12 maximum-scale=1.0, user-scalable=no"> | |
| 13 </if> | |
| 14 <title>Popular Sites Internals</title> | |
| 15 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | |
| 16 <link rel="stylesheet" href="chrome://resources/css/list.css"> | |
| 17 <link rel="stylesheet" href="popular_sites_internals.css"> | |
| 18 <script src="chrome://resources/js/cr.js"></script> | |
| 19 <script src="chrome://resources/js/load_time_data.js"></script> | |
| 20 <script src="chrome://resources/js/util.js"></script> | |
| 21 </head> | |
| 22 | |
| 23 <body> | |
| 24 <div id='info'> | |
| 25 <div class="section" jsskip="true"> | |
| 26 <h2>Download</h2> | |
| 27 <form id="download"> | |
|
Bernhard Bauer
2015/09/11 16:00:06
I don't think you even need the <form> if you neve
Marc Treib
2015/09/22 11:13:56
But I do submit it?!
Bernhard Bauer
2015/09/22 13:49:21
Huh. I guess I'm so used to this being done withou
Marc Treib
2015/09/22 14:02:22
Hm yeah, I guess that would be a bit simpler. I ju
Bernhard Bauer
2015/09/22 14:10:23
Hm... a form gives you:
* A convenient way to get
Marc Treib
2015/09/22 14:20:34
Done.
| |
| 28 <table class="section-details"> | |
| 29 <tr> | |
| 30 <td class="detail">Country</td> | |
| 31 <td class="value"><input id="country-input" type="text"></td> | |
| 32 </tr> | |
| 33 <tr> | |
| 34 <td class="detail">Version</td> | |
| 35 <td class="value"><input id="version-input" type="text"></td> | |
| 36 </tr> | |
| 37 <tr> | |
| 38 <td class="detail"><input type="submit" value="Download"></td> | |
| 39 <td id="download-result" class="value"></td> | |
| 40 </tr> | |
| 41 </table> | |
| 42 </form> | |
| 43 </div> | |
| 44 | |
| 45 <div id='sites' class="section"> | |
|
Bernhard Bauer
2015/09/11 16:00:06
Use double quotes.
Marc Treib
2015/09/22 11:13:56
Done.
| |
| 46 <h2>Sites</h2> | |
| 47 <table class="section-details"> | |
| 48 <tr jsselect="sites"> | |
| 49 <td class="detail" jscontent="title"></td> | |
| 50 <td class="value" jscontent="url"></td> | |
| 51 </tr> | |
| 52 </table> | |
| 53 </div> | |
| 54 </div> | |
| 55 | |
| 56 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | |
|
Bernhard Bauer
2015/09/11 16:00:06
I think you could move these scripts to the head,
Marc Treib
2015/09/22 11:13:56
Done.
| |
| 57 <script src="popular_sites_internals.js"></script> | |
| 58 </body> | |
| 59 </html> | |
| 60 | |
| OLD | NEW |