Chromium Code Reviews| Index: components/physical_web/webui/resources/physical_web.html |
| diff --git a/components/physical_web/webui/resources/physical_web.html b/components/physical_web/webui/resources/physical_web.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..61e848812b4a33268314660e6ea7442c50a92cf4 |
| --- /dev/null |
| +++ b/components/physical_web/webui/resources/physical_web.html |
| @@ -0,0 +1,43 @@ |
| +<!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" jsvalues="href:resolvedUrl" jsselect="metadata"> |
| + <div class="physicalWebIcon"> |
| + <img jsvalues="src:icon" /> |
|
Jackie Quinn
2016/08/30 22:37:24
I'm not familiar with jsvalues as an attribute...
mattreynolds
2016/08/30 23:33:23
Yeah, it works fine for me on iOS.
|
| + </div> |
| + <div class="physicalWebText"> |
| + <div class="title" jscontent="title"></div> |
| + <div class="resolvedUrl" jscontent="resolvedUrl"></div> |
| + <div class="description" jscontent="description"></div> |
| + </div> |
| + </a> |
| + |
| +</div> |
| + |
| +<script src="chrome://resources/js/i18n_template.js"></script> |
| +<script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| +</body> |
| +</html> |