| 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 | |
| 9 <dom-module id="settings-bluetooth-add-device-dialog"> | |
| 10 <template> | |
| 11 <style include="settings-shared"></style> | |
| 12 <style include="bluetooth-dialog-shared"></style> | |
| 13 <div id="dialogOuterDiv" class="layout vertical flex"> | |
| 14 <div id="dialogHeaderDiv" class="settings-box layout horizontal"> | |
| 15 <span id="dialogTitle" class="flex" | |
| 16 i18n-content="bluetoothAddDevicePageTitle"> | |
| 17 </span> | |
| 18 <paper-icon-button icon="close" on-tap="onCancelTap_" id="close"> | |
| 19 </paper-icon-button> | |
| 20 </div> | |
| 21 <div class="settings-box flex"> | |
| 22 <div id="dialogDeviceList" class="settings-box layout vertical" | |
| 23 on-device-event="onDeviceEvent_"> | |
| 24 <span class="no-devices" hidden$="[[haveDevices_(deviceList)]]" | |
| 25 i18n-content="bluetoothNoDevices"> | |
| 26 </span> | |
| 27 <iron-selector class="flex"> | |
| 28 <template is="dom-repeat" items="[[deviceList]]" | |
| 29 filter="deviceNotPaired_" observe="paired"> | |
| 30 <bluetooth-device-list-item device="[[item]]"> | |
| 31 </bluetooth-device-list-item> | |
| 32 </template> | |
| 33 </iron-selector> | |
| 34 </div> | |
| 35 </div> | |
| 36 <div id="dialogFooterDiv" class="layout horizontal center"> | |
| 37 <div id="scanning" class="layout horizontal center flex" | |
| 38 hidden$="[[!adapterState.discovering]]"> | |
| 39 <paper-spinner active="[[adapterState.discovering]]"> | |
| 40 </paper-spinner> | |
| 41 <span i18n-content="bluetoothScanning"></span> | |
| 42 </div> | |
| 43 <paper-button id="cancel" class="end-justified" | |
| 44 i18n-content="cancel" on-tap="onCancelTap_"> | |
| 45 </paper-button> | |
| 46 </div> | |
| 47 </div> | |
| 48 </template> | |
| 49 <script src="bluetooth_add_device_dialog.js"></script> | |
| 50 </dom-module> | |
| OLD | NEW |