Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2035)

Side by Side Diff: chrome/browser/resources/settings/people_page/fingerprint_list.html

Issue 2538303002: md-settings: Added settings for fingerprint unlock. (Closed)
Patch Set: Fixed patch set 7 errors. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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/paper-icon-button/paper -icon-button.html">
stevenjb 2016/12/07 23:25:40 +paper-button
sammiequon 2016/12/08 03:50:50 Done.
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
6 <link rel="import" href="/settings_shared_css.html">
7
8 <dom-module id="settings-fingerprint-list">
9 <template>
10 <style include="settings-shared"></style>
11 <style>
stevenjb 2016/12/07 23:25:40 Only one style section: <style include="settings-
sammiequon 2016/12/08 03:50:50 Done.
12 .list-item {
13 border-bottom: 1px solid black;
14 display: flex;
15 }
16
17 .list-item[index='0'] {
18 border-top: 1px solid black;
19 }
20
21 .warning-text {
22 font-style: italic;
23 }
24 </style>
25
26 <div>
27 <div>$i18n{lockScreenRegisteredFingerprints}</div>
28 <div>
stevenjb 2016/12/07 23:25:40 div needed?
sammiequon 2016/12/08 03:50:50 Done.
29 <template is="dom-repeat" items="{{fingerprints_}}">
stevenjb 2016/12/07 23:25:40 Does this have the expected keyboard focus behavio
sammiequon 2016/12/08 03:50:50 Yeah iron-list works a bit better with the tabbing
30 <div class="list-item" index$="[[index]]">
31 <paper-input value="{{item.name}}"></paper-input>
32 <paper-icon-button icon="cr:delete" on-tap="onFingerprintDelete_">
33 </paper-icon-button>
34 </div>
35 </template>
36 <div class="settings-box continuation radio-indent">
stevenjb 2016/12/07 23:25:40 Use "settings-box first" since this is the first s
sammiequon 2016/12/08 03:50:50 Done.
37 <paper-button is="action-link" on-tap="onAddFingerprint_"
38 disabled="[[!canAddNewFingerprint_(fingerprints_.length) ]]">
stevenjb 2016/12/07 23:25:40 4 space indent
sammiequon 2016/12/08 03:50:50 Done.
39 <div hidden="[[!canAddNewFingerprint_(fingerprints_.length)]]">
40 $i18n{lockScreenAddFingerprint}
41 </div>
42 <div hidden="[[canAddNewFingerprint_(fingerprints_.length)]]">
43 [[getFingerprintButtonCannotAddText_()]]
44 </div>
45 </paper-button>
stevenjb 2016/12/07 23:25:40 This is a little odd, having conditional divs insi
sammiequon 2016/12/08 03:50:50 Done.
46 </div>
47 </div>
48 <div class="warning-text">
49 $i18n{lockScreenFingerprintWarning}
50 </div>
51 </div>
52 </template>
53 <script src="fingerprint_list.js"></script>
54 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698