summaryrefslogtreecommitdiff
path: root/chromium/components/physical_web/webui/resources/physical_web.html
blob: a5a0ba698842d76e0b2decc0c2242c55fcc6c695 (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
<!doctype html>
<html i18n-values="dir:textdirection;lang:language">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<if expr="is_android or is_ios">
<meta name="viewport" content="width=device-width, user-scalable=no">
</if>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="chrome://physical-web/physical_web.css">

<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="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://physical-web/physical_web.js"></script>
<script src="chrome://physical-web/strings.js"></script>
</head>
<body>
<div id="body-container" style="visibility:visible">

  <h1 i18n-content="title"></h1>

  <a class="physicalWebTemplate" id="physicalWebTemplate" jsselect="metadata"
      jsvalues="href:resolvedUrl;onclick:'physicalWebItemClicked(' + index + ')'">
    <div class="physicalWebIcon">
      <img jsvalues="src:pageInfoIcon" />
    </div>
    <div class="physicalWebText">
      <div class="title" jscontent="pageInfoTitle"></div>
      <div class="resolvedUrl" jscontent="resolvedUrl"></div>
      <div class="description" jscontent="pageInfoDescription"></div>
    </div>
  </a>

</div>

<script src="chrome://resources/js/i18n_template.js"></script>
<script src="chrome://resources/js/jstemplate_compiled.js"></script>
</body>
</html>