| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 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"> | 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/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 6 <link rel="import" href="chrome://md-settings/bluetooth_page/bluetooth_dialog_sh
ared_css.html"> | 6 <link rel="import" href="chrome://md-settings/bluetooth_page/bluetooth_dialog_sh
ared_css.html"> |
| 7 <link rel="import" href="chrome://md-settings/icons.html"> | 7 <link rel="import" href="chrome://md-settings/icons.html"> |
| 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-bluetooth-pair-device-dialog"> | 10 <dom-module id="settings-bluetooth-pair-device-dialog"> |
| 11 <template> | 11 <template> |
| 12 <style include="settings-shared"></style> | 12 <style include="settings-shared"></style> |
| 13 <style include="bluetooth-dialog-shared"></style> | 13 <style include="bluetooth-dialog-shared"></style> |
| 14 <div id="dialogOuterDiv" class="layout vertical flex"> | 14 <div id="dialogOuterDiv" class="layout vertical flex"> |
| 15 <div id="dialogHeaderDiv" class="settings-box layout horizontal center"> | 15 <div id="dialogHeaderDiv" class="settings-box layout horizontal center"> |
| 16 <span id="dialogTitle" class="flex" | 16 <span id="dialogTitle" class="flex"> |
| 17 i18n-content="bluetoothPairDevicePageTitle"> | 17 $i18n{bluetoothPairDevicePageTitle} |
| 18 </span> | 18 </span> |
| 19 <paper-icon-button id="close" icon="settings:close" | 19 <paper-icon-button id="close" icon="settings:close" |
| 20 on-tap="onCancelTap_"> | 20 on-tap="onCancelTap_"> |
| 21 </paper-icon-button> | 21 </paper-icon-button> |
| 22 </div> | 22 </div> |
| 23 <div id="pairing" | 23 <div id="pairing" |
| 24 class="settings-blox layout vertical center center-justified flex"> | 24 class="settings-blox layout vertical center center-justified flex"> |
| 25 <div id="dialogMessage"> | 25 <div id="dialogMessage"> |
| 26 [[getMessage_(pairingDevice, pairingEvent)]] | 26 [[getMessage_(pairingDevice, pairingEvent)]] |
| 27 </div> | 27 </div> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 38 [[getPinDigit_(pairingEvent, index)]] | 38 [[getPinDigit_(pairingEvent, index)]] |
| 39 </span> | 39 </span> |
| 40 </template> | 40 </template> |
| 41 <span class$="[[getPinClass_(pairingEvent, -1)]]" | 41 <span class$="[[getPinClass_(pairingEvent, -1)]]" |
| 42 hidden="[[showAcceptReject_(pairingEvent)]]"> | 42 hidden="[[showAcceptReject_(pairingEvent)]]"> |
| 43 [[i18n('bluetoothEnterKey')]] | 43 [[i18n('bluetoothEnterKey')]] |
| 44 </span> | 44 </span> |
| 45 </div> | 45 </div> |
| 46 </div> | 46 </div> |
| 47 <div id="dialogFooterDiv" class="layout horizontal center end-justified"> | 47 <div id="dialogFooterDiv" class="layout horizontal center end-justified"> |
| 48 <paper-button i18n-content="bluetoothAccept" | 48 <paper-button |
| 49 hidden$="[[!showAcceptReject_(pairingEvent)]]" | 49 hidden$="[[!showAcceptReject_(pairingEvent)]]" |
| 50 on-tap="onAcceptTap_"> | 50 on-tap="onAcceptTap_">$i18n{bluetoothAccept}</paper-button> |
| 51 </paper-button> | 51 <paper-button |
| 52 <paper-button i18n-content="bluetoothReject" | |
| 53 hidden$="[[!showAcceptReject_(pairingEvent)]]" | 52 hidden$="[[!showAcceptReject_(pairingEvent)]]" |
| 54 on-tap="onRejectTap_"> | 53 on-tap="onRejectTap_">$i18n{bluetoothReject}</paper-button> |
| 55 </paper-button> | 54 <paper-button |
| 56 <paper-button i18n-content="bluetoothConnect" | |
| 57 hidden$="[[!showConnect_(pairingEvent)]]" | 55 hidden$="[[!showConnect_(pairingEvent)]]" |
| 58 on-tap="onConnectTap_"> | 56 on-tap="onConnectTap_">$i18n{bluetoothConnect}</paper-button> |
| 59 </paper-button> | 57 <paper-button |
| 60 <paper-button i18n-content="bluetoothDismiss" | |
| 61 hidden$="[[!showDismiss_(pairingDevice, pairingEvent)]]" | 58 hidden$="[[!showDismiss_(pairingDevice, pairingEvent)]]" |
| 62 on-tap="onDismissTap_"> | 59 on-tap="onDismissTap_">$i18n{bluetoothDismiss}</paper-button> |
| 63 </paper-button> | 60 <paper-button on-tap="onCancelTap_" |
| 64 <paper-button i18n-content="cancel" on-tap="onCancelTap_" | |
| 65 hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]"> | 61 hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]"> |
| 62 $i18n{cancel} |
| 66 </paper-button> | 63 </paper-button> |
| 67 </div> | 64 </div> |
| 68 </div> | 65 </div> |
| 69 </template> | 66 </template> |
| 70 <script src="bluetooth_pair_device_dialog.js"></script> | 67 <script src="bluetooth_pair_device_dialog.js"></script> |
| 71 </dom-module> | 68 </dom-module> |
| OLD | NEW |