1 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-spinner/paper-spinner.html">
3 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_expand_button/cr_expand_button.html">
4 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_toggle_button/cr_toggle_button.html">
5 <link rel=
"import" href=
"network_list.html">
6 <link rel=
"import" href=
"network_list_item.html">
8 <dom-module name=
"network-summary-item">
9 <link rel=
"import" type=
"css" href=
"network_summary_item.css">
11 <div class=
"layout vertical" hidden$=
"[[isHidden]]">
12 <div id=
"details" class=
"layout horizontal center"
13 on-click=
"onDetailsClicked_">
14 <network-list-item id=
"detailsItem"
15 network-state=
"[[networkState]]">
17 <paper-spinner active=
"[[showScanning_(deviceState)]]"></paper-spinner>
18 <span class=
"flex"></span>
19 <div id=
"buttons" class=
"layout horizontal">
20 <cr-expand-button id=
"expandListButton"
21 class$=
"[[getExpandButtonClass_(deviceState, networkStateList)]]"
22 expanded=
"{{expanded}}">
24 <cr-toggle-button id=
"deviceEnabledButton"
25 checked=
"[[deviceIsEnabled_(deviceState)]]"
26 class$=
"[[getDeviceEnabledButtonClass_(deviceState)]]"
27 on-click=
"onDeviceEnabledToggled_">
31 <network-list id=
"networkList" class=
"layout vertical"
32 max-height=
"[[maxHeight]]"
33 networks=
"[[networkStateList]]"
34 on-selected=
"onListItemSelected_"
35 opened=
"{{expanded}}">
39 <script src=
"network_summary_item.js"></script>