| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 | 2 |
| 3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 4 <link rel="import" href="chrome://resources/html/assert.html"> | 4 <link rel="import" href="chrome://resources/html/assert.html"> |
| 5 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> | 5 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> |
| 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 12 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> | 12 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> |
| 13 <link rel="import" href="fingerprint_browser_proxy.html"> | 13 <link rel="import" href="fingerprint_browser_proxy.html"> |
| 14 <link rel="import" href="setup_fingerprint_dialog.html"> | 14 <link rel="import" href="setup_fingerprint_dialog.html"> |
| 15 <link rel="import" href="../i18n_setup.html"> | 15 <link rel="import" href="../i18n_setup.html"> |
| 16 <link rel="import" href="../route.html"> | 16 <link rel="import" href="../route.html"> |
| 17 <link rel="import" href="../settings_shared_css.html"> | 17 <link rel="import" href="../settings_shared_css.html"> |
| 18 | 18 |
| 19 <dom-module id="settings-fingerprint-list"> | 19 <dom-module id="settings-fingerprint-list"> |
| 20 <template> | 20 <template> |
| 21 <style include="settings-shared"> | 21 <style include="settings-shared"> |
| 22 .add-link { | 22 .add-link { |
| 23 background-color: transparent; | 23 background-color: transparent; |
| 24 color: var(--google-blue-500); | 24 color: var(--google-blue-500); |
| 25 padding: 0; | |
| 26 } | 25 } |
| 27 | 26 |
| 28 .add-link[disabled] { | 27 .add-link[disabled] { |
| 29 color: var(--google-grey-500); | 28 color: var(--google-grey-500); |
| 30 } | 29 } |
| 31 | 30 |
| 32 .body { | 31 .body { |
| 33 @apply(--settings-list-frame-padding); | 32 @apply(--settings-list-frame-padding); |
| 34 } | 33 } |
| 35 | 34 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 48 | 47 |
| 49 <h2 class="settings-box">$i18n{lockScreenRegisteredFingerprints}</h2> | 48 <h2 class="settings-box">$i18n{lockScreenRegisteredFingerprints}</h2> |
| 50 <div class="body layout vertical"> | 49 <div class="body layout vertical"> |
| 51 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> | 50 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> |
| 52 <template> | 51 <template> |
| 53 <div class="list-item"> | 52 <div class="list-item"> |
| 54 <paper-ripple noink></paper-ripple> | 53 <paper-ripple noink></paper-ripple> |
| 55 <paper-input value="{{item}}" | 54 <paper-input value="{{item}}" |
| 56 on-change="onFingerprintLabelChanged_"> | 55 on-change="onFingerprintLabelChanged_"> |
| 57 </paper-input> | 56 </paper-input> |
| 58 <button is="paper-icon-button-light" | 57 <button is="paper-icon-button-light" class="icon-delete" |
| 59 on-tap="onFingerprintDeleteTapped_"> | 58 on-tap="onFingerprintDeleteTapped_"> |
| 60 <iron-icon icon="cr:delete"></iron-icon> | |
| 61 </button> | 59 </button> |
| 62 </div> | 60 </div> |
| 63 </template> | 61 </template> |
| 64 </iron-list> | 62 </iron-list> |
| 65 <div class="continuation"> | 63 <div class="continuation"> |
| 66 <paper-button id="addFingerprint" class="add-link action-button" | 64 <paper-button id="addFingerprint" class="add-link action-button" |
| 67 on-tap="openAddFingerprintDialog_"> | 65 on-tap="openAddFingerprintDialog_"> |
| 68 $i18n{lockScreenAddFingerprint} | 66 $i18n{lockScreenAddFingerprint} |
| 69 </paper-button> | 67 </paper-button> |
| 70 </div> | 68 </div> |
| 71 </div> | 69 </div> |
| 72 <i class="settings-box continuation">$i18n{lockScreenFingerprintWarning}</i> | 70 <i class="settings-box continuation">$i18n{lockScreenFingerprintWarning}</i> |
| 73 | 71 |
| 74 <template is="dom-if" if="[[showSetupFingerprintDialog_]]" restamp> | 72 <template is="dom-if" if="[[showSetupFingerprintDialog_]]" restamp> |
| 75 <settings-setup-fingerprint-dialog | 73 <settings-setup-fingerprint-dialog |
| 76 on-add-fingerprint="updateFingerprintsList_" | 74 on-add-fingerprint="updateFingerprintsList_" |
| 77 on-close="onSetupFingerprintDialogClose_"> | 75 on-close="onSetupFingerprintDialogClose_"> |
| 78 </settings-setup-fingerprint-dialog> | 76 </settings-setup-fingerprint-dialog> |
| 79 </template> | 77 </template> |
| 80 </template> | 78 </template> |
| 81 <script src="fingerprint_list.js"></script> | 79 <script src="fingerprint_list.js"></script> |
| 82 </dom-module> | 80 </dom-module> |
| OLD | NEW |