1 <link href=
"chrome://resources/polymer/polymer/polymer.html" rel=
"import">
2 <link href=
"chrome://resources/polymer/paper-icon-button/paper-icon-button.html" rel=
"import">
3 <link href=
"chrome://resources/polymer/paper-shadow/paper-shadow.html" rel=
"import">
4 <link href=
"chrome://resources/polymer/core-tooltip/core-tooltip.html" rel=
"import">
5 <link href=
"chrome://resources/polymer/core-icon/core-icon.html" rel=
"import">
6 <link href=
"chrome://resources/polymer/core-icons/device-icons.html" rel=
"import">
7 <link href=
"chrome://resources/polymer/core-icons/hardware-icons.html" rel=
"import">
8 <link href=
"chrome://resources/polymer/core-icons/notification-icons.html" rel=
"import">
10 <polymer-element name=
"device-list" layout vertical
>
14 color: rgb(
153,
153,
153);
21 background-color: white;
25 border-bottom:
1px solid rgba(
0,
0,
0,
0.12);
38 text-overflow: ellipsis;
52 paper-icon-button, core-icon {
56 paper-icon-button:hover, core-icon:hover {
60 .ineligibility-icons {
69 core-tooltip::shadow .core-tooltip {
76 <div class=
"devices-label">{{label}}
</div>
79 <template repeat=
"{{device in devices}}">
80 <div class=
"item" layout horizontal center
>
81 <paper-icon-button class=
"end-icon"
82 icon=
"hardware:phonelink{{!device.unlockKey ? '-off' : ''}}">
86 <div layout horizontal
>
87 <span class=
"name">{{device.friendlyDeviceName}}
</span>
88 <core-tooltip position=
"top">
89 <core-icon icon=
"lock-open" class=
"phone-lock"
90 hidden?=
"{{!device.remoteState}}">
95 {{ device.remoteState.userPresent }}
99 {{ device.remoteState.secureScreenLock }}
103 {{ device.remoteState.trustAgent }}
108 <div class=
"public-key">{{device.publicKey}}
</div>
112 <div class=
"ineligibility-icons"
113 hidden?=
"{{!device.ineligibilityReasons}}">
114 <template repeat=
"{{ reason in device.ineligibilityReasons }}">
115 <core-tooltip label=
"{{prettifyReason_(reason)}}" position=top
>
116 <core-icon icon=
"{{ getIconForIneligibilityReason_(reason) }}"
117 class=
"ineligibility-icon">
122 <paper-icon-button class=
"end-icon"
123 hidden?=
"{{!device.unlockKey}}"
124 icon=
"{{ getIconForConnection_(device.connectionStatus) }}">
130 <script src=
"device-list.js"></script>