Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Side by Side Diff: components/ntp_tiles/webui/resources/site_tiles_internals.html

Issue 2557103004: Add chrome://site-tiles-internals/ (Closed)
Patch Set: Support iOS Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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">
noyau (Ping after 24h) 2016/12/08 15:51:12 Not allowing for zoom makes for pages that are som
sfiera 2016/12/08 16:44:35 No, there isn't. This is how chrome://{snippets,po
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="site_tiles_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 <if expr="is_ios">
23 <!-- TODO(crbug.com/487000): Remove this once injected by web. -->
24 <script src="chrome://resources/js/ios/web_ui.js"></script>
25 </if>
26 <script src="site_tiles_internals.js"></script>
27 </head>
28
29 <body>
30 <div>
31 <div id="sources" class="section">
32 <h2>Sources</h2>
33 <table class="section-details">
34 <tbody jsselect="topSites">
35 <tr>
36 <th colspan="2">TOP_SITES</th>
37 </tr>
38 <tr>
39 <td class="detail">enabled</td>
40 <td class="value" jsdisplay="$this">yes</td>
41 <td class="value" jsdisplay="!$this">no</td>
42 </tr>
43 <tr>
44 <th colspan="2">SUGGESTIONS_SERVICE</th>
45 </tr>
46 </tbody>
47 <tbody jsselect="suggestionsService">
48 <tr>
49 <td class="detail">enabled</td>
50 <td class="value" jsdisplay="$this">yes</td>
51 <td class="value" jsdisplay="!$this">no</td>
52 </tr>
53 </tbody>
54 <tbody jsselect="popular">
55 <tr>
56 <th colspan="2">POPULAR</th>
57 </tr>
58 <tr jsdisplay="$this">
59 <td class="detail">URL</td>
60 <td class="value"><input id="override-url" type="text" jsvalues="value :overrideURL;placeholder:url"></td>
61 </tr>
62 <tr jsdisplay="$this">
63 <td class="detail">Country</td>
64 <td class="value"><input id="override-country" type="text" jsvalues="v alue:overrideCountry;placeholder:country"></td>
65 </tr>
66 <tr jsdisplay="$this">
67 <td class="detail">Version</td>
68 <td class="value"><input id="override-version" type="text" jsvalues="v alues:overrideVersion;placeholder:version"></td>
69 </tr>
70 <tr jsdisplay="!$this">
71 <td class="detail">enabled</td>
72 <td class="value">no</td>
73 </tr>
74 </tbody>
75 <tbody jsselect="whitelist">
76 <tr>
77 <th colspan="2">WHITELIST</th>
78 </tr>
79 <tr>
80 <td class="detail">enabled</td>
81 <td class="value" jsdisplay="$this">yes</td>
82 <td class="value" jsdisplay="!$this">no</td>
83 </tr>
84 <tr jsskip="true">
85 <th colspan="2"><input id="submit-update" type="submit" value="Update" ></input></th>
86 </tr>
87 </tbody>
88 </table>
89 </div>
90
91 <div id="sites" class="section">
92 <h2>Sites</h2>
93 <table class="section-details">
94 <tbody jsselect="sites">
95 <tr>
96 <th colspan="2" jscontent="title"></th>
97 </tr>
98 <tr>
99 <td class="detail">Source</td>
100 <td class="value" jsdisplay="source &lt; 0">???</td>
101 <td class="value" jsdisplay="source == 0">TOP_SITES</td>
102 <td class="value" jsdisplay="source == 1">SUGGESTIONS_SERVICE</td>
103 <td class="value" jsdisplay="source == 2">POPULAR</td>
104 <td class="value" jsdisplay="source == 3">WHITELIST</td>
105 <td class="value" jsdisplay="source &gt; 3">???</td>
106 </tr>
107 <tr>
108 <td class="detail">URL</td>
109 <td class="value"><a jsvalues="href:url" jscontent="url"></a></td>
110 </tr>
111 </tbody>
112 </table>
113 </div>
114 </div>
115
116 </body>
117 </html>
118
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698