Link to Plugin Repo from Plugin Page

This commit is contained in:
Gerard Burns 2023-02-14 15:52:21 +00:00
parent 5747963072
commit 632d672efb
1 changed files with 27 additions and 9 deletions

View File

@ -81,6 +81,17 @@
<div class="controls">
<div>
<Button on:click={modal.show} cta>Add plugin</Button>
<div class="secondaryButton">
<Button
on:click={() =>
window
.open("https://github.com/Budibase/plugins", "_blank")
.focus()}
secondary
>
GitHub repo
</Button>
</div>
</div>
{#if $plugins?.length}
<div class="filters">
@ -97,15 +108,17 @@
{/if}
</div>
<Table
{schema}
data={filteredPlugins}
allowEditColumns={false}
allowEditRows={false}
allowSelectRows={false}
allowClickRows={false}
{customRenderers}
/>
{#if $plugins?.length}
<Table
{schema}
data={filteredPlugins}
allowEditColumns={false}
allowEditRows={false}
allowSelectRows={false}
allowClickRows={false}
{customRenderers}
/>
{/if}
</Layout>
</Page>
@ -137,4 +150,9 @@
width: auto;
}
}
.secondaryButton {
display: inline-block;
margin-left: 6px;
}
</style>