Commit 66a6bb32 authored by Toby Huang's avatar Toby Huang Committed by Chromium LUCI CQ

LSU: Remove legacy supervised user UIs and strings

Legacy supervised users are now deprecated. This CL removes some dead
UI code and strings.

Bug: 1164090
Change-Id: I895ad42c4c336889aebb57112ca80ef622594e4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625803
Auto-Submit: Toby Huang <tobyhuang@chromium.org>
Reviewed-by: default avatarDenis Kuznetsov [CET] <antrim@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Toby Huang <tobyhuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844836}
parent 406f590c
......@@ -2390,12 +2390,6 @@ This file contains the strings for ash.
<message name="IDS_ASH_LOGIN_POD_OWNER_USER" desc="Login/lock screen user pod menu title for a user who owns the device.">
<ph name="USER_NAME">$1<ex>Ivan Arbuzov</ex></ph> (owner)
</message>
<message name="IDS_ASH_LOGIN_POD_LEGACY_SUPERVISED_EXPIRATION_WARNING" desc="Text shown as a warning that supervised users will be deprecated.">
Your supervised user profile will be removed soon. Sign in to learn more.
</message>
<message name="IDS_ASH_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING" desc="Text shown as a warning when attempting to remove legacy supervised user.">
All files and local data associated with the supervised user will be permanently deleted once this supervised user is removed. Visited websites and settings for this supervised user may still be visible by the manager at <ph name="MANAGEMENT_URL">$1<ex>www.example.com</ex></ph>.
</message>
<message name="IDS_ASH_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING_PART_1" desc="Text shown as a warning when attempting to remove non-owner user. Also see IDS_ASH_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING_PART_2.">
All files and local data associated with this user will be permanently deleted once this user is removed.
</message>
......
09c28d1841db0b6658f032506e3f42b4a63c6c40
\ No newline at end of file
......@@ -472,11 +472,6 @@ LoginErrorBubble* LockContentsView::TestApi::warning_banner_bubble() const {
return view_->warning_banner_bubble_;
}
LoginErrorBubble*
LockContentsView::TestApi::supervised_user_deprecation_bubble() const {
return view_->supervised_user_deprecation_bubble_;
}
views::View* LockContentsView::TestApi::user_adding_screen_indicator() const {
return view_->user_adding_screen_indicator_;
}
......@@ -640,10 +635,6 @@ LockContentsView::LockContentsView(
base::Unretained(this), DisplayStyle::kAll)));
expanded_view_->SetVisible(false);
supervised_user_deprecation_bubble_ =
AddChildView(std::make_unique<LoginErrorBubble>());
supervised_user_deprecation_bubble_->set_persistent(true);
detachable_base_error_bubble_ =
AddChildView(std::make_unique<LoginErrorBubble>());
detachable_base_error_bubble_->set_persistent(true);
......@@ -1993,22 +1984,6 @@ void LockContentsView::OnBigUserChanged() {
Shell::Get()->login_screen_controller()->OnFocusPod(big_user_account_id);
UpdateEasyUnlockIconForUser(big_user_account_id);
// TODO(crbug/1164090): After Supervised Users are deprecated, remove this.
if (big_user.basic_user_info.type ==
user_manager::USER_TYPE_SUPERVISED_DEPRECATED) {
// TODO(crbug/1164090): Remove this string and the associated screenshot.
base::string16 message = l10n_util::GetStringUTF16(
IDS_ASH_LOGIN_POD_LEGACY_SUPERVISED_EXPIRATION_WARNING);
// Shows supervised user deprecation message as a persistent error bubble.
supervised_user_deprecation_bubble_->SetTextContent(message);
supervised_user_deprecation_bubble_->SetAnchorView(
CurrentBigUserView()->auth_user()->GetActiveInputView());
supervised_user_deprecation_bubble_->Show();
} else if (supervised_user_deprecation_bubble_->GetVisible()) {
supervised_user_deprecation_bubble_->Hide();
}
// The new auth user might have different last used detachable base - make
// sure the detachable base pairing error is updated if needed.
OnDetachableBasePairingStatusChanged(
......
......@@ -98,7 +98,6 @@ class ASH_EXPORT LockContentsView
LoginErrorBubble* auth_error_bubble() const;
LoginErrorBubble* detachable_base_error_bubble() const;
LoginErrorBubble* warning_banner_bubble() const;
LoginErrorBubble* supervised_user_deprecation_bubble() const;
views::View* user_adding_screen_indicator() const;
views::View* system_info() const;
views::View* bottom_status_indicator() const;
......@@ -469,9 +468,6 @@ class ASH_EXPORT LockContentsView
views::View* user_adding_screen_indicator_ = nullptr;
// Bubble for displaying warning banner message.
LoginErrorBubble* warning_banner_bubble_;
// Bubble for displaying supervised user deprecation message.
// TODO(crbug/1164090): Remove this.
LoginErrorBubble* supervised_user_deprecation_bubble_;
// Bottom status indicator displaying entreprise domain or ADB enabled alert
BottomStatusIndicator* bottom_status_indicator_;
......
......@@ -22,9 +22,6 @@
namespace ash {
namespace {
constexpr char kLegacySupervisedUserManagementDisplayURL[] =
"www.chrome.com/manage";
// Vertical margin between username and mail.
constexpr int kUserMenuVerticalMarginUsernameMailDp = 8;
......@@ -203,12 +200,6 @@ LoginUserMenuView::LoginUserMenuView(
user_manager::UserType type = user.basic_user_info.type;
base::string16 part1 = l10n_util::GetStringUTF16(
IDS_ASH_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING_PART_1);
// TODO(crbug/1164090): Remove this section and the strings.
if (type == user_manager::UserType::USER_TYPE_SUPERVISED_DEPRECATED) {
part1 = l10n_util::GetStringFUTF16(
IDS_ASH_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
base::UTF8ToUTF16(kLegacySupervisedUserManagementDisplayURL));
}
base::string16 part2 = l10n_util::GetStringFUTF16(
type == user_manager::UserType::USER_TYPE_CHILD
? IDS_ASH_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING_PART_2_SUPERVISED_USER
......
......@@ -28,7 +28,7 @@ const gfx::VectorIcon& GetSupervisedUserIcon() {
base::string16 GetSupervisedUserMessage() {
SessionControllerImpl* session_controller =
Shell::Get()->session_controller();
DCHECK(session_controller->IsUserChildOrDeprecatedSupervised());
DCHECK(session_controller->IsUserChild());
DCHECK(session_controller->IsActiveUserSessionStarted());
// Get the active user session.
......@@ -39,14 +39,6 @@ base::string16 GetSupervisedUserMessage() {
base::string16 second_custodian =
UTF8ToUTF16(user_session->second_custodian_email);
// Regular supervised user. The "manager" is the first custodian.
// TODO(crbug/1164090): Remove this section.
if (!Shell::Get()->session_controller()->IsUserChild()) {
return l10n_util::GetStringFUTF16(IDS_ASH_USER_IS_SUPERVISED_BY_NOTICE,
first_custodian);
}
// Child supervised user.
if (second_custodian.empty()) {
return l10n_util::GetStringFUTF16(
IDS_ASH_CHILD_USER_IS_MANAGED_BY_ONE_PARENT_NOTICE, first_custodian);
......
......@@ -2,18 +2,12 @@
<!-- Profiles specific strings (included from generated_resources.grd). -->
<grit-part>
<!-- Supervised User (Legacy and Accounts for Kids) Avatar Menu -->
<message name="IDS_LEGACY_SUPERVISED_USER_INFO" desc="Text which explains that a supervised user is managed by a custodian.">
Usage and history can be reviewed by the manager (<ph name="CUSTODIAN_EMAIL">$1<ex>Jane.Doe@gmail.com</ex></ph>) on chrome.com.
</message>
<message name="IDS_CHILD_INFO_ONE_CUSTODIAN" desc="Text which explains that a child user is managed by a single parent.">
This is an account for kids managed by <ph name="CUSTODIAN_EMAIL">$1<ex>Jane.Doe@gmail.com</ex></ph>.
</message>
<message name="IDS_CHILD_INFO_TWO_CUSTODIANS" desc="Text which explains that a child user is managed by two parents.">
This is an account for kids managed by <ph name="CUSTODIAN_EMAIL">$1<ex>John.Doe@gmail.com</ex></ph> and <ph name="SECOND_CUSTODIAN_EMAIL">$2<ex>Jane.Doe@gmail.com</ex></ph>.
</message>
<message name="IDS_LEGACY_SUPERVISED_USER_AVATAR_LABEL" desc="A label for the supervised user which is used in the avatar menu and as a label in the titlebar.">
Supervised user
</message>
<message name="IDS_GENERIC_USER_AVATAR_LABEL" desc="Label shown for the user that is currently active, when there are multiple user accounts.">
Current user
</message>
......@@ -59,9 +53,6 @@
<message name="IDS_AVATAR_BUTTON_SYNC_PAUSED_TOOLTIP" desc="Tooltip for the avatar button when sync is paused for the current profile.">
<ph name="PROFILE_NAME">$1<ex>User</ex></ph>: Sync paused
</message>
<message name="IDS_LEGACY_SUPERVISED_USER_NEW_AVATAR_LABEL" desc="Label shown in the new avatar menu for a supervised user.">
<ph name="PROFILE_DISPLAY_NAME">$1<ex>Markus</ex></ph> (Supervised)
</message>
<message name="IDS_CHILD_AVATAR_LABEL" desc="Label shown in the new avatar menu for a child user.">
<ph name="PROFILE_DISPLAY_NAME">$1<ex>Markus</ex></ph> (Account for kids)
</message>
......@@ -504,20 +495,6 @@
<message name="IDS_PROFILES_CREATE_SUPERVISED_JUST_SIGNED_IN" desc="Warning message shown in the create-profile dialog when the custodian signed in recently, sync has not yet finished initializing, and so the creation process is likely to take extra time.">
Creating your supervised user. This may take a few moments.
</message>
<!-- Import existing supervised user dialog -->
<message name="IDS_IMPORT_EXISTING_LEGACY_SUPERVISED_USER_TITLE" desc="Title for the dialog used to import existing supervised users. The dialog appears when the custodian clicks on 'Import existing supervised user' during the user creation flow. The dialog displays a list of existing supervised users for the custodian to choose from">
Import an existing supervised user
</message>
<message name="IDS_IMPORT_EXISTING_LEGACY_SUPERVISED_USER_TEXT" desc="Text that instructs the user to choose one of the displayed supervised users to import to this device.">
Choose a supervised user to add to this device.
</message>
<message name="IDS_CREATE_NEW_LEGACY_SUPERVISED_USER_LINK" desc="The text for the link button that takes the user back from the dialog for importing an existing supervised user to the user creation dialog.">
Create a new supervised user
</message>
<message name="IDS_IMPORT_EXISTING_LEGACY_SUPERVISED_USER_OK" desc="Text on the button to confirm importing an existing supervised user.">
Import supervised user
</message>
</if>
<if expr="not is_android">
......@@ -530,17 +507,11 @@
<message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON" desc="Text shown on a button that confirms removal of a user.">
Remove This Person
</message>
<message name="IDS_CREATE_LEGACY_SUPERVISED_USER_MENU_LABEL" desc="Text shown on a menu option that creates a legacy supervised user.">
Add Supervised Person
</message>
</if>
<if expr="chromeos">
<message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON" desc="Text shown on a button that confirms removal of a user.">
Remove This User
</message>
<message name="IDS_CREATE_LEGACY_SUPERVISED_USER_MENU_LABEL" desc="Text shown on a menu option that creates a legacy supervised user.">
Add Supervised User
</message>
</if>
<message name="IDS_SCREEN_LOCK_SIGN_OUT">
Sign out
......@@ -554,17 +525,11 @@
<message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON" desc="Text shown on a button that confirms removal of a user.">
Remove this person
</message>
<message name="IDS_CREATE_LEGACY_SUPERVISED_USER_MENU_LABEL" desc="Text shown on a menu option that creates a legacy supervised user.">
Add supervised person
</message>
</if>
<if expr="chromeos">
<message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON" desc="Text shown on a button that confirms removal of a user.">
Remove this user
</message>
<message name="IDS_CREATE_LEGACY_SUPERVISED_USER_MENU_LABEL" desc="Text shown on a menu option that creates a legacy supervised user.">
Add supervised user
</message>
</if>
<message name="IDS_SCREEN_LOCK_SIGN_OUT">
Sign out
......@@ -634,9 +599,6 @@
<message name="IDS_LOGIN_POD_MENU_REMOVE_ITEM_ACCESSIBLE_NAME" desc="Text to be spoken when 'Remove user' item is selected on the pod menu.">
Remove this user
</message>
<message name="IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING" desc="Text shown as a warning when attempting to remove legacy supervised user.">
All files and local data associated with the supervised user will be permanently deleted once this supervised user is removed. Visited websites and settings for this supervised user may still be visible by the manager at <ph name="MANAGEMENT_URL">$1<ex>www.example.com</ex></ph>.
</message>
<message name="IDS_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING" desc="Text shown as a warning when attempting to remove non-owner user.">
All files and local data associated with this user will be permanently deleted once this user is removed. <ph name="USER_EMAIL">$1<ex>john.doe@example.com</ex></ph> can still sign in later.
</message>
......
......@@ -73,6 +73,8 @@ class AvatarMenu :
// Whether or not the current profile is a legacy supervised user profile
// (see SupervisedUserService).
// TODO(crbug/1155729): Remove this as legacy supervised users are
// deprecated.
bool legacy_supervised;
// Whether or not the profile is associated with a child account
......
......@@ -375,6 +375,7 @@ bool ProfileAttributesEntry::IsChild() const {
#endif
}
// TODO(crbug/1164090): Remove this function because it should always be false.
bool ProfileAttributesEntry::IsLegacySupervised() const {
return IsSupervised() && !IsChild();
}
......
......@@ -49,13 +49,11 @@ void ProfileListDesktop::RebuildMenu() {
new AvatarMenu::Item(items_.size(), entry->GetPath(), icon));
item->name = entry->GetName();
item->username = entry->GetUserName();
item->legacy_supervised = entry->IsLegacySupervised();
item->child_account = entry->IsChild();
item->signed_in = entry->IsAuthenticated();
if (entry->GetSigninState() == SigninState::kNotSignedIn) {
item->username = l10n_util::GetStringUTF16(
item->legacy_supervised ? IDS_LEGACY_SUPERVISED_USER_AVATAR_LABEL :
IDS_PROFILES_LOCAL_PROFILE_STATE);
item->username =
l10n_util::GetStringUTF16(IDS_PROFILES_LOCAL_PROFILE_STATE);
}
item->active = item->profile_path == active_profile_path_;
item->signin_required = entry->IsSigninRequired();
......
......@@ -138,10 +138,6 @@ base::string16 GetAvatarNameForProfile(const base::FilePath& profile_path) {
#if !BUILDFLAG(IS_CHROMEOS_ASH)
base::string16 GetProfileSwitcherTextForItem(const AvatarMenu::Item& item) {
if (item.legacy_supervised) {
return l10n_util::GetStringFUTF16(
IDS_LEGACY_SUPERVISED_USER_NEW_AVATAR_LABEL, item.name);
}
if (item.child_account)
return l10n_util::GetStringFUTF16(IDS_CHILD_AVATAR_LABEL, item.name);
return item.name;
......
......@@ -45,10 +45,6 @@
background-image: url(../../../../../ui/webui/resources/images/account_child_invert.svg);
}
.controlled-setting-indicator[controlled-by='supervised-user-custodian'] > div {
background-image: url(../../../../../ui/webui/resources/images/supervisor_account.svg);
}
.controlled-setting-bubble-action {
padding: 0 !important;
}
......@@ -82,7 +78,7 @@ html[dir='rtl'] .controlled-setting-bubble-extension-name {
}
.controlled-setting-bubble-extension-manage-link {
margin-left: -0.35em;
margin-inline-start: -0.35em;
margin-top: -0.30em;
position: absolute;
top: 50%;
......
......@@ -200,12 +200,6 @@
margin-inline-start: 8px;
}
.pod.legacy-supervised .legacy-supervised-indicator {
-webkit-mask-image:
url(../../../../ui/webui/resources/images/supervisor_account.svg);
display: block;
}
.pod.child .child-indicator {
-webkit-mask-image:
url(../../../../ui/webui/resources/images/account_child_invert.svg);
......
......@@ -359,11 +359,6 @@ void SigninScreenHandler::DeclareLocalizedValues(
builder->Add("removeUserWarningTextCalculating", base::string16());
builder->Add("removeUserWarningTextSyncNoStats", base::string16());
builder->Add("removeUserWarningTextSyncCalculating", base::string16());
// TODO(crbug/1164090): Remove this.
builder->AddF("removeLegacySupervisedUserWarningText",
IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
base::UTF8ToUTF16(
chrome::kLegacySupervisedUserManagementDisplayURL));
builder->Add("removeNonOwnerUserWarningText",
IDS_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING);
builder->Add("removeUserWarningButtonTitle",
......
......@@ -71,8 +71,6 @@ const char kKeyDisplayName[]= "displayName";
const char kKeyEmailAddress[] = "emailAddress";
const char kKeyProfilePath[] = "profilePath";
const char kKeyPublicAccount[] = "publicAccount";
// TODO(crbug/1164090): Remove this.
const char kKeyLegacySupervisedUser[] = "legacySupervisedUser";
const char kKeyChildUser[] = "childUser";
const char kKeyCanRemove[] = "canRemove";
const char kKeyIsOwner[] = "isOwner";
......@@ -661,9 +659,6 @@ void UserManagerScreenHandler::GetLocalizedValues(
localized_strings->SetString("cancel", l10n_util::GetStringUTF16(IDS_CANCEL));
localized_strings->SetString(
"browseAsGuest", l10n_util::GetStringUTF16(IDS_BROWSE_AS_GUEST_BUTTON));
// TODO(crbug/1164090): Remove this.
localized_strings->SetString("addSupervisedUser",
l10n_util::GetStringUTF16(IDS_CREATE_LEGACY_SUPERVISED_USER_MENU_LABEL));
// For AccountPickerScreen.
localized_strings->SetString("screenType", "login-add-user");
......@@ -704,12 +699,6 @@ void UserManagerScreenHandler::GetLocalizedValues(
localized_strings->SetString(
"removeUserWarningTextSync",
l10n_util::GetStringUTF16(IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC));
// TODO(crbug/1164090): Remove this.
localized_strings->SetString("removeLegacySupervisedUserWarningText",
l10n_util::GetStringFUTF16(
IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
base::UTF8ToUTF16(
chrome::kLegacySupervisedUserManagementDisplayURL)));
localized_strings->SetString(
"removeNonOwnerUserWarningText",
l10n_util::GetStringUTF16(IDS_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING));
......@@ -806,9 +795,6 @@ void UserManagerScreenHandler::SendUserList() {
profiles::GetAvatarNameForProfile(profile_path));
profile_value->SetKey(kKeyProfilePath, util::FilePathToValue(profile_path));
profile_value->SetBoolean(kKeyPublicAccount, false);
// TODO(crbug/1164090): Remove this.
profile_value->SetBoolean(kKeyLegacySupervisedUser,
entry->IsLegacySupervised());
profile_value->SetBoolean(kKeyChildUser, entry->IsChild());
profile_value->SetBoolean(kKeyNeedsSignin, entry->IsSigninRequired());
profile_value->SetBoolean(kKeyHasLocalCreds,
......
......@@ -168,9 +168,6 @@ const char kGooglePhotosURL[] = "https://photos.google.com";
const char kLearnMoreReportingURL[] =
"https://support.google.com/chrome/?p=ui_usagestat";
const char kLegacySupervisedUserManagementDisplayURL[] =
"www.chrome.com/manage";
const char kManagedUiLearnMoreUrl[] =
#if BUILDFLAG(IS_CHROMEOS_ASH)
"https://support.google.com/chromebook/?p=is_chrome_managed";
......
......@@ -172,11 +172,6 @@ extern const char kGooglePhotosURL[];
// first run dialog.
extern const char kLearnMoreReportingURL[];
// Management URL for Chrome Supervised Users - version without scheme, used
// for display.
// TODO(crbug/1164090): Remove this.
extern const char kLegacySupervisedUserManagementDisplayURL[];
// The URL for the Learn More page about policies and enterprise enrollment.
extern const char kManagedUiLearnMoreUrl[];
......
......@@ -200,6 +200,7 @@ void UserManagerBase::UserLoggedIn(const AccountId& account_id,
user ? user : User::CreatePublicAccountUser(account_id));
break;
// TODO(crbug/1155729): Remove this case.
case USER_TYPE_SUPERVISED_DEPRECATED:
NOTREACHED() << "Supervised users are not supported anymore";
break;
......
......@@ -130,29 +130,6 @@ html[dir=rtl] .user-image-pane {
display: block;
}
.pod .badge-container {
background: #FFF;
border-radius: 50%;
bottom: 0;
display: none;
height: 27px;
position: absolute;
right: 0;
width: 27px;
}
.pod .badge-container iron-icon {
--iron-icon-height: 25px;
--iron-icon-width: 25px;
display: none;
padding: 0;
}
.pod.legacy-supervised .badge-container,
.pod.legacy-supervised .legacy-supervised-badge {
display: block;
}
/* TODO(noms): Refactor this out into a CrOS-specific file and simplify the
style rule once it is included on CrOS only. crbug.com/397638 */
html:not([screen=login-add-user]) .pod .user-image {
......@@ -597,11 +574,6 @@ html[dir=rtl] .user-type-icon-area {
width: 16px;
}
.user-type-icon-area.legacySupervised .user-type-icon-image {
background-image: url(../../webui/resources/images/supervisor_account.svg);
background-size: 18px;
}
.user-type-icon-area.child .user-type-icon-image {
background-image: url(../../webui/resources/images/account_child_invert.svg);
background-size: 18px;
......@@ -751,11 +723,6 @@ html[dir=rtl] .user-type-icon-area {
/* Hide dialog elements not in a correct category. Only combinations currently
in use are included here. */
.pod.legacy-supervised .non-sync,
.pod.legacy-supervised .action-box-remove-user-warning-text,
.pod.legacy-supervised .action-box-remove-non-owner-user-warning-text,
.pod:not(.legacy-supervised)
.action-box-remove-legacy-supervised-user-warning-text,
.pod.synced .non-sync {
display: none;
}
......
......@@ -22,9 +22,6 @@
<g id="dropdown" stroke="none" stroke-width="1" fill-rule="evenodd">
<polygon points="16.59 8.59 12 13.17 7.41 8.59 6 10 12 16 18 10"></polygon>
</g>
<g id="legacy-supervised-badge">
<path d="M16.5,13.5 C17.42,13.5 18.16,12.7533333 18.16,11.8333333 C18.16,10.9133333 17.42,10.1666667 16.5,10.1666667 C15.58,10.1666667 14.8333333,10.9133333 14.8333333,11.8333333 C14.8333333,12.7533333 15.58,13.5 16.5,13.5 Z M11.5,12.8333333 C12.6066667,12.8333333 13.4933333,11.94 13.4933333,10.8333333 C13.4933333,9.72666667 12.6066667,8.83333333 11.5,8.83333333 C10.3933333,8.83333333 9.5,9.72666667 9.5,10.8333333 C9.5,11.94 10.3933333,12.8333333 11.5,12.8333333 Z M16.5,14.8333333 C15.28,14.8333333 12.8333333,15.4466667 12.8333333,16.6666667 L12.8333333,18.1666667 L20.1666667,18.1666667 L20.1666667,16.6666667 C20.1666667,15.4466667 17.72,14.8333333 16.5,14.8333333 Z M11.5,14.1666667 C9.94666667,14.1666667 6.83333333,14.9466667 6.83333333,16.5 L6.83333333,18.1666667 L11.5,18.1666667 L11.5,16.6666667 C11.5,16.1 11.72,15.1066667 13.08,14.3533333 C12.5,14.2333333 11.94,14.1666667 11.5,14.1666667 Z" id="Shape" fill="#000000" fill-rule="nonzero" opacity="0.34"></path>
</g>
<g id="caps-lock">
<path d="M2.5,4.49188419 C2.5,3.39179693 3.39339733,2.5 4.49188419,2.5 L15.5081158,2.5 C16.6082031,2.5 17.5,3.39339733 17.5,4.49188419 L17.5,15.5081158 C17.5,16.6082031 16.6066027,17.5 15.5081158,17.5 L4.49188419,17.5 C3.39179693,17.5 2.5,16.6066027 2.5,15.5081158 L2.5,4.49188419 Z M10,7.47368421 L13.825,11.5 L15,10.2631579 L10,5 L5,10.2631579 L6.175,11.5 L10,7.47368421 Z M5,15 L15,15 L15,13.5 L5,13.5 L5,15 Z" id="Combined-Shape" fill="#FFFFFF"></path>
</g>
......@@ -43,11 +40,6 @@
<img class="user-image" alt>
<img class="user-image animated-image" alt>
</div>
<div class="badge-container">
<iron-icon class="legacy-supervised-badge"
icon="user-pod:legacy-supervised-badge">
</iron-icon>
</div>
</div>
<if expr="chromeos">
<div class="pin-container pin-disabled pin-tag">
......@@ -150,9 +142,6 @@
</tr>
</tbody>
</table>
<div class="action-box-remove-legacy-supervised-user-warning-text">
$i18n{removeLegacySupervisedUserWarningText}
</div>
<div class="action-box-remove-non-owner-user-warning-text"></div>
<!-- cr-button is imported inside user_manager.html -->
<cr-button class="remove-warning-button action-button" noink>
......
......@@ -521,11 +521,6 @@ html[dir=rtl] .user-type-icon-area {
width: 16px;
}
.user-type-icon-area.legacySupervised .user-type-icon-image {
background-image: url(../../webui/resources/images/supervisor_account.svg);
background-size: 18px;
}
.user-type-icon-area.child .user-type-icon-image {
background-image: url(../../webui/resources/images/account_child_invert.svg);
background-size: 18px;
......
......@@ -31,7 +31,6 @@
</div>
<div class="signed-in-indicator">$i18n{signedIn}</div>
<div class="indicator-container">
<div class="indicator legacy-supervised-indicator"></div>
<div class="indicator child-indicator"></div>
<div class="indicator locked-indicator"></div>
</div>
......@@ -140,9 +139,6 @@
</tr>
</tbody>
</table>
<div class="action-box-remove-legacy-supervised-user-warning-text">
$i18n{removeLegacySupervisedUserWarningText}
</div>
<div class="action-box-remove-non-owner-user-warning-text"></div>
<!-- cr-button is imported inside user_manager.html -->
<cr-button class="remove-warning-button action-button">
......
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="#626262"><path d="M0 0h48v48H0z" fill="none"/><path d="M33 24c2.76 0 4.98-2.24 4.98-5s-2.22-5-4.98-5c-2.76 0-5 2.24-5 5s2.24 5 5 5zm-15-2c3.31 0 5.98-2.69 5.98-6s-2.67-6-5.98-6c-3.31 0-6 2.69-6 6s2.69 6 6 6zm15 6c-3.67 0-11 1.84-11 5.5V38h22v-4.5c0-3.66-7.33-5.5-11-5.5zm-15-2c-4.67 0-14 2.34-14 7v5h14v-4.5c0-1.7.67-4.67 4.74-6.94C21 26.19 19.31 26 18 26z"/></svg>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment