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

Unified Diff: chrome/browser/resources/bluetooth_internals/bluetooth_internals.html

Issue 2418343002: bluetooth: Add device list UI for chrome://bluetooth-internals. (Closed)
Patch Set: Update comments Created 4 years, 2 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: chrome/browser/resources/bluetooth_internals/bluetooth_internals.html
diff --git a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html
index 785afb347cd4071ab1910b39d311f1bb1be3ad79..28b85ba406ae71df750552831aa4d12064560a70 100644
--- a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html
+++ b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html
@@ -1,17 +1,43 @@
<!DOCTYPE HTML>
<html>
+<!-- TODO(crbug.com/658814): Localize strings. -->
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bluetooth Internals</title>
+ <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
<link rel="stylesheet" href="bluetooth_internals.css">
+ <script src="chrome://resources/js/assert.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
<script src="bluetooth_internals.js"></script>
</head>
<body>
<header>
- <h1>Bluetooth Internals</h1>
+ <div class="title">
+ Bluetooth Internals
+ </div>
</header>
+ <table id="device-table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Address</th>
+ <th>Latest RSSI</th>
+ </tr>
+ </thead>
+ <tbody id="device-list">
+ </tbody>
+ </table>
</body>
+<template id="device-row-template">
+ <tr class="device-row">
+ <td class="device-name" data-label="Name"></td>
+ <td class="device-address" data-label="Address"></td>
+ <td class="device-rssi" data-label="Latest RSSI">Unknown</td>
+ </tr>
+</template>
+
</html>

Powered by Google App Engine
This is Rietveld 408576698