mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-06-08 08:33:49 +02:00
Fix config warning and key name
This commit is contained in:
parent
6e2703998d
commit
d806cf76c4
@ -42,14 +42,6 @@
|
|||||||
<Row cols={1} class="p-2 g-2">
|
<Row cols={1} class="p-2 g-2">
|
||||||
<Col>
|
<Col>
|
||||||
<Card class="h-100">
|
<Card class="h-100">
|
||||||
<form
|
|
||||||
id="node-paging-form"
|
|
||||||
method="post"
|
|
||||||
action="/frontend/configuration/"
|
|
||||||
class="card-body"
|
|
||||||
on:submit|preventDefault={() =>
|
|
||||||
handleSettingSubmit("#node-paging-form", "npag")}
|
|
||||||
>
|
|
||||||
<!-- Svelte 'class' directive only on DOMs directly, normal 'class="xxx"' does not work, so style-array it is. -->
|
<!-- Svelte 'class' directive only on DOMs directly, normal 'class="xxx"' does not work, so style-array it is. -->
|
||||||
<CardTitle
|
<CardTitle
|
||||||
style="margin-bottom: 1em; display: flex; align-items: center;"
|
style="margin-bottom: 1em; display: flex; align-items: center;"
|
||||||
@ -63,7 +55,13 @@
|
|||||||
>
|
>
|
||||||
</div>{/if}
|
</div>{/if}
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
<input type="hidden" name="nodes-key" value="node_list_usePaging" />
|
<form
|
||||||
|
id="node-paging-form"
|
||||||
|
method="post"
|
||||||
|
action="/frontend/configuration/"
|
||||||
|
class="card-body"
|
||||||
|
on:submit|preventDefault={() => handleSettingSubmit("#node-paging-form", "npag")}>
|
||||||
|
<input type="hidden" name="key" value="node_list_usePaging" />
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div>
|
<div>
|
||||||
{#if config?.node_list_usePaging}
|
{#if config?.node_list_usePaging}
|
||||||
|
@ -156,17 +156,17 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div>
|
<div>
|
||||||
{#if config.plot_general_colorBackground}
|
{#if config.plot_general_colorBackground}
|
||||||
<input type="radio" id="true-checked" name="value" value="true" checked />
|
<input type="radio" id="colb-true-checked" name="value" value="true" checked />
|
||||||
{:else}
|
{:else}
|
||||||
<input type="radio" id="true" name="value" value="true" />
|
<input type="radio" id="colb-true" name="value" value="true" />
|
||||||
{/if}
|
{/if}
|
||||||
<label for="true">Yes</label>
|
<label for="true">Yes</label>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{#if config.plot_general_colorBackground}
|
{#if config.plot_general_colorBackground}
|
||||||
<input type="radio" id="false" name="value" value="false" />
|
<input type="radio" id="colb-false" name="value" value="false" />
|
||||||
{:else}
|
{:else}
|
||||||
<input type="radio" id="false-checked" name="value" value="false" checked />
|
<input type="radio" id="colb-false-checked" name="value" value="false" checked />
|
||||||
{/if}
|
{/if}
|
||||||
<label for="false">No</label>
|
<label for="false">No</label>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user