OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> |
2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
6 <link rel="import" href="../icons.html"> | 7 <link rel="import" href="../icons.html"> |
7 <link rel="import" href="../settings_shared_css.html"> | 8 <link rel="import" href="../settings_shared_css.html"> |
8 | 9 |
9 <dom-module id="password-edit-dialog"> | 10 <dom-module id="password-edit-dialog"> |
10 <template> | 11 <template> |
11 <style include="settings-shared"> | 12 <style include="settings-shared"> |
(...skipping 19 matching lines...) Expand all Loading... | |
31 <paper-input id="usernameInput" label="$i18n{editPasswordUsernameLabel}" | 32 <paper-input id="usernameInput" label="$i18n{editPasswordUsernameLabel}" |
32 value="[[item.loginPair.username]]" readonly> | 33 value="[[item.loginPair.username]]" readonly> |
33 </paper-input> | 34 </paper-input> |
34 <div id="passwordGroup"> | 35 <div id="passwordGroup"> |
35 <paper-input id="passwordInput" | 36 <paper-input id="passwordInput" |
36 label="$i18n{editPasswordPasswordLabel}" | 37 label="$i18n{editPasswordPasswordLabel}" |
37 type="[[getPasswordInputType_(password)]]" | 38 type="[[getPasswordInputType_(password)]]" |
38 value="[[getPassword_(item, password)]]" readonly> | 39 value="[[getPassword_(item, password)]]" readonly> |
39 </paper-input> | 40 </paper-input> |
40 <paper-icon-button id="showPasswordButton" | 41 <paper-icon-button id="showPasswordButton" |
41 icon="settings:visibility" on-tap="onShowPasswordButtonTap_"> | 42 icon="settings:visibility" on-tap="onShowPasswordButtonTap_" |
43 title="[[showPasswordTitle_(password)]]"> | |
dschuyler
2017/02/15 20:12:15
We now have $i18nPolymer, yay! Consider changing t
hcarmona
2017/02/15 21:52:11
Done.
| |
42 </paper-icon-button> | 44 </paper-icon-button> |
43 </div> | 45 </div> |
44 </div> | 46 </div> |
45 <div class="button-container"> | 47 <div class="button-container"> |
46 <paper-button id="cancelButton" class="cancel-button" | 48 <paper-button id="cancelButton" class="cancel-button" |
47 on-tap="onCancelButtonTap_">$i18n{passwordsDone}</paper-button> | 49 on-tap="onCancelButtonTap_">$i18n{passwordsDone}</paper-button> |
48 </div> | 50 </div> |
49 </dialog> | 51 </dialog> |
50 </template> | 52 </template> |
51 <script src="password_edit_dialog.js"></script> | 53 <script src="password_edit_dialog.js"></script> |
52 </dom-module> | 54 </dom-module> |
OLD | NEW |