OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <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-input/paper-input
.html"> |
| 4 <link rel="import" href="/people_page/pin_keyboard.html"> |
| 5 <link rel="import" href="/people_page/quick_unlock_routing_behavior.html"> |
| 6 <link rel="import" href="/people_page/quick_unlock_password_detect_behavior.html
"> |
| 7 <link rel="import" href="/prefs/prefs_behavior.html"> |
| 8 <link rel="import" href="/settings_page/settings_section.html"> |
| 9 <link rel="import" href="/settings_shared_css.html"> |
| 10 |
| 11 |
| 12 <dom-module id="settings-quick-unlock-choose-method"> |
| 13 <template> |
| 14 <style include="settings-shared"></style> |
| 15 <style> |
| 16 #warning-message { |
| 17 color: var(--paper-grey-500); |
| 18 font-style: italic; |
| 19 } |
| 20 |
| 21 .align-end { |
| 22 justify-content: flex-end; |
| 23 } |
| 24 </style> |
| 25 |
| 26 <div> |
| 27 <div class="settings-box"> |
| 28 $i18n{quickUnlockChooseUnlockMethod} |
| 29 </div> |
| 30 |
| 31 <div class="list-frame"> |
| 32 <paper-radio-group selected="{{selectedUnlockType_}}"> |
| 33 <paper-radio-button name="password"> |
| 34 $i18n{quickUnlockUnlockMethodPassword} |
| 35 </paper-radio-button> |
| 36 <paper-radio-button name="pin+password"> |
| 37 $i18n{quickUnlockUnlockMethodPinAndPassword} |
| 38 </paper-radio-button> |
| 39 <paper-radio-button name="none"> |
| 40 $i18n{quickUnlockUnlockMethodNone} |
| 41 </paper-radio-button> |
| 42 </paper-radio-group> |
| 43 </div> |
| 44 |
| 45 <div class="step" hidden$="[[!showSetupPin_(selectedUnlockType_)]]"> |
| 46 <div class="settings-box continuation"> |
| 47 <!-- TODO(jdufault): i18n once this string is finalized. --> |
| 48 <span id="warning-message"> |
| 49 Warning about how PIN is weaker than a password. |
| 50 </span> |
| 51 </div> |
| 52 |
| 53 <div class="align-end settings-box"> |
| 54 <paper-button class="action-button" on-tap="onConfigurePin_"> |
| 55 $i18n{quickUnlockConfigurePinButton} |
| 56 </paper-button> |
| 57 </div> |
| 58 </div> |
| 59 </div> |
| 60 </template> |
| 61 |
| 62 <script src="quick_unlock_choose_method.js"></script> |
| 63 </dom-module> |
OLD | NEW |