mirror of https://github.com/Budibase/budibase.git
15 changed files with 88 additions and 67 deletions
@ -1,9 +1,6 @@ |
|||||
<script> |
<script> |
||||
import { onMount } from "svelte" |
|
||||
import AppCard from "./AppCard.svelte" |
import AppCard from "./AppCard.svelte" |
||||
import { apps } from "stores/portal" |
import { apps } from "stores/portal" |
||||
|
|
||||
onMount(apps.load) |
|
||||
</script> |
</script> |
||||
|
|
||||
{#if $apps.length} |
{#if $apps.length} |
||||
@ -0,0 +1,23 @@ |
|||||
|
<script> |
||||
|
import AppCard from "./AppCard.svelte" |
||||
|
import { apps } from "stores/portal" |
||||
|
import { Table } from "@budibase/bbui" |
||||
|
</script> |
||||
|
|
||||
|
{#if $apps.length} |
||||
|
<div class="appList"> |
||||
|
{#each $apps as app} |
||||
|
<AppCard {...app} /> |
||||
|
{/each} |
||||
|
</div> |
||||
|
{:else} |
||||
|
<div>No apps found.</div> |
||||
|
{/if} |
||||
|
|
||||
|
<style> |
||||
|
.appList { |
||||
|
display: grid; |
||||
|
grid-gap: 50px; |
||||
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); |
||||
|
} |
||||
|
</style> |
||||
@ -1,7 +0,0 @@ |
|||||
<script> |
|
||||
import { Page } from "@budibase/bbui" |
|
||||
</script> |
|
||||
|
|
||||
<Page wide> |
|
||||
<slot /> |
|
||||
</Page> |
|
||||
Loading…
Reference in new issue