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

Side by Side Diff: components/physical_web/webui/resources/physical_web.html

Issue 2741823002: Update Physical Web WebUI to show new results automatically (Closed)
Patch Set: fix uma and reorder url list Created 3 years, 9 months 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
1 <!doctype html> 1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language"> 2 <html i18n-values="dir:textdirection;lang:language">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title i18n-content="title"></title>
6 <if expr="is_android or is_ios"> 6 <if expr="is_android or is_ios">
7 <meta name="viewport" content="width=device-width, user-scalable=no"> 7 <meta name="viewport" content="width=device-width, user-scalable=no">
8 </if> 8 </if>
9 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> 9 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
10 <link rel="stylesheet" href="chrome://physical-web/physical_web.css"> 10 <link rel="stylesheet" href="chrome://physical-web/physical_web.css">
11 11
12 <if expr="is_ios"> 12 <if expr="is_ios">
13 <!-- TODO(crbug.com/487000): Remove this once injected by web. --> 13 <!-- TODO(crbug.com/487000): Remove this once injected by web. -->
14 <script src="chrome://resources/js/ios/web_ui.js"></script> 14 <script src="chrome://resources/js/ios/web_ui.js"></script>
15 </if> 15 </if>
16 16
17 <script src="chrome://resources/js/load_time_data.js"></script> 17 <script src="chrome://resources/js/load_time_data.js"></script>
18 <script src="chrome://resources/js/util.js"></script> 18 <script src="chrome://resources/js/util.js"></script>
19 <script src="chrome://physical-web/physical_web.js"></script> 19 <script src="chrome://physical-web/physical_web.js"></script>
20 <script src="chrome://physical-web/strings.js"></script> 20 <script src="chrome://physical-web/strings.js"></script>
21 </head> 21 </head>
22 <body> 22 <body>
23
23 <div id="body-container" style="visibility:visible"> 24 <div id="body-container" style="visibility:visible">
25 <h1 i18n-content="title"></h1>
26 <div id="render-container"></div>
27 </div>
24 28
25 <h1 i18n-content="title"></h1> 29 <a hidden id="render-template" class="physicalWebTemplate" jsselect="metadata"
26 30 jsvalues="href:resolvedUrl;onclick:'physicalWebItemClicked(' + index + ')'">
27 <a class="physicalWebTemplate" id="physicalWebTemplate" jsselect="metadata" 31 <div class="physicalWebIcon">
28 jsvalues="href:resolvedUrl;onclick:'physicalWebItemClicked(' + index + ')' "> 32 <img jsvalues="src:pageInfoIcon" />
29 <div class="physicalWebIcon"> 33 </div>
30 <img jsvalues="src:pageInfoIcon" /> 34 <div class="physicalWebText">
31 </div> 35 <div class="title" jscontent="pageInfoTitle"></div>
32 <div class="physicalWebText"> 36 <div class="resolvedUrl" jscontent="resolvedUrl"></div>
33 <div class="title" jscontent="pageInfoTitle"></div> 37 <div class="description" jscontent="pageInfoDescription"></div>
34 <div class="resolvedUrl" jscontent="resolvedUrl"></div> 38 </div>
35 <div class="description" jscontent="pageInfoDescription"></div> 39 </a>
36 </div>
37 </a>
38
39 </div>
40 40
41 <script src="chrome://resources/js/i18n_template.js"></script> 41 <script src="chrome://resources/js/i18n_template.js"></script>
42 <script src="chrome://resources/js/jstemplate_compiled.js"></script> 42 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698