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/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.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/html/web_ui_listener_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 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-checkbox/paper-ch eckbox.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> |
8 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> | 8 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> |
9 <link rel="import" href="/controls/settings_checkbox.html"> | 9 <link rel="import" href="/controls/settings_checkbox.html"> |
10 <link rel="import" href="/people_page/sync_page.html"> | 10 <link rel="import" href="/people_page/sync_page.html"> |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
279 associated-control="[[$$('#picture-subpage-trigger')]]" | 279 associated-control="[[$$('#picture-subpage-trigger')]]" |
280 page-title="$i18n{editPerson}"> | 280 page-title="$i18n{editPerson}"> |
281 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]" | 281 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]" |
282 profile-name="[[profileName_]]"> | 282 profile-name="[[profileName_]]"> |
283 </settings-manage-profile> | 283 </settings-manage-profile> |
284 </settings-subpage> | 284 </settings-subpage> |
285 </template> | 285 </template> |
286 </if> | 286 </if> |
287 </settings-animated-pages> | 287 </settings-animated-pages> |
288 | 288 |
289 <dialog is="cr-dialog" id="disconnectDialog"> | 289 <template is="dom-if" if="[[showingDisconnectDialog_]]" restamp> |
290 <div class="title">$i18n{syncDisconnectTitle}</div> | 290 <dialog is="cr-dialog" id="disconnectDialog" |
291 <div class="body"> | 291 on-close="onDisconnectDialogClosed_"> |
292 <div inner-h-t-m-l="[[getDisconnectExplanationHtml_(syncStatus.domain)]] "> | 292 <div class="title">$i18n{syncDisconnectTitle}</div> |
293 <div class="body"> | |
294 <div inner-h-t-m-l="[[getDisconnectExplanationHtml_(syncStatus.domain) ]]"> | |
Dan Beam
2016/08/12 20:35:42
wrap
| |
295 </div> | |
296 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> | |
297 <paper-checkbox id="deleteProfile" hidden=[[syncStatus.domain]]> | |
298 $i18n{syncDisconnectDeleteProfile} | |
299 </paper-checkbox> | |
300 </if> | |
293 </div> | 301 </div> |
294 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> | 302 <div class="button-container"> |
295 <paper-checkbox id="deleteProfile" hidden=[[syncStatus.domain]]> | 303 <paper-button on-tap="onDisconnectCancel_" class="cancel-button"> |
296 $i18n{syncDisconnectDeleteProfile} | 304 $i18n{cancel} |
297 </paper-checkbox> | 305 </paper-button> |
298 </if> | 306 <paper-button id="disconnectConfirm" class="action-button" |
299 </div> | 307 hidden=[[syncStatus.domain]] on-tap="onDisconnectConfirm_"> |
300 <div class="button-container"> | 308 $i18n{syncDisconnect} |
301 <paper-button on-tap="onDisconnectCancel_" class="cancel-button"> | 309 </paper-button> |
302 $i18n{cancel} | 310 <paper-button id="disconnectManagedProfileConfirm" class="action-butto n" |
Dan Beam
2016/08/12 20:35:42
wrap
| |
303 </paper-button> | 311 hidden=[[!syncStatus.domain]] on-tap="onDisconnectConfirm_"> |
304 <paper-button id="disconnectConfirm" class="action-button" | 312 $i18n{syncDisconnectConfirm} |
305 hidden=[[syncStatus.domain]] on-tap="onDisconnectConfirm_"> | 313 </paper-button> |
306 $i18n{syncDisconnect} | 314 </div> |
307 </paper-button> | 315 </dialog> |
308 <paper-button id="disconnectManagedProfileConfirm" class="action-button" | 316 </template> |
309 hidden=[[!syncStatus.domain]] on-tap="onDisconnectConfirm_"> | |
310 $i18n{syncDisconnectConfirm} | |
311 </paper-button> | |
312 </div> | |
313 </dialog> | |
314 | 317 |
315 <if expr="chromeos"> | 318 <if expr="chromeos"> |
316 <template is="dom-if" if="[[easyUnlockEnabled_]]"> | 319 <template is="dom-if" if="[[easyUnlockEnabled_]]"> |
317 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"> | 320 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"> |
318 </easy-unlock-turn-off-dialog> | 321 </easy-unlock-turn-off-dialog> |
319 </template> | 322 </template> |
320 </if> | 323 </if> |
321 </template> | 324 </template> |
322 <script src="people_page.js"></script> | 325 <script src="people_page.js"></script> |
323 </dom-module> | 326 </dom-module> |
OLD | NEW |