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">
16 <div class=
"page-content">
17 <div i18n-content=
"usersModifiedByOwnerLabel"
18 hidden$=
"{{computeHideOwnerLabel_(isOwner, isWhitelistManaged)}}">
20 <div i18n-content=
"settingsManagedLabel"
21 hidden$=
"{{computeHideManagedLabel_(isOwner, isWhitelistManaged)}}">
25 pref=
"{{prefs.cros.accounts.allowBWSI}}"
26 i18n-values=
"label:guestBrowsingLabel"
27 disabled=
"{{editingDisabled}}">
28 </cr-settings-checkbox>
30 pref=
"{{prefs.cros.accounts.supervisedUsersEnabled}}"
31 i18n-values=
"label:supervisedUsersLabel"
32 disabled=
"{{editingDisabled}}">
33 </cr-settings-checkbox>
35 pref=
"{{prefs.cros.accounts.showUserNamesOnSignIn}}"
36 i18n-values=
"label:showOnSigninLabel"
37 disabled=
"{{editingDisabled}}">
38 </cr-settings-checkbox>
40 pref=
"{{prefs.cros.accounts.allowGuest}}"
42 i18n-values=
"label:restrictSigninLabel"
43 disabled=
"{{editingDisabled}}" inverted
>
44 </cr-settings-checkbox>
48 <cr-settings-user-list prefs=
"[[prefs]]"
49 disabled=
"[[editingUsersDisabled]]">
50 </cr-settings-user-list>
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
>
64 <script src=
"users_page.js"></script>