commit
13d852a49c
|
@ -28,7 +28,7 @@
|
||||||
{/each}
|
{/each}
|
||||||
</select>
|
</select>
|
||||||
{:else}
|
{:else}
|
||||||
<Input on:change={onChange} value={parameter.value} />
|
<Input onChange={onChange} value={parameter.value} />
|
||||||
<button on:click={() => (isOpen = !isOpen)}>
|
<button on:click={() => (isOpen = !isOpen)}>
|
||||||
<div class="icon" style={`transform: rotate(${isOpen ? 0 : 90}deg);`}>
|
<div class="icon" style={`transform: rotate(${isOpen ? 0 : 90}deg);`}>
|
||||||
<ArrowDownIcon size={36} />
|
<ArrowDownIcon size={36} />
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<div class="uk-margin block-field">
|
<div class="uk-margin block-field">
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<select class="budibase__input" on:change {value}>
|
<select class="budibase__input" on:change {value}>
|
||||||
|
<option value=""></option>
|
||||||
{#each $backendUiStore.models as model}
|
{#each $backendUiStore.models as model}
|
||||||
<option value={model._id}>{model.name}</option>
|
<option value={model._id}>{model.name}</option>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<div class="uk-margin block-field">
|
<div class="uk-margin block-field">
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<select class="budibase__input" bind:value>
|
<select class="budibase__input" bind:value>
|
||||||
|
<option value=""></option>
|
||||||
{#each $backendUiStore.models as model}
|
{#each $backendUiStore.models as model}
|
||||||
<option value={model}>{model.name}</option>
|
<option value={model}>{model.name}</option>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
|
@ -38,6 +38,7 @@ router
|
||||||
ctx.config = {
|
ctx.config = {
|
||||||
latestPackagesFolder: budibaseAppsDir(),
|
latestPackagesFolder: budibaseAppsDir(),
|
||||||
jwtSecret: env.JWT_SECRET,
|
jwtSecret: env.JWT_SECRET,
|
||||||
|
useAppRootPath: true,
|
||||||
}
|
}
|
||||||
ctx.isDev = env.NODE_ENV !== "production" && env.NODE_ENV !== "jest"
|
ctx.isDev = env.NODE_ENV !== "production" && env.NODE_ENV !== "jest"
|
||||||
await next()
|
await next()
|
||||||
|
|
|
@ -9,8 +9,10 @@
|
||||||
"_id": 0,
|
"_id": 0,
|
||||||
"type": "div",
|
"type": "div",
|
||||||
"_styles": {
|
"_styles": {
|
||||||
"layout": {},
|
"active": {},
|
||||||
"position": {}
|
"hover": {},
|
||||||
|
"normal": {},
|
||||||
|
"selected": {}
|
||||||
},
|
},
|
||||||
"_code": ""
|
"_code": ""
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,8 +9,10 @@
|
||||||
"_id": 1,
|
"_id": 1,
|
||||||
"type": "div",
|
"type": "div",
|
||||||
"_styles": {
|
"_styles": {
|
||||||
"layout": {},
|
"active": {},
|
||||||
"position": {}
|
"hover": {},
|
||||||
|
"normal": {},
|
||||||
|
"selected": {}
|
||||||
},
|
},
|
||||||
"_code": ""
|
"_code": ""
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,8 +28,7 @@ module.exports = async (config, appId, pageName, pkg) => {
|
||||||
await savePageJson(appPath, pageName, pkg)
|
await savePageJson(appPath, pageName, pkg)
|
||||||
}
|
}
|
||||||
|
|
||||||
const rootPath = (config, appname) =>
|
const rootPath = (config, appId) => (config.useAppRootPath ? `/${appId}` : "")
|
||||||
config.useAppRootPath ? `/${appname}` : ""
|
|
||||||
|
|
||||||
const copyClientLib = async (appPath, pageName) => {
|
const copyClientLib = async (appPath, pageName) => {
|
||||||
const sourcepath = require.resolve("@budibase/client")
|
const sourcepath = require.resolve("@budibase/client")
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
$: target = openInNewTab ? "_blank" : "_self"
|
$: target = openInNewTab ? "_blank" : "_self"
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a href={url} bind:this={anchorElement} {target}>{text}</a>
|
<a href={_bb.relativeUrl(url)} bind:this={anchorElement} {target}>{text}</a>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.textDecoration {
|
.textDecoration {
|
||||||
|
|
Loading…
Reference in New Issue