OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 8 <link rel="import" href="/settings_shared_css.html"> |
| 9 |
| 10 <dom-module id="settings-fingerprint-list"> |
| 11 <template> |
| 12 <style include="settings-shared"></style> |
| 13 |
| 14 <div>$i18n{lockScreenRegisteredFingerprints}</div> |
| 15 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> |
| 16 <template> |
| 17 <div class="list-item"> |
| 18 <paper-input value="{{item}}"></paper-input> |
| 19 <button is="paper-icon-button-light" |
| 20 on-tap="onFingerprintDelete_"> |
| 21 <iron-icon icon="cr:delete"></iron-icon> |
| 22 </button> |
| 23 </paper-icon-button> |
| 24 </div> |
| 25 </template> |
| 26 </iron-list> |
| 27 <div class="settings-box first radio-indent"> |
| 28 <paper-button class="action-button" on-tap="onAddFingerprint_" |
| 29 disabled="[[!canAddNewFingerprint_(fingerprints_.*)]]"> |
| 30 [[getFingerprintButtonText_(fingerprints_.*)]] |
| 31 </paper-button> |
| 32 </div> |
| 33 <i>$i18n{lockScreenFingerprintWarning}</i> |
| 34 </template> |
| 35 <script src="fingerprint_list.js"></script> |
| 36 </dom-module> |
OLD | NEW |