Chromium Code Reviews| 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/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.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-input/paper-input .html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
| 5 <link rel="import" href="lock_screen_constants.html"> | 5 <link rel="import" href="lock_screen_constants.html"> |
| 6 <link rel="import" href="../settings_shared_css.html"> | 6 <link rel="import" href="../settings_shared_css.html"> |
| 7 | 7 |
| 8 <dom-module id="settings-password-prompt-dialog"> | 8 <dom-module id="settings-password-prompt-dialog"> |
| 9 <template> | 9 <template> |
| 10 <style include="settings-shared"> | 10 <style include="settings-shared"> |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 | 24 |
| 25 <div class="settings-box first">$i18n{passwordPromptEnterPassword}</div> | 25 <div class="settings-box first">$i18n{passwordPromptEnterPassword}</div> |
| 26 | 26 |
| 27 <paper-input id="passwordInput" type="password" autofocus | 27 <paper-input id="passwordInput" type="password" autofocus |
| 28 label="$i18n{passwordPromptPasswordLabel}" | 28 label="$i18n{passwordPromptPasswordLabel}" |
| 29 value="{{password_}}" | 29 value="{{password_}}" |
| 30 invalid$="[[passwordInvalid_]]" | 30 invalid$="[[passwordInvalid_]]" |
| 31 error-message="$i18n{passwordPromptInvalidPassword}" | 31 error-message="$i18n{passwordPromptInvalidPassword}" |
| 32 aria-disabled="false"> | 32 aria-disabled="false"> |
| 33 </paper-input> | 33 </paper-input> |
| 34 </div> | |
| 35 <div class="button-container"> | |
| 36 <paper-button class="cancel-button" on-tap="onCancelTap_"> | |
| 37 $i18n{cancel} | |
| 38 </paper-button> | |
| 34 | 39 |
| 35 <div class="button-strip"> | 40 <paper-button class="action-button" on-tap="submitPassword_" |
| 36 <paper-button class="cancel-button" on-tap="onCancelTap_"> | 41 disabled$="[[!enableConfirm_(password_, |
| 37 $i18n{cancel} | 42 passwordInvalid_)]]"> |
|
stevenjb
2017/05/17 15:57:36
4 character indent for both of these lines (which
sammiequon
2017/05/17 16:37:47
Done.
| |
| 38 </paper-button> | 43 $i18n{confirm} |
| 39 | 44 </paper-button> |
| 40 <paper-button class="action-button" on-tap="submitPassword_" | |
| 41 disabled$="[[!enableConfirm_(password_, | |
| 42 passwordInvalid_)]]"> | |
| 43 $i18n{confirm} | |
| 44 </paper-button> | |
| 45 </div> | |
| 46 </div> | 45 </div> |
| 47 </dialog> | 46 </dialog> |
| 48 </template> | 47 </template> |
| 49 <script src="password_prompt_dialog.js"></script> | 48 <script src="password_prompt_dialog.js"></script> |
| 50 </dom-module> | 49 </dom-module> |
| OLD | NEW |