Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.html

Issue 1954383002: MD Settings: combine bluetooth adding and pairing dialogs into one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whoops, html deps Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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/paper-button/paper-butt on.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">
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">
8 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
9
10 <dom-module id="settings-bluetooth-pair-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 center">
16 <span id="dialogTitle" class="flex"
17 i18n-content="bluetoothPairDevicePageTitle">
18 </span>
19 <paper-icon-button id="close" icon="settings:close"
20 on-tap="onCancelTap_">
21 </paper-icon-button>
22 </div>
23 <div id="pairing"
24 class="settings-blox layout vertical center center-justified flex">
25 <div id="dialogMessage">
26 [[getMessage_(pairingDevice, pairingEvent)]]
27 </div>
28 <div hidden$="[[!showEnterPincode_(pairingEvent)]]">
29 <paper-input id="pincode" minlength="1" maxlength="16" type="text">
30 </div>
31 <div hidden$="[[!showEnterPasskey_(pairingEvent)]]">
32 <paper-input id="passkey" minlength="6" maxlength="6" type="text">
33 </div>
34 <div id="pinDiv" class="layout horizontal center center-justified"
35 hidden="[[!showDisplayPassOrPin_(pairingEvent)]]">
36 <template is="dom-repeat" items="[[digits]]">
37 <span class$="[[getPinClass_(pairingEvent, index)]]">
38 [[getPinDigit_(pairingEvent, index)]]
39 </span>
40 </template>
41 <span class$="[[getPinClass_(pairingEvent, -1)]]"
42 hidden="[[showAcceptReject_(pairingEvent)]]">
43 [[i18n('bluetoothEnterKey')]]
44 </span>
45 </div>
46 </div>
47 <div id="dialogFooterDiv" class="layout horizontal center end-justified">
48 <paper-button i18n-content="bluetoothAccept"
49 hidden$="[[!showAcceptReject_(pairingEvent)]]"
50 on-tap="onAcceptTap_">
51 </paper-button>
52 <paper-button i18n-content="bluetoothReject"
53 hidden$="[[!showAcceptReject_(pairingEvent)]]"
54 on-tap="onRejectTap_">
55 </paper-button>
56 <paper-button i18n-content="bluetoothConnect"
57 hidden$="[[!showConnect_(pairingEvent)]]"
58 on-tap="onConnectTap_">
59 </paper-button>
60 <paper-button i18n-content="bluetoothDismiss"
61 hidden$="[[!showDismiss_(pairingDevice, pairingEvent)]]"
62 on-tap="onDismissTap_">
63 </paper-button>
64 <paper-button i18n-content="cancel" on-tap="onCancelTap_"
65 hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]">
66 </paper-button>
67 </div>
68 </div>
69 </template>
70 <script src="bluetooth_pair_device_dialog.js"></script>
71 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698