mirror of https://github.com/Budibase/budibase.git
committed by
GitHub
6 changed files with 72 additions and 7 deletions
@ -1,13 +1,38 @@ |
|||||
<script> |
<script> |
||||
import { Body } from "@budibase/bbui" |
import { Label, Body, Layout } from "@budibase/bbui" |
||||
|
import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte" |
||||
|
|
||||
|
export let parameters |
||||
|
export let bindings = [] |
||||
</script> |
</script> |
||||
|
|
||||
<div class="root"> |
<div class="root"> |
||||
<Body size="S">This action doesn't require any additional settings.</Body> |
<Layout noPadding gap="M"> |
||||
|
<Body size="S"> |
||||
|
Please enter the URL you would like to be redirected to after logging out. |
||||
|
If you don't enter a value, you'll be redirected to the login screen. |
||||
|
</Body> |
||||
|
<div class="content"> |
||||
|
<Label small>Redirect URL</Label> |
||||
|
<DrawerBindableInput |
||||
|
title="Return URL" |
||||
|
value={parameters.redirectUrl} |
||||
|
on:change={value => (parameters.redirectUrl = value.detail)} |
||||
|
{bindings} |
||||
|
/> |
||||
|
</div> |
||||
|
</Layout> |
||||
</div> |
</div> |
||||
|
|
||||
<style> |
<style> |
||||
.root { |
.root { |
||||
|
max-width: 400px; |
||||
margin: 0 auto; |
margin: 0 auto; |
||||
} |
} |
||||
|
.content { |
||||
|
display: grid; |
||||
|
align-items: center; |
||||
|
gap: var(--spacing-m); |
||||
|
grid-template-columns: auto 1fr; |
||||
|
} |
||||
</style> |
</style> |
||||
|
|||||
Loading…
Reference in new issue