Temporarily disable StaffLDB
This commit is contained in:
parent
a4ba90a987
commit
166ca1fe5f
@ -10,7 +10,7 @@
|
||||
|
||||
<Island {variables}>
|
||||
<form action={variables.action}>
|
||||
<input class="form-input" type="text" id="input-headcode" name={variables.queryName} placeholder={variables.placeholder}>
|
||||
<input class="form-input" type="text" id="input-headcode" name={variables.queryName} placeholder={variables.placeholder} autocomplete="off">
|
||||
<br>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
@ -36,7 +36,8 @@
|
||||
{#if !staff}
|
||||
<PublicLdb {station} bind:title={title} />
|
||||
{:else}
|
||||
<StaffLdb {station} />
|
||||
<PublicLdb {station} bind:title={title} />
|
||||
<!--<StaffLdb {station} bind:title={title} /> -- Temporary, Disable StaffLdb - it isn't implemented -->
|
||||
{/if}
|
||||
|
||||
<Nav />
|
||||
|
@ -31,9 +31,13 @@
|
||||
<Loading/>
|
||||
{:else}
|
||||
<Island>
|
||||
<p>Web-app Version<br>{"Not Implemented"}</p>
|
||||
<p>API Server Version<br>{data.backend}</p>
|
||||
<p>DBManager Version<br>{data['db-manager']}</p>
|
||||
<p>Web-app Version<br><span class="data">{"2023.7.1-Svelte-Dev"}</span></p>
|
||||
<p>API Server Version<br><span class="data">{data.backend}</span></p>
|
||||
<p>DBManager Version<br><span class="data">{data['db-manager']}</span></p>
|
||||
</Island>
|
||||
{/if}
|
||||
<Nav />
|
||||
|
||||
<style>
|
||||
.data {color: white;}
|
||||
</style>
|
@ -32,6 +32,10 @@
|
||||
const res = await fetchData(id);
|
||||
if (res) {
|
||||
data = res;
|
||||
if (!data.length) {
|
||||
error = true;
|
||||
errMsg = "No services found"
|
||||
}
|
||||
}
|
||||
isLoading = false;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user