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

Side by Side Diff: chrome/browser/resources/md_user_manager/create_profile.html

Issue 2047383003: MD User Manager: "Select an account" should just be a label not a menu entry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_user_manager/create_profile.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://md-user-manager/import_supervised_user.html"> 1 <link rel="import" href="chrome://md-user-manager/import_supervised_user.html">
2 <link rel="import" href="chrome://md-user-manager/profile_browser_proxy.html"> 2 <link rel="import" href="chrome://md-user-manager/profile_browser_proxy.html">
3 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> 3 <link rel="import" href="chrome://md-user-manager/shared_styles.html">
4 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 4 <link rel="import" href="chrome://resources/cr_elements/icons.html">
5 <link rel="import" href="chrome://resources/html/action_link.html"> 5 <link rel="import" href="chrome://resources/html/action_link.html">
6 <link rel="import" href="chrome://resources/html/cr.html"> 6 <link rel="import" href="chrome://resources/html/cr.html">
7 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 7 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
8 <link rel="import" href="chrome://resources/html/polymer.html"> 8 <link rel="import" href="chrome://resources/html/polymer.html">
9 <link rel="import" href="chrome://resources/html/util.html"> 9 <link rel="import" href="chrome://resources/html/util.html">
10 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 10 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 #title-bar { 65 #title-bar {
66 border-bottom: 1px solid rgba(0, 0, 0, .12); 66 border-bottom: 1px solid rgba(0, 0, 0, .12);
67 font-size: 16px; 67 font-size: 16px;
68 font-weight: 500; 68 font-weight: 500;
69 padding: 104px 0 16px; 69 padding: 104px 0 16px;
70 } 70 }
71 71
72 #nameInput, 72 #nameInput,
73 paper-dropdown-menu { 73 paper-dropdown-menu {
74 --paper-input-container-color: var(--primary-text-color);
75 --paper-input-container-focus-color: var(--google-blue-500);
76 --paper-input-container-input: { 74 --paper-input-container-input: {
77 font-size: inherit; 75 font-size: inherit;
78 }; 76 };
77 --paper-input-container-label: {
78 font-size: inherit;
79 };
80 --paper-input-container-underline-focus: var(--google-blue-500);
79 } 81 }
80 82
81 #nameInput { 83 #nameInput {
82 margin-bottom: 24px; 84 margin-bottom: 24px;
83 margin-top: 32px; 85 margin-top: 32px;
84 width: 300px; 86 width: 300px;
85 } 87 }
86 88
87 #icons { 89 #icons {
88 display: flex; 90 display: flex;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 </div> 196 </div>
195 <paper-checkbox checked="{{isSupervised_}}"> 197 <paper-checkbox checked="{{isSupervised_}}">
196 $i18n{manageProfilesSupervisedSignedInLabel} 198 $i18n{manageProfilesSupervisedSignedInLabel}
197 </paper-checkbox> 199 </paper-checkbox>
198 <div id="supervised-user-container"> 200 <div id="supervised-user-container">
199 <div id="learn-more" > 201 <div id="learn-more" >
200 <a is="action-link" on-tap="onLearnMoreTap_">$i18n{learnMore}</a> 202 <a is="action-link" on-tap="onLearnMoreTap_">$i18n{learnMore}</a>
201 <div> 203 <div>
202 <template is="dom-if" if="[[isSupervised_]]"> 204 <template is="dom-if" if="[[isSupervised_]]">
203 <template is="dom-if" if="[[isSignedIn_(signedInUsers_)]]"> 205 <template is="dom-if" if="[[isSignedIn_(signedInUsers_)]]">
204 <paper-dropdown-menu no-label-float> 206 <paper-dropdown-menu label="$i18n{selectAnAccount}" no-label-float>
205 <paper-listbox class="dropdown-content" 207 <paper-listbox class="dropdown-content"
206 selected="{{signedInUserIndex_}}" 208 selected="{{signedInUserIndex_}}"
207 attr-for-selected="data-user-index"> 209 attr-for-selected="data-user-index">
208 <paper-item data-user-index$="[[sentinelSignedInUserIndex_]]">
209 $i18n{selectAnAccount}
210 </paper-item>
211 <template is="dom-repeat" items="[[signedInUsers_]]"> 210 <template is="dom-repeat" items="[[signedInUsers_]]">
212 <paper-item data-user-index$="[[index]]"> 211 <paper-item data-user-index$="[[index]]">
213 [[item.username]] 212 [[item.username]]
214 </paper-item> 213 </paper-item>
215 </template> 214 </template>
216 </paper-listbox> 215 </paper-listbox>
217 </paper-dropdown-menu> 216 </paper-dropdown-menu>
218 <a id="import-user" is="action-link" on-tap="onImportUserTap_" 217 <a id="import-user" is="action-link" on-tap="onImportUserTap_"
219 hidden="[[isImportUserLinkHidden_(createInProgress_, 218 hidden="[[isImportUserLinkHidden_(createInProgress_,
220 signedInUserIndex_)]]"> 219 signedInUserIndex_)]]">
(...skipping 15 matching lines...) Expand all
236 <paper-button id="save" class="action primary" on-tap="onSaveTap_" 235 <paper-button id="save" class="action primary" on-tap="onSaveTap_"
237 disabled="[[isSaveDisabled_(createInProgress_, profileName_)]]"> 236 disabled="[[isSaveDisabled_(createInProgress_, profileName_)]]">
238 $i18n{createProfileConfirm} 237 $i18n{createProfileConfirm}
239 </paper-button> 238 </paper-button>
240 </div> 239 </div>
241 <import-supervised-user id="importUserPopup"></import-supervised-user> 240 <import-supervised-user id="importUserPopup"></import-supervised-user>
242 </div> 241 </div>
243 </template> 242 </template>
244 <script src="chrome://md-user-manager/create_profile.js"></script> 243 <script src="chrome://md-user-manager/create_profile.js"></script>
245 </dom-module> 244 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_user_manager/create_profile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698