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 <button
type="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} onClick={handleClick}
> >
{isSidebarOpen && <>Upgrade to Business Edition</>} {isSidebarOpen && <>Upgrade to Business Edition</>}

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

Loading…
Cancel
Save