| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/assert.html"> | 1 <link rel="import" href="chrome://resources/html/assert.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/i18n_behavior.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-button/paper-butt
on.html"> |
| 5 <link rel="import" href="/icons.html"> | |
| 6 <link rel="import" href="/people_page/lock_screen_constants.html"> | 6 <link rel="import" href="/people_page/lock_screen_constants.html"> |
| 7 <link rel="import" href="/people_page/pin_keyboard.html"> | 7 <link rel="import" href="/people_page/pin_keyboard.html"> |
| 8 <link rel="import" href="/settings_shared_css.html"> | 8 <link rel="import" href="/settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-setup-pin-dialog"> | 10 <dom-module id="settings-setup-pin-dialog"> |
| 11 <template> | 11 <template> |
| 12 <style include="settings-shared"></style> | 12 <style include="settings-shared"></style> |
| 13 <style> | 13 <style> |
| 14 .warning { | 14 .warning { |
| 15 color: var(--paper-grey-700); | 15 color: var(--paper-grey-700); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 32 } | 32 } |
| 33 </style> | 33 </style> |
| 34 | 34 |
| 35 <dialog is="cr-dialog" id="dialog" on-close="close"> | 35 <dialog is="cr-dialog" id="dialog" on-close="close"> |
| 36 <div class="title">[[getTitleMessage_(isConfirmStep_)]]</div> | 36 <div class="title">[[getTitleMessage_(isConfirmStep_)]]</div> |
| 37 <div class="body"> | 37 <div class="body"> |
| 38 <!-- Warning/error; only shown if title is hidden. Id is needed for | 38 <!-- Warning/error; only shown if title is hidden. Id is needed for |
| 39 tests. --> | 39 tests. --> |
| 40 <div id="problemDiv" class$="[[problemClass_]] settings-box first" | 40 <div id="problemDiv" class$="[[problemClass_]] settings-box first" |
| 41 hidden$="[[!hasProblem_(problemMessage_)]]"> | 41 hidden$="[[!hasProblem_(problemMessage_)]]"> |
| 42 <iron-icon icon="settings:warning"></iron-icon> | 42 <iron-icon icon="cr:warning"></iron-icon> |
| 43 <span class="middle">[[problemMessage_]]</span> | 43 <span class="middle">[[problemMessage_]]</span> |
| 44 </div> | 44 </div> |
| 45 | 45 |
| 46 <!-- Pin keyboard --> | 46 <!-- Pin keyboard --> |
| 47 <div class="align-center settings-box continuation"> | 47 <div class="align-center settings-box continuation"> |
| 48 <pin-keyboard id="pinKeyboard" on-pin-change="onPinChange_" | 48 <pin-keyboard id="pinKeyboard" on-pin-change="onPinChange_" |
| 49 on-submit="onPinSubmit_" value="{{pinKeyboardValue_}}"> | 49 on-submit="onPinSubmit_" value="{{pinKeyboardValue_}}"> |
| 50 </pin-keyboard> | 50 </pin-keyboard> |
| 51 </div> | 51 </div> |
| 52 | 52 |
| 53 <div class="button-strip"> | 53 <div class="button-strip"> |
| 54 <paper-button class="cancel-button" on-tap="onCancelTap_"> | 54 <paper-button class="cancel-button" on-tap="onCancelTap_"> |
| 55 $i18n{cancel} | 55 $i18n{cancel} |
| 56 </paper-button> | 56 </paper-button> |
| 57 | 57 |
| 58 <paper-button class="action-button" on-tap="onPinSubmit_" | 58 <paper-button class="action-button" on-tap="onPinSubmit_" |
| 59 disabled$="[[!enableSubmit_]]"> | 59 disabled$="[[!enableSubmit_]]"> |
| 60 <span>[[getContinueMessage_(isConfirmStep_)]]</span> | 60 <span>[[getContinueMessage_(isConfirmStep_)]]</span> |
| 61 </paper-button> | 61 </paper-button> |
| 62 </div> | 62 </div> |
| 63 </div> | 63 </div> |
| 64 </dialog> | 64 </dialog> |
| 65 </template> | 65 </template> |
| 66 | 66 |
| 67 <script src="setup_pin_dialog.js"></script> | 67 <script src="setup_pin_dialog.js"></script> |
| 68 </dom-module> | 68 </dom-module> |
| OLD | NEW |