Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / resources / settings / users_page / users_page.html
blob4701e240a55d62f16d7dc6a12ae533361afbb843
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button.html">
6 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.html">
7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
8 <link rel="import" href="chrome://md-settings/settings_page/settings_section.html">
9 <link rel="import" href="user_list.html">
11 <dom-module id="cr-settings-users-page">
12 <link rel="import" type="css"
13 href="chrome://md-settings/settings_page/settings_page.css">
14 <link rel="import" type="css" href="users_page.css">
15 <template>
16 <div class="page-content">
17 <div i18n-content="usersModifiedByOwnerLabel"
18 hidden$="{{computeHideOwnerLabel_(isOwner, isWhitelistManaged)}}">
19 </div>
20 <div i18n-content="settingsManagedLabel"
21 hidden$="{{computeHideManagedLabel_(isOwner, isWhitelistManaged)}}">
22 </div>
23 <div>
24 <cr-settings-checkbox
25 pref="{{prefs.cros.accounts.allowBWSI}}"
26 i18n-values="label:guestBrowsingLabel"
27 disabled="{{editingDisabled}}">
28 </cr-settings-checkbox>
29 <cr-settings-checkbox
30 pref="{{prefs.cros.accounts.supervisedUsersEnabled}}"
31 i18n-values="label:supervisedUsersLabel"
32 disabled="{{editingDisabled}}">
33 </cr-settings-checkbox>
34 <cr-settings-checkbox
35 pref="{{prefs.cros.accounts.showUserNamesOnSignIn}}"
36 i18n-values="label:showOnSigninLabel"
37 disabled="{{editingDisabled}}">
38 </cr-settings-checkbox>
39 <cr-settings-checkbox
40 pref="{{prefs.cros.accounts.allowGuest}}"
41 id="restrictSignIn"
42 i18n-values="label:restrictSigninLabel"
43 disabled="{{editingDisabled}}" inverted>
44 </cr-settings-checkbox>
45 </div>
46 <div class="users">
47 <div>
48 <cr-settings-user-list prefs="[[prefs]]"
49 disabled="[[editingUsersDisabled]]">
50 </cr-settings-user-list>
51 </div>
52 <div>
53 <cr-input id="addUserInput" i18n-values="label:addUsersLabel"
54 disabled="[[editingUsersDisabled]]"></cr-input>
55 <div class="add-user-button layout horizontal end-justified">
56 <cr-button i18n-content="addLabel" on-click="addUser_"
57 disabled="[[editingUsersDisabled]]" raised>
58 </cr-button>
59 </div>
60 </div>
61 </div>
62 </div>
63 </template>
64 <script src="users_page.js"></script>
65 </dom-module>