summaryrefslogtreecommitdiff
path: root/chromium/components/ntp_tiles/webui/resources/popular_sites_internals.html
blob: d82e0940dd0238b921d46b402b38b54890aec854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!--
Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<if expr="is_android or is_ios">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
                               maximum-scale=1.0, user-scalable=no">
</if>
<title>Popular Sites Internals</title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="chrome://resources/css/list.css">
<link rel="stylesheet" href="popular_sites_internals.css">
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/jstemplate_compiled.js"></script>
<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/util.js"></script>
<if expr="is_ios">
<!-- TODO(crbug.com/487000): Remove this once injected by web. -->
<script src="chrome://resources/js/ios/web_ui.js"></script>
</if>
<script src="popular_sites_internals.js"></script>
</head>

<body>
<div id="info">
  <div class="section" jsskip="true">
    <h2>Download</h2>
    <table class="section-details">
      <tr>
        <td class="detail">URL (takes precedence over Country and Version)</td>
        <td class="value"><input id="override-url" type="text"></td>
      </tr>
      <tr>
        <td class="detail">Override Country</td>
        <td class="value"><input id="override-country" type="text"></td>
      </tr>
      <tr>
        <td class="detail">Override Version</td>
        <td class="value"><input id="override-version" type="text"></td>
      </tr>
      <tr>
        <td class="detail">
          <input id="submit-update" type="submit" value="Update">
        </td>
        <td id="download-result" class="value"></td>
      </tr>
    </table>
  </div>

  <div class="section">
    <h2>Info</h2>
    <table class="section-details">
      <tr>
        <td class="detail">URL</td>
        <td class="value" jscontent="url"></td>
      </tr>
    </table>
  </div>

  <div class="section">
    <h2>Sites</h2>
    <table class="section-details">
      <tr jsselect="sites">
        <td class="detail" jscontent="title"></td>
        <td class="value" jscontent="url"></td>
      </tr>
      <tr jsskip="true">
        <td class="detail">
          <input id="view-json" type="submit" value="View JSON">
        </td>
        <td class="value"><pre id="json-value"></pre></td>
      </tr>
    </table>
  </div>
</div>

</body>
</html>