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 </if> |
| 13 <title>Site Tiles Internals</title> |
| 14 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| 15 <link rel="stylesheet" href="chrome://resources/css/list.css"> |
| 16 <link rel="stylesheet" href="site_tiles_internals.css"> |
| 17 <script src="chrome://resources/js/cr.js"></script> |
| 18 <script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| 19 <script src="chrome://resources/js/load_time_data.js"></script> |
| 20 <script src="chrome://resources/js/util.js"></script> |
| 21 <if expr="is_ios"> |
| 22 <!-- TODO(crbug.com/487000): Remove this once injected by web. --> |
| 23 <script src="chrome://resources/js/ios/web_ui.js"></script> |
| 24 </if> |
| 25 <script src="site_tiles_internals.js"></script> |
| 26 </head> |
| 27 |
| 28 <body> |
| 29 <div> |
| 30 <div id="sources" class="section"> |
| 31 <h2>Sources</h2> |
| 32 <table class="section-details"> |
| 33 <tbody jsselect="topSites"> |
| 34 <tr> |
| 35 <th colspan="2">TOP_SITES</th> |
| 36 </tr> |
| 37 <tr> |
| 38 <td class="detail">enabled</td> |
| 39 <td class="value" jsdisplay="$this">yes</td> |
| 40 <td class="value" jsdisplay="!$this">no</td> |
| 41 </tr> |
| 42 <tr> |
| 43 <th colspan="2">SUGGESTIONS_SERVICE</th> |
| 44 </tr> |
| 45 </tbody> |
| 46 <tbody jsselect="suggestionsService"> |
| 47 <tr> |
| 48 <td class="detail">enabled</td> |
| 49 <td class="value" jsdisplay="$this">yes</td> |
| 50 <td class="value" jsdisplay="!$this">no</td> |
| 51 </tr> |
| 52 </tbody> |
| 53 <tbody jsselect="popular"> |
| 54 <tr> |
| 55 <th colspan="2">POPULAR</th> |
| 56 </tr> |
| 57 <tr jsdisplay="$this"> |
| 58 <td class="detail">URL</td> |
| 59 <td class="value"><input id="override-url" type="text" jsvalues="value
:overrideURL;placeholder:url"></td> |
| 60 </tr> |
| 61 <tr jsdisplay="$this"> |
| 62 <td class="detail">Country</td> |
| 63 <td class="value"><input id="override-country" type="text" jsvalues="v
alue:overrideCountry;placeholder:country"></td> |
| 64 </tr> |
| 65 <tr jsdisplay="$this"> |
| 66 <td class="detail">Version</td> |
| 67 <td class="value"><input id="override-version" type="text" jsvalues="v
alues:overrideVersion;placeholder:version"></td> |
| 68 </tr> |
| 69 <tr jsdisplay="!$this"> |
| 70 <td class="detail">enabled</td> |
| 71 <td class="value">no</td> |
| 72 </tr> |
| 73 </tbody> |
| 74 <tbody jsselect="whitelist"> |
| 75 <tr> |
| 76 <th colspan="2">WHITELIST</th> |
| 77 </tr> |
| 78 <tr> |
| 79 <td class="detail">enabled</td> |
| 80 <td class="value" jsdisplay="$this">yes</td> |
| 81 <td class="value" jsdisplay="!$this">no</td> |
| 82 </tr> |
| 83 <tr jsskip="true"> |
| 84 <th colspan="2"><input id="submit-update" type="submit" value="Update"
></input></th> |
| 85 </tr> |
| 86 </tbody> |
| 87 </table> |
| 88 </div> |
| 89 |
| 90 <div id="sites" class="section"> |
| 91 <h2>Sites</h2> |
| 92 <table class="section-details"> |
| 93 <tbody jsselect="sites"> |
| 94 <tr> |
| 95 <th colspan="2" jscontent="title"></th> |
| 96 </tr> |
| 97 <tr> |
| 98 <td class="detail">Source</td> |
| 99 <td class="value" jsdisplay="source < 0">???</td> |
| 100 <td class="value" jsdisplay="source == 0">TOP_SITES</td> |
| 101 <td class="value" jsdisplay="source == 1">SUGGESTIONS_SERVICE</td> |
| 102 <td class="value" jsdisplay="source == 2">POPULAR</td> |
| 103 <td class="value" jsdisplay="source == 3">WHITELIST</td> |
| 104 <td class="value" jsdisplay="source > 3">???</td> |
| 105 </tr> |
| 106 <tr> |
| 107 <td class="detail">URL</td> |
| 108 <td class="value"><a jsvalues="href:url" jscontent="url"></a></td> |
| 109 </tr> |
| 110 </tbody> |
| 111 </table> |
| 112 </div> |
| 113 </div> |
| 114 |
| 115 </body> |
| 116 </html> |
| 117 |
OLD | NEW |