Chromium Code Reviews| 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"> | |
| 13 .warning-text { | |
| 14 font-style: italic; | |
| 15 } | |
| 16 </style> | |
| 17 | |
| 18 <div>$i18n{lockScreenRegisteredFingerprints}</div> | |
| 19 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> | |
| 20 <template> | |
| 21 <div class="list-item"> | |
| 22 <paper-input value="{{item}}"></paper-input> | |
| 23 <button is="paper-icon-button-light" | |
| 24 on-tap="onFingerprintDelete_"> | |
| 25 <iron-icon icon="cr:delete"></iron-icon> | |
| 26 </button> | |
| 27 </paper-icon-button> | |
| 28 </div> | |
| 29 </template> | |
| 30 </iron-list> | |
| 31 <div class="settings-box first radio-indent"> | |
| 32 <paper-button class="action-button" on-tap="onAddFingerprint_" | |
| 33 disabled="[[!canAddNewFingerprint_(fingerprints_.*)]]"> | |
| 34 [[getFingerprintButtonText_(fingerprints_.*)]] | |
| 35 </paper-button> | |
| 36 </div> | |
| 37 <div class="warning-text"> | |
| 38 $i18n{lockScreenFingerprintWarning} | |
|
Dan Beam
2017/01/27 23:11:07
in this case, because you're only adding italic st
sammiequon
2017/01/27 23:37:37
Done.
| |
| 39 </div> | |
| 40 </template> | |
| 41 <script src="fingerprint_list.js"></script> | |
| 42 </dom-module> | |
| OLD | NEW |