| 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/jstemplate_compiled.js"></script> | |
| 20 <script src="chrome://resources/js/load_time_data.js"></script> | |
| 21 <script src="chrome://resources/js/util.js"></script> | |
| 22 <script src="popular_sites_internals.js"></script> | |
| 23 </head> | |
| 24 | |
| 25 <body> | |
| 26 <div id="info"> | |
| 27 <div class="section" jsskip="true"> | |
| 28 <h2>Download</h2> | |
| 29 <table class="section-details"> | |
| 30 <tr> | |
| 31 <td class="detail">URL (takes precedence over Country and Version)</td> | |
| 32 <td class="value"><input id="override-url" type="text"></td> | |
| 33 </tr> | |
| 34 <tr> | |
| 35 <td class="detail">Override Country</td> | |
| 36 <td class="value"><input id="override-country" type="text"></td> | |
| 37 </tr> | |
| 38 <tr> | |
| 39 <td class="detail">Override Version</td> | |
| 40 <td class="value"><input id="override-version" type="text"></td> | |
| 41 </tr> | |
| 42 <tr> | |
| 43 <td class="detail"> | |
| 44 <input id="submit-update" type="submit" value="Update"> | |
| 45 </td> | |
| 46 <td id="download-result" class="value"></td> | |
| 47 </tr> | |
| 48 </table> | |
| 49 </div> | |
| 50 | |
| 51 <div class="section"> | |
| 52 <h2>Info</h2> | |
| 53 <table class="section-details"> | |
| 54 <tr> | |
| 55 <td class="detail">URL</td> | |
| 56 <td class="value" jscontent="url"></td> | |
| 57 </tr> | |
| 58 </table> | |
| 59 </div> | |
| 60 | |
| 61 <div class="section"> | |
| 62 <h2>Sites</h2> | |
| 63 <table class="section-details"> | |
| 64 <tr jsselect="sites"> | |
| 65 <td class="detail" jscontent="title"></td> | |
| 66 <td class="value" jscontent="url"></td> | |
| 67 </tr> | |
| 68 <tr jsskip="true"> | |
| 69 <td class="detail"> | |
| 70 <input id="view-json" type="submit" value="View JSON"> | |
| 71 </td> | |
| 72 <td class="value"><pre id="json-value"></pre></td> | |
| 73 </tr> | |
| 74 </table> | |
| 75 </div> | |
| 76 </div> | |
| 77 | |
| 78 </body> | |
| 79 </html> | |
| 80 | |
| OLD | NEW |