OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
2 <link rel="import" href="chrome://resources/html/cr.html"> | 2 <link rel="import" href="chrome://resources/html/cr.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> |
10 <link rel="import" href="/bluetooth_page/bluetooth_device_list_item.html"> | 10 <link rel="import" href="/bluetooth_page/bluetooth_device_list_item.html"> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 } | 69 } |
70 | 70 |
71 /* .confirm indicates a confirmation passkey. */ | 71 /* .confirm indicates a confirmation passkey. */ |
72 span.confirm { | 72 span.confirm { |
73 color: #999; | 73 color: #999; |
74 font-size: 20px; | 74 font-size: 20px; |
75 font-weight: 600; /* semibold */ | 75 font-weight: 600; /* semibold */ |
76 margin: 0 20px; | 76 margin: 0 20px; |
77 } | 77 } |
78 </style> | 78 </style> |
79 <cr-dialog id="dialog" class="layout vertical" | 79 <dialog is="cr-dialog" id="dialog" class="layout vertical" |
80 on-iron-overlay-canceled="onIronOverlayCanceled_"> | 80 on-cancel="onDialogCanceled_"> |
81 <div class="title">[[getTitle_(dialogId)]]</div> | 81 <div class="title">[[getTitle_(dialogId)]]</div> |
82 <div class="body"> | 82 <div class="body"> |
83 <template is="dom-if" if="[[isDialogType_(dialogId, 'addDevice')]]"> | 83 <template is="dom-if" if="[[isDialogType_(dialogId, 'addDevice')]]"> |
84 <div id="dialogDeviceList" class="layout vertical" | 84 <div id="dialogDeviceList" class="layout vertical" |
85 on-device-event="onDeviceEvent_"> | 85 on-device-event="onDeviceEvent_"> |
86 <span class="no-devices" hidden$="[[haveDevices_(deviceList)]]"> | 86 <span class="no-devices" hidden$="[[haveDevices_(deviceList)]]"> |
87 $i18n{bluetoothNoDevices} | 87 $i18n{bluetoothNoDevices} |
88 </span> | 88 </span> |
89 <iron-selector class="flex"> | 89 <iron-selector class="flex"> |
90 <template is="dom-repeat" items="[[deviceList]]" | 90 <template is="dom-repeat" items="[[deviceList]]" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 <paper-button hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]" | 156 <paper-button hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]" |
157 on-tap="onCancelTap_"> | 157 on-tap="onCancelTap_"> |
158 $i18n{cancel} | 158 $i18n{cancel} |
159 </paper-button> | 159 </paper-button> |
160 </template> | 160 </template> |
161 <template is="dom-if" if="[[isDialogType_(dialogId, 'connectError')]]"> | 161 <template is="dom-if" if="[[isDialogType_(dialogId, 'connectError')]]"> |
162 <paper-button on-tap="close">$i18n{bluetoothDismiss} | 162 <paper-button on-tap="close">$i18n{bluetoothDismiss} |
163 </paper-button> | 163 </paper-button> |
164 </template> | 164 </template> |
165 </div> | 165 </div> |
166 </cr-dialog> | 166 </dialog> |
167 </template> | 167 </template> |
168 <script src="/bluetooth_page/bluetooth_device_dialog.js"></script> | 168 <script src="/bluetooth_page/bluetooth_device_dialog.js"></script> |
169 </dom-module> | 169 </dom-module> |
OLD | NEW |