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

Side by Side Diff: chrome/browser/resources/bluetooth_internals/bluetooth_internals.html

Issue 2446823002: bluetooth: Componentize device list in chrome://bluetooth-internals. (Closed)
Patch Set: Created 4 years, 1 month 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> 2 <html>
3 3
4 <!-- TODO(crbug.com/658814): Localize strings. --> 4 <!-- TODO(crbug.com/658814): Localize strings. -->
5 <head> 5 <head>
6 <meta charset="utf-8"> 6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1"> 7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <title>Bluetooth Internals</title> 8 <title>Bluetooth Internals</title>
9 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> 9 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
10 <link rel="stylesheet" href="bluetooth_internals.css"> 10 <link rel="stylesheet" href="bluetooth_internals.css">
11 <link rel="import" href="chrome://resources/html/cr/ui.html">
12
11 <script src="chrome://resources/js/assert.js"></script> 13 <script src="chrome://resources/js/assert.js"></script>
14 <script src="chrome://resources/js/cr/event_target.js"></script>
15 <script src="chrome://resources/js/cr/ui/array_data_model.js"></script>
12 <script src="chrome://resources/js/util.js"></script> 16 <script src="chrome://resources/js/util.js"></script>
17 <script src="device.js"></script>
13 <script src="bluetooth_internals.js"></script> 18 <script src="bluetooth_internals.js"></script>
14 </head> 19 </head>
15 20
16 <body> 21 <body>
17 <header> 22 <header>
18 <div class="title"> 23 <div class="title">
19 Bluetooth Internals 24 Bluetooth Internals
20 </div> 25 </div>
21 </header> 26 </header>
22 <table id="device-table"> 27 </body>
28
29 <template id="table-template">
30 <table>
23 <thead> 31 <thead>
24 <tr> 32 <tr>
25 <th>Name</th> 33 <th data-field="name_for_display">Name</th>
26 <th>Address</th> 34 <th data-field="address">Address</th>
27 <th>Latest RSSI</th> 35 <th data-field="rssi.value">Latest RSSI</th>
28 </tr> 36 </tr>
29 </thead> 37 </thead>
30 <tbody id="device-list"> 38 <tbody class="table-body">
31 </tbody> 39 </tbody>
32 </table> 40 </table>
33 </body>
34
35 <template id="device-row-template">
36 <tr class="device-row">
37 <td class="device-name" data-label="Name"></td>
38 <td class="device-address" data-label="Address"></td>
39 <td class="device-rssi" data-label="Latest RSSI">Unknown</td>
40 </tr>
41 </template> 41 </template>
42 42
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698