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

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

Issue 2498153002: [MD Settings][MD User Manager] create/manage profile desktop shortcut (Windows only) (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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="/import_supervised_user.html"> 1 <link rel="import" href="/import_supervised_user.html">
2 <link rel="import" href="/profile_browser_proxy.html"> 2 <link rel="import" href="/profile_browser_proxy.html">
3 <link rel="import" href="/shared_styles.html"> 3 <link rel="import" href="/shared_styles.html">
4 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select or/cr_profile_avatar_selector.html"> 4 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select or/cr_profile_avatar_selector.html">
5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 5 <link rel="import" href="chrome://resources/cr_elements/icons.html">
6 <link rel="import" href="chrome://resources/html/action_link.html"> 6 <link rel="import" href="chrome://resources/html/action_link.html">
7 <link rel="import" href="chrome://resources/html/cr.html"> 7 <link rel="import" href="chrome://resources/html/cr.html">
8 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 8 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
9 <link rel="import" href="chrome://resources/html/polymer.html"> 9 <link rel="import" href="chrome://resources/html/polymer.html">
10 <link rel="import" href="chrome://resources/html/util.html"> 10 <link rel="import" href="chrome://resources/html/util.html">
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 paper-checkbox { 92 paper-checkbox {
93 --paper-checkbox-checked-color: var(--google-blue-500); 93 --paper-checkbox-checked-color: var(--google-blue-500);
94 --paper-checkbox-label-spacing: 16px; 94 --paper-checkbox-label-spacing: 16px;
95 --paper-checkbox-size: 16px; 95 --paper-checkbox-size: 16px;
96 --paper-checkbox-unchecked-color: var(--paper-grey-600); 96 --paper-checkbox-unchecked-color: var(--paper-grey-600);
97 margin-top: 24px; 97 margin-top: 24px;
98 } 98 }
99 99
100 paper-checkbox + paper-checkbox {
101 margin-top: 16px;
102 }
103
100 #supervised-user-container { 104 #supervised-user-container {
101 -webkit-padding-start: 32px; 105 -webkit-padding-start: 32px;
102 } 106 }
103 107
104 #supervised-user-container #learn-more { 108 #supervised-user-container #learn-more {
105 line-height: 20px; 109 line-height: 20px;
106 } 110 }
107 111
108 #supervised-user-container paper-dropdown-menu { 112 #supervised-user-container paper-dropdown-menu {
109 margin-top: 4px; 113 margin-top: 4px;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 <span id="message" inner-h-t-m-l="[[message_]]"></span> 153 <span id="message" inner-h-t-m-l="[[message_]]"></span>
150 </div> 154 </div>
151 <div class="container"> 155 <div class="container">
152 <div id="title-bar">$i18n{createProfileTitle}</div> 156 <div id="title-bar">$i18n{createProfileTitle}</div>
153 <paper-input id="nameInput" value="{{profileName_}}" pattern=".*\S.*" 157 <paper-input id="nameInput" value="{{profileName_}}" pattern=".*\S.*"
154 no-label-float auto-validate> 158 no-label-float auto-validate>
155 </paper-input> 159 </paper-input>
156 <cr-profile-avatar-selector avatars="[[availableIcons_]]" 160 <cr-profile-avatar-selector avatars="[[availableIcons_]]"
157 selected-avatar-url="{{profileIconUrl_}}"> 161 selected-avatar-url="{{profileIconUrl_}}">
158 </cr-profile-avatar-selector> 162 </cr-profile-avatar-selector>
159 <paper-checkbox checked="{{isSupervised_}}"> 163 <paper-checkbox id="createShortcutCheckbox" checked="{{createShortcut_}}"
164 hidden="[[!isProfileShortcutsEnabled_]]">
165 $i18n{createDesktopShortcutLabel}
166 </paper-checkbox>
167 <paper-checkbox id="makeSupervisedCheckbox" checked="{{isSupervised_}}">
160 $i18n{manageProfilesSupervisedSignedInLabel} 168 $i18n{manageProfilesSupervisedSignedInLabel}
161 </paper-checkbox> 169 </paper-checkbox>
162 <div id="supervised-user-container"> 170 <div id="supervised-user-container">
163 <div id="learn-more" > 171 <div id="learn-more" >
164 <a is="action-link" on-tap="onLearnMoreTap_">$i18n{learnMore}</a> 172 <a is="action-link" on-tap="onLearnMoreTap_">$i18n{learnMore}</a>
165 </div> 173 </div>
166 <template is="dom-if" if="[[isSupervised_]]"> 174 <template is="dom-if" if="[[isSupervised_]]">
167 <template is="dom-if" if="[[isSignedIn_(signedInUsers_)]]"> 175 <template is="dom-if" if="[[isSignedIn_(signedInUsers_)]]">
168 <paper-dropdown-menu label="$i18n{selectAnAccount}" no-label-float> 176 <paper-dropdown-menu label="$i18n{selectAnAccount}" no-label-float>
169 <paper-listbox class="dropdown-content" 177 <paper-listbox class="dropdown-content"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 loadingSupervisedUsers_, 210 loadingSupervisedUsers_,
203 profileName_)]]"> 211 profileName_)]]">
204 $i18n{createProfileConfirm} 212 $i18n{createProfileConfirm}
205 </paper-button> 213 </paper-button>
206 </div> 214 </div>
207 <import-supervised-user id="importUserPopup"></import-supervised-user> 215 <import-supervised-user id="importUserPopup"></import-supervised-user>
208 </div> 216 </div>
209 </template> 217 </template>
210 <script src="create_profile.js"></script> 218 <script src="create_profile.js"></script>
211 </dom-module> 219 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/md_user_manager/create_profile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698