feat(system): make ui fixes to upgrade dialog [EE-4071] (#8199)

* feat(system): make ui fixes to upgrade dialog

* fix(system): hide on non-enabled platforms
pull/8220/head
Chaim Lev-Ari 2 years ago committed by GitHub
parent d75d2ba9ce
commit 123754cee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,7 +57,7 @@ function UpgradeBEBanner() {
<>
<button
type="button"
className="border-0 bg-warning-5 text-warning-9 w-full min-h-[48px] h-12 font-semibold flex justify-center items-center gap-3"
className="border-0 bg-warning-5 text-warning-9 w-full py-2 font-semibold flex justify-center items-center gap-3"
onClick={handleClick}
>
{isSidebarOpen && <>Upgrade to Business Edition</>}

@ -44,7 +44,7 @@ export function UploadLicenseDialog({
<Form noValidate>
<Modal.Body>
<p className="font-semibold text-gray-7">
Please enter your Portainer License Below
Please enter your Portainer License below
</p>
<FormControl
label="License"
@ -58,7 +58,7 @@ export function UploadLicenseDialog({
<Modal.Footer>
<div className="flex gap-2 [&>*]:w-1/2 w-full">
<a
href="https://www.portainer.io/take-5"
href="https://www.portainer.io/pricing"
target="_blank"
rel="noreferrer"
className="no-link"

Loading…
Cancel
Save