Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | |
| 2 <polymer-element name="route-details"> | |
| 3 <template> | |
| 4 <link rel="stylesheet" href="route_details.css"> | |
| 5 <div> | |
| 6 <div id="back-to-devices" on-click="{{back}}"> | |
| 7 ‹ Back to device list | |
| 8 </div> | |
| 9 <hr> | |
| 10 <div class="activity"> | |
| 11 <div class="activity-description"> | |
| 12 {{route.description}} | |
| 13 </div> | |
| 14 <div class="activity-status"> | |
| 15 <span>{{route.isMirroring ? "Casting to" : "Playing on"}}</span> | |
| 16 <!-- TODO(apacible): Show the sink's name rather than ID --> | |
|
mark a. foltz
2015/04/08 22:24:54
Can we show the route title (if set) and fall back
apacible
2015/04/24 18:29:08
Added Sink object as part of route details. Rename
| |
| 17 <span class="device-name">{{route.sinkId}}</span> | |
| 18 </div> | |
| 19 </div> | |
| 20 </div> | |
| 21 <div> | |
| 22 <button class="button" on-click="{{closeRoute}}"> | |
| 23 Stop casting | |
| 24 </button> | |
| 25 </div> | |
| 26 </template> | |
| 27 <script src="route_details.js"></script> | |
| 28 </polymer-element> | |
| OLD | NEW |