forked from tsai/budibase
committed by
GitHub
10 changed files with 11 additions and 168 deletions
@ -1,33 +0,0 @@ |
|||||
<script> |
|
||||
import { Modal, ModalContent, Button } from "@budibase/bbui" |
|
||||
import { admin } from "stores/portal" |
|
||||
|
|
||||
let upgradeModal |
|
||||
|
|
||||
const onConfirm = () => { |
|
||||
window.open(`${$admin.accountPortalUrl}/portal/install`, "_blank") |
|
||||
} |
|
||||
</script> |
|
||||
|
|
||||
<div> |
|
||||
<Button |
|
||||
on:click={upgradeModal.show} |
|
||||
quiet |
|
||||
primary |
|
||||
size="M" |
|
||||
icon="DownloadFromCloud">Self-host Budibase</Button |
|
||||
> |
|
||||
</div> |
|
||||
<Modal bind:this={upgradeModal}> |
|
||||
<ModalContent |
|
||||
size="M" |
|
||||
{onConfirm} |
|
||||
title="Self-host Budibase" |
|
||||
confirmText="Self-host Budibase" |
|
||||
> |
|
||||
<span> |
|
||||
Self-host budibase for free to get unlimited apps and more - and it only |
|
||||
takes a few minutes! |
|
||||
</span> |
|
||||
</ModalContent> |
|
||||
</Modal> |
|
||||
Loading…
Reference in new issue