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> | |
|
Dan Beam
2017/01/10 23:23:45
what is this <div> doing for you?
sammiequon
2017/01/11 00:29:09
Done.
| |
| 19 <div>$i18n{lockScreenRegisteredFingerprints}</div> | |
| 20 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> | |
|
Dan Beam
2017/01/10 23:23:45
indent off
sammiequon
2017/01/11 00:29:09
Done.
| |
| 21 <template> | |
| 22 <div class="list-item"> | |
| 23 <paper-input value="{{item}}"></paper-input> | |
| 24 <button is="paper-icon-button-light" | |
| 25 on-tap="onFingerprintDelete_"> | |
| 26 <iron-icon icon="cr:delete"></iron-icon> | |
| 27 </button> | |
| 28 </paper-icon-button> | |
| 29 </div> | |
| 30 </template> | |
| 31 </iron-list> | |
|
Dan Beam
2017/01/10 23:23:45
do you want to place your iron-list in a <div clas
sammiequon
2017/01/11 00:29:09
The mocks are not yet finalized yet so I'm not cer
| |
| 32 <div class="settings-box first radio-indent"> | |
| 33 <paper-button class="action-button" on-tap="onAddFingerprint_" | |
| 34 disabled="[[!canAddNewFingerprint_(fingerprints_.length)]]"> | |
| 35 [[getFingerprintButtonText_(fingerprints_.length)]] | |
| 36 </paper-button> | |
| 37 </div> | |
| 38 <div class="warning-text"> | |
| 39 $i18n{lockScreenFingerprintWarning} | |
| 40 </div> | |
| 41 </div> | |
| 42 </template> | |
| 43 <script src="fingerprint_list.js"></script> | |
| 44 </dom-module> | |
| OLD | NEW |