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

Unified Diff: components/physical_web/webui/resources/physical_web.html

Issue 2698503004: Add empty list indicator for Physical Web WebUI (Closed)
Patch Set: access hidden attr directly 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 side-by-side diff with in-line comments
Download patch
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
index a5a0ba698842d76e0b2decc0c2242c55fcc6c695..e0515108f20c85e3847d131beea48c1ac6dd7b8c 100644
--- a/components/physical_web/webui/resources/physical_web.html
+++ b/components/physical_web/webui/resources/physical_web.html
@@ -20,7 +20,7 @@
<script src="chrome://physical-web/strings.js"></script>
</head>
<body>
-<div id="body-container" style="visibility:visible">
+<div id="body-container" hidden>
<h1 i18n-content="title"></h1>
@@ -38,6 +38,9 @@
</div>
+<div id="empty-list-container" i18n-content="emptyMessage" hidden>
+</div>
+
<script src="chrome://resources/js/i18n_template.js"></script>
<script src="chrome://resources/js/jstemplate_compiled.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698