Tiny tweaks
This commit is contained in:
@@ -126,8 +126,8 @@ export const app = new Elysia()
|
|||||||
.get("/standards/config", async () => {
|
.get("/standards/config", async () => {
|
||||||
return await s.Calculator.Standards.Config.get();
|
return await s.Calculator.Standards.Config.get();
|
||||||
})
|
})
|
||||||
.post("/standards/config/switch", async ({ body: { standardsConfigId: id } }) => {
|
.post("/standards/config/switch", async ({ body: { standardsConfigId } }) => {
|
||||||
await s.Calculator.Standards.Config.switch(id);
|
await s.Calculator.Standards.Config.switch(standardsConfigId);
|
||||||
}, {
|
}, {
|
||||||
body: t.Object({ standardsConfigId: t.String() })
|
body: t.Object({ standardsConfigId: t.String() })
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -443,6 +443,9 @@
|
|||||||
|
|
||||||
<section class="w-full flex gap-4 flex-wrap mt-6">
|
<section class="w-full flex gap-4 flex-wrap mt-6">
|
||||||
<fieldset class="fieldset bg-base-200 p-4">
|
<fieldset class="fieldset bg-base-200 p-4">
|
||||||
|
<legend class="fieldset-legend text-lg font-semibold"
|
||||||
|
>Configuration</legend
|
||||||
|
>
|
||||||
<label class="flex flex-col gap-1">
|
<label class="flex flex-col gap-1">
|
||||||
<span class="label text-xs">Name</span>
|
<span class="label text-xs">Name</span>
|
||||||
<input
|
<input
|
||||||
|
|||||||
Reference in New Issue
Block a user