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

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

Issue 1568963003: Revert of Settings People Revamp: Implement Chrome Profile name/icon selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
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/polymer/v1_0/polymer/polymer.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.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-dialog/paper-dial og.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html">
7 <link rel="import" href="chrome://md-settings/people_page/manage_profile.html">
8 <link rel="import" href="chrome://md-settings/people_page/sync_page.html"> 7 <link rel="import" href="chrome://md-settings/people_page/sync_page.html">
9 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html" > 8 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html" >
10 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> 9 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
11 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml"> 10 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml">
12 11
13 <if expr="chromeos"> 12 <if expr="chromeos">
14 <link rel="import" href="chrome://md-settings/people_page/users_page.html"> 13 <link rel="import" href="chrome://md-settings/people_page/users_page.html">
15 </if> 14 </if>
16 15
17 <dom-module id="settings-people-page"> 16 <dom-module id="settings-people-page">
18 <link rel="import" type="css" href="chrome://md-settings/settings_shared.css"> 17 <link rel="import" type="css" href="chrome://md-settings/settings_shared.css">
19 <link rel="import" type="css" href="people_page.css"> 18 <link rel="import" type="css" href="people_page.css">
20 <template> 19 <template>
21 <settings-animated-pages id="pages" current-route="{{currentRoute}}" 20 <settings-animated-pages id="pages" current-route="{{currentRoute}}"
22 section="people"> 21 section="people">
23 <neon-animatable id="main"> 22 <neon-animatable id="main">
24 <div class="settings-box"> 23 <div class="settings-box">
25 <div class="split"> 24 <div class="split">
26 <span class="start" on-tap="onManageProfileTap_"> 25 <span class="start">
27 <img id="account-picture" src="[[profileIconUrl_]]"> 26 <img id="account-picture" src="[[syncStatus.iconURL]]">
28 [[profileName_]] 27 [[syncStatus.name]]
29 </span> 28 </span>
30 <span> 29 <span>
31 <template is="dom-if" if="[[!syncStatus.signedIn]]"> 30 <template is="dom-if" if="[[!syncStatus.signedIn]]">
32 <paper-button on-tap="onSigninTap_" raised 31 <paper-button on-tap="onSigninTap_" raised
33 disabled="[[syncStatus.setupInProgress]]"> 32 disabled="[[syncStatus.setupInProgress]]">
34 [[i18n('syncSignin')]] 33 [[i18n('syncSignin')]]
35 </paper-button> 34 </paper-button>
36 </template> 35 </template>
37 <template is="dom-if" if="[[syncStatus.signedIn]]"> 36 <template is="dom-if" if="[[syncStatus.signedIn]]">
38 <paper-button on-tap="onDisconnectTap_" 37 <paper-button on-tap="onDisconnectTap_"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 <settings-sync-page current-route="[[currentRoute]]"> 73 <settings-sync-page current-route="[[currentRoute]]">
75 </settings-sync-page> 74 </settings-sync-page>
76 </neon-animatable> 75 </neon-animatable>
77 <if expr="chromeos"> 76 <if expr="chromeos">
78 <neon-animatable id="users"> 77 <neon-animatable id="users">
79 <settings-subheader i18n-values="page-title:usersPageTitle"> 78 <settings-subheader i18n-values="page-title:usersPageTitle">
80 </settings-subheader> 79 </settings-subheader>
81 <settings-users-page prefs="{{prefs}}"></settings-users-page> 80 <settings-users-page prefs="{{prefs}}"></settings-users-page>
82 <neon-animatable> 81 <neon-animatable>
83 </if> 82 </if>
84 <if expr="not chromeos">
85 <neon-animatable id="manageProfile">
86 <settings-subheader i18n-values="page-title:editPerson">
87 </settings-subheader>
88 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]"
89 profile-name="[[profileName_]]">
90 </settings-manage-profile>
91 <neon-animatable>
92 </if>
93 </settings-animated-pages> 83 </settings-animated-pages>
94 84
95 <paper-dialog modal id="disconnectDialog"> 85 <paper-dialog modal id="disconnectDialog">
96 <h2 i18n-content="syncDisconnectTitle"></h2> 86 <h2 i18n-content="syncDisconnectTitle"></h2>
97 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div> 87 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div>
98 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> 88 <if expr="(not chromeos and is_posix) or is_win or is_macosx">
99 <paper-checkbox id="deleteProfile" 89 <paper-checkbox id="deleteProfile"
100 i18n-content="syncDisconnectDeleteProfile"> 90 i18n-content="syncDisconnectDeleteProfile">
101 </paper-checkbox> 91 </paper-checkbox>
102 </if> 92 </if>
103 <div class="button-strip"> 93 <div class="button-strip">
104 <paper-button dialog-dismiss i18n-content="cancel"> 94 <paper-button dialog-dismiss i18n-content="cancel">
105 </paper-button> 95 </paper-button>
106 <paper-button dialog-confirm raised on-tap="onDisconnectConfirm_" 96 <paper-button dialog-confirm raised on-tap="onDisconnectConfirm_"
107 i18n-content="syncDisconnectConfirm"> 97 i18n-content="syncDisconnectConfirm">
108 </paper-button> 98 </paper-button>
109 </div> 99 </div>
110 </paper-dialog> 100 </paper-dialog>
111 </template> 101 </template>
112 <script src="people_page.js"></script> 102 <script src="people_page.js"></script>
113 </dom-module> 103 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698