From 947eaddb13d5a7314a16d68ad7b9657cc63b1a9d Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Fri, 18 Aug 2023 09:16:10 -0400 Subject: [PATCH] Fleet UI: Update banner to remove old icon and use InfoBanner component (#13312) --- assets/images/icon-close-8x8@2x.png | Bin 363 -> 0 bytes assets/images/icon-close-white-16x16@2x.png | Bin 282 -> 0 bytes frontend/components/InfoBanner/InfoBanner.tsx | 2 +- frontend/components/InfoBanner/_styles.scss | 9 +++++++ .../hosts/ManageHostsPage/ManageHostsPage.tsx | 22 ++++++----------- .../pages/hosts/ManageHostsPage/_styles.scss | 23 ------------------ 6 files changed, 18 insertions(+), 38 deletions(-) delete mode 100644 assets/images/icon-close-8x8@2x.png delete mode 100644 assets/images/icon-close-white-16x16@2x.png diff --git a/assets/images/icon-close-8x8@2x.png b/assets/images/icon-close-8x8@2x.png deleted file mode 100644 index 22fc241309d2ce01835e471471fa7f7f8ac2a072..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 363 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rf|&H|6fVg?2=RS;(M3{v?36l5$8 za(7}_cTVOdki(Mh=q)uK^Ypt$lFyCS>hpZ(L%@BY2_jw<7i$rE-tPjKO=n6`R* z&dsf-^z{zbO^|yU5HM$XM#s(=ou?(tOkVaOe4hncf{trW;EChgla^rb;m@UFGqG=v zqnI20cGcTCYINo3QDWdcbru4J^{S+&UJ z@_|D-mjo`X{AxN;jeBELOoCd=6Gr7X0UOLDZm&^)l(&5O!Q3cEJ^^i>ScMSbr)O+< zf6acubg^}ARr(9Ai;oiSO`oyT!DGwvVAl2 zh>?Qv!oc8my_yHBw*KEL!W%eA#h=aL<<% zq% +
You have no enroll secrets. Manage enroll secrets to enroll hosts to {isAnyTeamSelected ? currentTeamName : "Fleet"}.
-
- -
- +
) ); }; diff --git a/frontend/pages/hosts/ManageHostsPage/_styles.scss b/frontend/pages/hosts/ManageHostsPage/_styles.scss index f07518019..e83c786b6 100644 --- a/frontend/pages/hosts/ManageHostsPage/_styles.scss +++ b/frontend/pages/hosts/ManageHostsPage/_styles.scss @@ -285,29 +285,6 @@ padding-bottom: $pad-large; } - &__no-enroll-secret-banner { - display: flex; - justify-content: space-between; - align-items: center; - font-size: $x-small; - background-color: $ui-off-white; - padding: $pad-large; - border-radius: 10px; - border: 1px solid $ui-fleet-black-50; - - .dismiss-banner-button { - display: flex; - align-items: center; - img { - height: 16px; - width: auto; - } - } - &:not(:only-child) { - margin-bottom: $pad-medium; - } - } - .total-issues-count { margin-left: $pad-small; }