OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
2 <link rel="import" href="chrome://resources/html/action_link.html"> | 2 <link rel="import" href="chrome://resources/html/action_link.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> |
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-icon-button/paper -icon-button.html"> |
6 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> | 6 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> |
7 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared _menu.html"> | 7 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared _menu.html"> |
8 <link rel="import" href="/passwords_and_forms_page/password_edit_dialog.html"> | 8 <link rel="import" href="/passwords_and_forms_page/password_edit_dialog.html"> |
9 <link rel="import" href="/passwords_and_forms_page/passwords_shared_css.html"> | 9 <link rel="import" href="/passwords_and_forms_page/passwords_shared_css.html"> |
10 <link rel="import" href="/prefs/prefs.html"> | 10 <link rel="import" href="/prefs/prefs.html"> |
11 <link rel="import" href="/settings_shared_css.html"> | 11 <link rel="import" href="/settings_shared_css.html"> |
12 | 12 |
13 <dom-module id="passwords-section"> | 13 <dom-module id="passwords-section"> |
14 <!-- action_link.css is needed for the |managePasswordsLabel| link --> | 14 <!-- action_link.css is needed for the |managePasswordsLabel| link --> |
15 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 15 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
16 <template> | 16 <template> |
17 <style include="settings-shared passwords-shared"> | 17 <style include="settings-shared passwords-shared"> |
18 #manageLink { | |
19 margin-bottom: 24px; | |
20 } | |
21 | |
22 #password { | 18 #password { |
23 background-color: transparent; | 19 background-color: transparent; |
24 border: none; | 20 border: none; |
25 flex: 1; | 21 flex: 1; |
26 height: 20px; | 22 height: 20px; |
27 width: 0; | 23 width: 0; |
28 } | 24 } |
29 | 25 |
30 #autosigninCheckbox { | 26 #autosigninCheckbox { |
31 margin-bottom: 24px; | 27 margin-bottom: 24px; |
(...skipping 22 matching lines...) Expand all Loading... | |
54 .menu-item { | 50 .menu-item { |
55 @apply(--settings-actionable); | 51 @apply(--settings-actionable); |
56 } | 52 } |
57 </style> | 53 </style> |
58 <settings-checkbox id="autosigninCheckbox" | 54 <settings-checkbox id="autosigninCheckbox" |
59 pref="{{prefs.credentials_enable_autosignin}}" | 55 pref="{{prefs.credentials_enable_autosignin}}" |
60 label="$i18n{passwordsAutosigninLabel}" | 56 label="$i18n{passwordsAutosigninLabel}" |
61 sub-label="$i18n{passwordsAutosigninDescription}"> | 57 sub-label="$i18n{passwordsAutosigninDescription}"> |
62 </settings-checkbox> | 58 </settings-checkbox> |
63 <div id="manageLink">$i18nRaw{managePasswordsLabel}</div> | 59 <div id="manageLink">$i18nRaw{managePasswordsLabel}</div> |
64 <div class="heading">$i18n{savedPasswordsHeading}</div> | 60 <h2>$i18n{savedPasswordsHeading}</h2> |
65 <div class="item-list" scrollable> | 61 <div class="item-list" scrollable> |
66 <div class="list-item column-header"> | 62 <div class="list-item column-header"> |
67 <div class="website-column">$i18n{editPasswordWebsiteLabel}</div> | 63 <div class="website-column">$i18n{editPasswordWebsiteLabel}</div> |
68 <div class="username-column"> | 64 <div class="username-column"> |
69 $i18n{editPasswordUsernameLabel} | 65 $i18n{editPasswordUsernameLabel} |
70 </div> | 66 </div> |
71 <div class="password-column"> | 67 <div class="password-column"> |
72 $i18n{editPasswordPasswordLabel} | 68 $i18n{editPasswordPasswordLabel} |
73 </div> | 69 </div> |
74 </div> | 70 </div> |
(...skipping 27 matching lines...) Expand all Loading... | |
102 on-tap="onMenuEditPasswordTap_" | 98 on-tap="onMenuEditPasswordTap_" |
103 hidden="[[!showPasswords]]">$i18n{passwordViewDetails}</button> | 99 hidden="[[!showPasswords]]">$i18n{passwordViewDetails}</button> |
104 <button id="menuRemovePassword" class="list-item menu-item" | 100 <button id="menuRemovePassword" class="list-item menu-item" |
105 on-tap="onMenuRemovePasswordTap_">$i18n{removePassword}</button> | 101 on-tap="onMenuRemovePasswordTap_">$i18n{removePassword}</button> |
106 </cr-shared-menu> | 102 </cr-shared-menu> |
107 <template is="dom-if" if="[[activePassword]]" restamp> | 103 <template is="dom-if" if="[[activePassword]]" restamp> |
108 <password-edit-dialog on-close="unstampPasswordEditDialog_" | 104 <password-edit-dialog on-close="unstampPasswordEditDialog_" |
109 item="[[activePassword]]"> | 105 item="[[activePassword]]"> |
110 </password-edit-dialog> | 106 </password-edit-dialog> |
111 </template> | 107 </template> |
112 <div class="heading">$i18n{passwordExceptionsHeading}</div> | 108 <h2>$i18n{passwordExceptionsHeading}</h2> |
hcarmona
2016/08/24 23:41:21
Extra space here also.
dschuyler
2016/08/25 02:00:53
Acknowledged.
| |
113 <div id="passwordExceptionsList" | 109 <div id="passwordExceptionsList" |
114 class="vertical-list list-section item-list"> | 110 class="vertical-list list-section item-list"> |
115 <template is="dom-repeat" items="[[passwordExceptions]]" | 111 <template is="dom-repeat" items="[[passwordExceptions]]" |
116 filter="[[passwordExceptionFilter_(filter)]]"> | 112 filter="[[passwordExceptionFilter_(filter)]]"> |
117 <div class="list-item two-line"> | 113 <div class="list-item two-line"> |
118 <div class="start"> | 114 <div class="start"> |
119 <a id="exception" href="[[item.linkUrl]]" target="_blank" | 115 <a id="exception" href="[[item.linkUrl]]" target="_blank" |
120 class="selectable">[[item.exceptionUrl]]</a> | 116 class="selectable">[[item.exceptionUrl]]</a> |
121 </div> | 117 </div> |
122 <paper-icon-button id="removeExceptionButton" | 118 <paper-icon-button id="removeExceptionButton" |
123 icon="cr:close" on-tap="onRemoveExceptionButtonTap_" | 119 icon="cr:close" on-tap="onRemoveExceptionButtonTap_" |
124 tabindex$="[[tabIndex]]" | 120 tabindex$="[[tabIndex]]" |
125 alt="$i18n{deletePasswordException}"> | 121 alt="$i18n{deletePasswordException}"> |
126 </paper-icon-button> | 122 </paper-icon-button> |
127 </div> | 123 </div> |
128 </template> | 124 </template> |
129 </div> | 125 </div> |
130 </template> | 126 </template> |
131 <script src="/passwords_and_forms_page/passwords_section.js"></script> | 127 <script src="/passwords_and_forms_page/passwords_section.js"></script> |
132 </dom-module> | 128 </dom-module> |
OLD | NEW |