2019-07-13 11:35:57 +02:00
|
|
|
<script>
|
|
|
|
|
|
|
|
import Button from "./common/Button.svelte"
|
2019-07-14 08:46:36 +02:00
|
|
|
import { database } from "./builderStore";
|
2019-07-13 11:35:57 +02:00
|
|
|
|
|
|
|
let errors = [];
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="root">
|
|
|
|
<div class="inner">
|
|
|
|
<img src="./assets/budibase-logo.png" class="logo" alt="budibase logo"/>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div>
|
2019-07-14 08:46:36 +02:00
|
|
|
<h4 style="margin-bottom: 20px">Choose an Application</h4>
|
|
|
|
{#each $database.apps as app}
|
|
|
|
<a href={`#/${app}`} class="app-link">{app}</a>
|
|
|
|
{/each}
|
2019-07-13 11:35:57 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.root {
|
|
|
|
position: fixed;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
top: 20%;
|
|
|
|
/*color: #333333;
|
|
|
|
background-color: #fdfdfd;*/
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
display:inline-block;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
width: 300px;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.root :global(.option) {
|
|
|
|
width:250px;
|
|
|
|
}
|
|
|
|
|
2019-07-14 08:46:36 +02:00
|
|
|
.app-link {
|
|
|
|
margin-top: 10px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-07-13 11:35:57 +02:00
|
|
|
</style>
|