Chromium Code Reviews| 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_validating_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 #configure-container { | |
| 17 transition: opacity 250ms ease-in-out; | |
| 18 } | |
| 19 | |
| 20 #configure-container *> span { | |
|
tommycli
2016/06/29 22:56:09
This is just that one error message span right? Ju
jdufault
2016/06/30 18:10:18
Done.
| |
| 21 color: var(--paper-grey-500); | |
| 22 font-style: italic; | |
| 23 } | |
| 24 | |
| 25 .align-end { | |
|
tommycli
2016/06/29 22:56:09
Does .button-strip within settings-shared work ins
jdufault
2016/06/30 18:10:18
Nope; I tried putting it on both the div and the b
| |
| 26 justify-content: flex-end; | |
| 27 } | |
| 28 </style> | |
| 29 | |
| 30 <div> | |
| 31 <div class="settings-box"> | |
| 32 $i18n{quickUnlockChooseUnlockMethod} | |
| 33 </div> | |
| 34 | |
| 35 <div class="list-frame"> | |
| 36 <paper-radio-group selected="{{selectedUnlockType_}}"> | |
| 37 <paper-radio-button name="password"> | |
| 38 $i18n{quickUnlockUnlockMethodPassword} | |
| 39 </paper-radio-button> | |
| 40 <paper-radio-button name="pin+password"> | |
| 41 $i18n{quickUnlockUnlockMethodPinAndPassword} | |
| 42 </paper-radio-button> | |
| 43 <paper-radio-button name="none"> | |
| 44 $i18n{quickUnlockUnlockMethodNone} | |
| 45 </paper-radio-button> | |
| 46 </paper-radio-group> | |
| 47 </div> | |
| 48 | |
| 49 <div id="configure-container" class="step" | |
| 50 style$="{{computeConfigureContainerStyle_(selectedUnlockType_)}}"> | |
| 51 <div class="settings-box continuation"> | |
| 52 <!-- TODO(jdufault): i18n once this string is finalized. --> | |
| 53 <span>Warning about how PIN is weaker than a password.</span> | |
| 54 </div> | |
| 55 | |
| 56 <div class="align-end settings-box"> | |
| 57 <paper-button class="action-button" on-tap="onConfigurePin_"> | |
|
tommycli
2016/06/29 22:56:09
Can we make this onSubmitPin_? It would make clear
jdufault
2016/06/30 18:10:18
onSubmitPin_ implies that we are submitting a PIN,
| |
| 58 $i18n{quickUnlockConfigurePinButton} | |
| 59 </paper-button> | |
| 60 </div> | |
| 61 </div> | |
| 62 </div> | |
| 63 </template> | |
| 64 | |
| 65 <script src="quick_unlock_choose_method.js"></script> | |
| 66 </dom-module> | |
| OLD | NEW |