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

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

Issue 1503333003: Settings People Rewrite: Make Sync/Sign-in naming consistent to People. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge upstream changes Created 5 years 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
(Empty)
1 <link rel="import" href="chrome://resources/html/i18n_behavior.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">
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">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html">
7 <link rel="import" href="chrome://md-settings/sync_page/sync_page.html">
8 <link rel="import" href="chrome://md-settings/sync_page/sync_private_api.html">
9 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
10 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml">
11
12 <dom-module id="settings-signin-page">
13 <link rel="import" type="css"
14 href="chrome://md-settings/settings_shared.css">
15 <template>
16 <settings-animated-pages id="pages" current-route="{{currentRoute}}"
17 section="people">
18 <neon-animatable id="main">
19 <div class="settings-box">
20 <div class="split">
21 <span class="start">
22 <!-- TODO(tommycli): Investigate ChromeOS user pictures.
23 To be done by January 2015. -->
24 <img src="[[syncStatus.iconURL]]">
25 [[syncStatus.name]]
26 </span>
27 <span>
28 <template is="dom-if" if="[[!syncStatus.signedIn]]">
29 <paper-button on-tap="onSigninTap_" raised
30 disabled="[[syncStatus.setupInProgress]]">
31 [[i18n('syncSignin')]]
32 </paper-button>
33 </template>
34 <template is="dom-if" if="[[syncStatus.signedIn]]">
35 <paper-button on-tap="onDisconnectTap_"
36 disabled="[[syncStatus.setupInProgress]]">
37 [[i18n('syncDisconnect')]]
38 </paper-button>
39 </template>
40 </span>
41 </div>
42 <div hidden="[[syncStatus.signedIn]]">[[i18n('syncOverview')]]</div>
43 </div>
44
45 <div class="settings-box split"
46 hidden="[[!isStatusTextSet_(syncStatus)]]">
47 <span id="syncStatusText"></span>
48 <paper-button on-tap="onActionLinkTap_">
49 [[syncStatus.actionLinkText]]
50 </paper-button>
51 </div>
52
53 <template is="dom-if"
54 if="[[isAdvancedSyncSettingsVisible_(syncStatus)]]">
55 <div class="settings-box">
56 <paper-button on-tap="onSyncTap_" raised>
57 [[i18n('syncPageTitle')]]
58 </paper-button>
59 </div>
60 </template>
61
62 <div class="settings-box">
63 <paper-button i18n-content="manageOtherPeople"
64 on-tap="onManageOtherPeople_">
65 </paper-button>
66 </div>
67 </neon-animatable>
68 <neon-animatable id="sync">
69 <settings-subheader i18n-values="page-title:syncPageTitle">
70 </settings-subheader>
71 <settings-sync-page current-route="[[currentRoute]]">
72 </settings-sync-page>
73 </neon-animatable>
74 </settings-animated-pages>
75
76 <paper-dialog modal id="disconnectDialog">
77 <h2 i18n-content="syncDisconnectTitle"></h2>
78 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div>
79 <if expr="(not chromeos and is_posix) or is_win or is_macosx">
80 <paper-checkbox id="deleteProfile"
81 i18n-content="syncDisconnectDeleteProfile">
82 </paper-checkbox>
83 </if>
84 <div class="button-strip">
85 <paper-button dialog-dismiss i18n-content="cancel">
86 </paper-button>
87 <paper-button dialog-confirm raised on-tap="onDisconnectConfirm_"
88 i18n-content="syncDisconnectConfirm">
89 </paper-button>
90 </div>
91 </paper-dialog>
92 </template>
93 <script src="signin_page.js"></script>
94 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | chrome/browser/resources/settings/signin_page/signin_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698