OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.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-button/paper-butt on.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> |
6 <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"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> |
9 <link rel="import" href="/people_page/sync_browser_proxy.html"> | 9 <link rel="import" href="/people_page/sync_browser_proxy.html"> |
10 <link rel="import" href="/route.html"> | 10 <link rel="import" href="/route.html"> |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 <paper-radio-button name="encrypt-with-google" | 180 <paper-radio-button name="encrypt-with-google" |
181 class="list-item" disabled="[[syncPrefs.encryptAllData]]"> | 181 class="list-item" disabled="[[syncPrefs.encryptAllData]]"> |
182 $i18n{encryptWithGoogleCredentialsLabel} | 182 $i18n{encryptWithGoogleCredentialsLabel} |
183 </paper-radio-button> | 183 </paper-radio-button> |
184 <paper-radio-button name="encrypt-with-passphrase" | 184 <paper-radio-button name="encrypt-with-passphrase" |
185 class="list-item" disabled="[[syncPrefs.encryptAllData]]"> | 185 class="list-item" disabled="[[syncPrefs.encryptAllData]]"> |
186 <template is="dom-if" if="[[syncPrefs.fullEncryptionBody]]"> | 186 <template is="dom-if" if="[[syncPrefs.fullEncryptionBody]]"> |
187 <span>[[syncPrefs.fullEncryptionBody]]</span> | 187 <span>[[syncPrefs.fullEncryptionBody]]</span> |
188 </template> | 188 </template> |
189 <template is="dom-if" if="[[!syncPrefs.fullEncryptionBody]]"> | 189 <template is="dom-if" if="[[!syncPrefs.fullEncryptionBody]]"> |
190 <span>$i18nRaw{encryptWithSyncPassphraseLabel}</span> | 190 <span on-tap="onLearnMoreTap_"> |
191 $i18nRaw{encryptWithSyncPassphraseLabel} | |
Dan Beam
2016/12/15 06:00:20
so, the link was hiding in here
| |
192 </span> | |
191 </template> | 193 </template> |
192 </paper-radio-button> | 194 </paper-radio-button> |
193 </paper-radio-group> | 195 </paper-radio-group> |
194 <div id="reset-sync-message-box" class="list-item" | 196 <div id="reset-sync-message-box" class="list-item" |
195 hidden="[[!syncPrefs.encryptAllData]]"> | 197 hidden="[[!syncPrefs.encryptAllData]]"> |
196 <span>$i18nRaw{passphraseResetHint}</span> | 198 <span>$i18nRaw{passphraseResetHint}</span> |
197 </div> | 199 </div> |
198 </div> | 200 </div> |
199 | 201 |
200 <template is="dom-if" if="[[creatingNewPassphrase_]]"> | 202 <template is="dom-if" if="[[creatingNewPassphrase_]]"> |
(...skipping 20 matching lines...) Expand all Loading... | |
221 </paper-button> | 223 </paper-button> |
222 </div> | 224 </div> |
223 </div> | 225 </div> |
224 </template> | 226 </template> |
225 | 227 |
226 <template is="dom-if" if="[[syncPrefs.passphraseRequired]]"> | 228 <template is="dom-if" if="[[syncPrefs.passphraseRequired]]"> |
227 <div class="list-frame"> | 229 <div class="list-frame"> |
228 <div class="list-item"> | 230 <div class="list-item"> |
229 <span> | 231 <span> |
230 [[enterPassphrasePrompt_(syncPrefs.passphraseTypeIsCustom)]] | 232 [[enterPassphrasePrompt_(syncPrefs.passphraseTypeIsCustom)]] |
231 <a href="$i18nRaw{syncErrorHelpUrl}" target="_blank" | 233 <a href="$i18nRaw{syncErrorHelpUrl}" target="_blank"> |
232 on-tap="onSyncLearnMoreTap_"> | |
233 $i18n{learnMore} | 234 $i18n{learnMore} |
234 </a> | 235 </a> |
235 </span> | 236 </span> |
236 </div> | 237 </div> |
237 <div id="existingPassphraseContainer" class="list-item"> | 238 <div id="existingPassphraseContainer" class="list-item"> |
238 <paper-input id="existingPassphraseInput" type="password" | 239 <paper-input id="existingPassphraseInput" type="password" |
239 value="{{existingPassphrase_}}" | 240 value="{{existingPassphrase_}}" |
240 placeholder="$i18n{passphrasePlaceholder}" | 241 placeholder="$i18n{passphrasePlaceholder}" |
241 error-message="$i18n{incorrectPassphraseError}"> | 242 error-message="$i18n{incorrectPassphraseError}"> |
242 </paper-input> | 243 </paper-input> |
243 <paper-button id="submitExistingPassphrase" | 244 <paper-button id="submitExistingPassphrase" |
244 on-tap="onSubmitExistingPassphraseTap_" class="action-button" | 245 on-tap="onSubmitExistingPassphraseTap_" class="action-button" |
245 disabled="[[!existingPassphrase_]]"> | 246 disabled="[[!existingPassphrase_]]"> |
246 $i18n{submitPassphraseButton} | 247 $i18n{submitPassphraseButton} |
247 </paper-button> | 248 </paper-button> |
248 </div> | 249 </div> |
249 <div id="passphraseRecoverHint" class="list-item"> | 250 <div id="passphraseRecoverHint" class="list-item"> |
250 <span>$i18nRaw{passphraseRecover}</span> | 251 <span>$i18nRaw{passphraseRecover}</span> |
251 </div> | 252 </div> |
252 </div> | 253 </div> |
253 </template> | 254 </template> |
254 </div> | 255 </div> |
255 </template> | 256 </template> |
256 <script src="sync_page.js"></script> | 257 <script src="sync_page.js"></script> |
257 </dom-module> | 258 </dom-module> |
OLD | NEW |