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/cr_elements/cr_dialog/cr_dialog.html
"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout-classes.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout-classes.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable-behavior.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable-behavior.html"> |
4 <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"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.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-icon-button/paper
-icon-button.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-input/paper-input
.html"> |
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> |
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper
-radio-group.html"> | 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper
-radio-group.html"> |
11 <link rel="import" href="icons.html"> | 12 <link rel="import" href="icons.html"> |
12 <link rel="import" href="shared_styles.html"> | 13 <link rel="import" href="shared_styles.html"> |
13 | 14 |
14 <dom-module id="bluetooth-settings"> | 15 <dom-module id="bluetooth-settings"> |
15 <template> | 16 <template> |
16 <!-- TODO(michaelpg): Wrap the line below to fit within the 80-char limit. | 17 <!-- TODO(michaelpg): Wrap the line below to fit within the 80-char limit. |
17 See https://github.com/Polymer/polymer/pull/3668. --> | 18 See https://github.com/Polymer/polymer/pull/3668. --> |
18 <style include="device-emulator-shared-styles iron-flex iron-flex-alignment
iron-positioning"> | 19 <style include="device-emulator-shared-styles cr-shared-style iron-flex iron
-flex-alignment iron-positioning"> |
19 </style> | 20 </style> |
20 <paper-dialog on-iron-overlay-opened="editDialogOpened" with-backdrop | 21 <dialog is="cr-dialog" id="editDialog"> |
21 id="editDialog"> | 22 <div class="title">[[currentEditableObject.alias]]</div> |
22 <div class="element-label">[[currentEditableObject.alias]]</div> | 23 <div class="body"> |
23 <div> | |
24 <form> | 24 <form> |
25 <div class="form-field-section"> | 25 <div class="form-field-section"> |
26 <paper-input value="{{currentEditableObject.alias}}" | 26 <paper-input value="{{currentEditableObject.alias}}" |
27 label="Alias"></paper-input> | 27 label="Alias"></paper-input> |
28 <paper-input on-input="validatePath" | 28 <paper-input on-input="validatePath" |
29 id="devicePathInput" | 29 id="devicePathInput" |
30 value="{{currentEditableObject.path}}" | 30 value="{{currentEditableObject.path}}" |
31 label="Path" on-input="validatePath"></paper-input> | 31 label="Path" on-input="validatePath"></paper-input> |
32 <paper-input value="{{currentEditableObject.name}}" | 32 <paper-input value="{{currentEditableObject.name}}" |
33 label="Name"></paper-input> | 33 label="Name"></paper-input> |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 items="[[deviceAuthenticationActions]]"> | 87 items="[[deviceAuthenticationActions]]"> |
88 <paper-radio-button name="[[item]]" | 88 <paper-radio-button name="[[item]]" |
89 >[[item]]</paper-radio-button> | 89 >[[item]]</paper-radio-button> |
90 </template> | 90 </template> |
91 </paper-radio-group> | 91 </paper-radio-group> |
92 </label> | 92 </label> |
93 </div> | 93 </div> |
94 </div> | 94 </div> |
95 </form> | 95 </form> |
96 </div> | 96 </div> |
97 <div class="buttons"> | 97 <div class="button-container"> |
98 <paper-button dialog-dismiss>Close</paper-button> | 98 <paper-button class="action-button" on-tap="onCloseTap_"> |
| 99 Close |
| 100 </paper-button> |
99 </div> | 101 </div> |
100 </paper-dialog> | 102 </dialog> |
101 | 103 |
102 <div class="layout vertical"> | 104 <div class="layout vertical"> |
103 <div class="element-label"> | 105 <div class="element-label"> |
104 <paper-icon-button icon="device-emulator:bluetooth"></paper-icon-button> | 106 <paper-icon-button icon="device-emulator:bluetooth"></paper-icon-button> |
105 Bluetooth | 107 Bluetooth |
106 </div> | 108 </div> |
107 <table class="devices-table"> | 109 <table class="devices-table"> |
108 <tbody> | 110 <tbody> |
109 <tr class="table-section-header"> | 111 <tr class="table-section-header"> |
110 <td colspan="2">Presets</td> | 112 <td colspan="2">Presets</td> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 </table> | 171 </table> |
170 <div class="add-device-container"> | 172 <div class="add-device-container"> |
171 <paper-button on-click="appendNewDevice"> | 173 <paper-button on-click="appendNewDevice"> |
172 Add Device | 174 Add Device |
173 </paper-button> | 175 </paper-button> |
174 </div> | 176 </div> |
175 </div> | 177 </div> |
176 </template> | 178 </template> |
177 <script src="bluetooth_settings.js"></script> | 179 <script src="bluetooth_settings.js"></script> |
178 </dom-module> | 180 </dom-module> |
OLD | NEW |