| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html i18n-values="dir:textdirection;lang:language"> | 2 <html dir="$i18n{textdirection}" lang="$i18n{language}"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title i18n-content="title"></title> | 5 <title>$i18n{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 |
| 24 <div id="body-container" hidden> | 24 <div id="body-container" hidden> |
| 25 <h1 i18n-content="title"></h1> | 25 <h1>$i18n{title}</h1> |
| 26 <div id="render-container"></div> | 26 <div id="render-container"></div> |
| 27 <div id="empty-list-container" i18n-content="emptyMessage"></div> | 27 <div id="empty-list-container">$i18n{emptyMessage}</div> |
| 28 </div> | 28 </div> |
| 29 | 29 |
| 30 <a hidden id="render-template" class="physicalWebTemplate" jsselect="metadata" | 30 <a hidden id="render-template" class="physicalWebTemplate" jsselect="metadata" |
| 31 jsvalues="href:resolvedUrl;onclick:'physicalWebItemClicked(' + index + ')'"> | 31 jsvalues="href:resolvedUrl;onclick:'physicalWebItemClicked(' + index + ')'"> |
| 32 <div class="physicalWebIcon"> | 32 <div class="physicalWebIcon"> |
| 33 <img jsvalues="src:pageInfoIcon" /> | 33 <img jsvalues="src:pageInfoIcon" /> |
| 34 </div> | 34 </div> |
| 35 <div class="physicalWebText"> | 35 <div class="physicalWebText"> |
| 36 <div class="title" jscontent="pageInfoTitle"></div> | 36 <div class="title" jscontent="pageInfoTitle"></div> |
| 37 <div class="resolvedUrl" jscontent="resolvedUrl"></div> | 37 <div class="resolvedUrl" jscontent="resolvedUrl"></div> |
| 38 <div class="description" jscontent="pageInfoDescription"></div> | 38 <div class="description" jscontent="pageInfoDescription"></div> |
| 39 </div> | 39 </div> |
| 40 </a> | 40 </a> |
| 41 | 41 |
| 42 <script src="chrome://resources/js/i18n_template.js"></script> | 42 <script src="chrome://resources/js/i18n_template.js"></script> |
| 43 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | 43 <script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| 44 </body> | 44 </body> |
| 45 </html> | 45 </html> |
| OLD | NEW |