| OLD | NEW |
| (Empty) |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> | |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> | |
| 6 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | |
| 7 <link rel="import" href="chrome://md-settings/bluetooth_page/bluetooth_dialog_sh
ared_css.html"> | |
| 8 <link rel="import" href="chrome://md-settings/icons.html"> | |
| 9 | |
| 10 <dom-module id="settings-bluetooth-add-device-dialog"> | |
| 11 <template> | |
| 12 <style include="settings-shared"></style> | |
| 13 <style include="bluetooth-dialog-shared"></style> | |
| 14 <div id="dialogOuterDiv" class="layout vertical flex"> | |
| 15 <div id="dialogHeaderDiv" class="settings-box layout horizontal"> | |
| 16 <span id="dialogTitle" class="flex" | |
| 17 i18n-content="bluetoothAddDevicePageTitle"> | |
| 18 </span> | |
| 19 <paper-icon-button icon="settings:close" on-tap="onCancelTap_" | |
| 20 id="close"> | |
| 21 </paper-icon-button> | |
| 22 </div> | |
| 23 <div class="settings-box flex"> | |
| 24 <div id="dialogDeviceList" class="settings-box layout vertical" | |
| 25 on-device-event="onDeviceEvent_"> | |
| 26 <span class="no-devices" hidden$="[[haveDevices_(deviceList)]]" | |
| 27 i18n-content="bluetoothNoDevices"> | |
| 28 </span> | |
| 29 <iron-selector class="flex"> | |
| 30 <template is="dom-repeat" items="[[deviceList]]" | |
| 31 filter="deviceNotPaired_" observe="paired"> | |
| 32 <bluetooth-device-list-item device="[[item]]"> | |
| 33 </bluetooth-device-list-item> | |
| 34 </template> | |
| 35 </iron-selector> | |
| 36 </div> | |
| 37 </div> | |
| 38 <div id="dialogFooterDiv" class="layout horizontal center"> | |
| 39 <div id="scanning" class="layout horizontal center flex" | |
| 40 hidden$="[[!adapterState.discovering]]"> | |
| 41 <paper-spinner active="[[adapterState.discovering]]"> | |
| 42 </paper-spinner> | |
| 43 <span i18n-content="bluetoothScanning"></span> | |
| 44 </div> | |
| 45 <paper-button id="cancel" class="end-justified" | |
| 46 i18n-content="cancel" on-tap="onCancelTap_"> | |
| 47 </paper-button> | |
| 48 </div> | |
| 49 </div> | |
| 50 </template> | |
| 51 <script src="bluetooth_add_device_dialog.js"></script> | |
| 52 </dom-module> | |
| OLD | NEW |