frontend: Display value of validated flags
This commit is contained in:
parent
6fd14306e1
commit
84a771a4a2
@ -124,9 +124,6 @@
|
|||||||
{#if !no_label}
|
{#if !no_label}
|
||||||
<label for="sol_{flag.type}{flag.id}_0">{flag.label} :</label>
|
<label for="sol_{flag.type}{flag.id}_0">{flag.label} :</label>
|
||||||
{/if}
|
{/if}
|
||||||
{#if flag.found && flag.value}
|
|
||||||
<span>{flag.value}</span>
|
|
||||||
{/if}
|
|
||||||
{#if !flag.found && !$settings.hideCaseSensitivity && !flag.ignore_case}
|
{#if !flag.found && !$settings.hideCaseSensitivity && !flag.ignore_case}
|
||||||
<Badge
|
<Badge
|
||||||
class="float-end"
|
class="float-end"
|
||||||
@ -235,6 +232,15 @@
|
|||||||
{#if flag.help}
|
{#if flag.help}
|
||||||
<small class="form-text text-muted">{@html flag.help}</small>
|
<small class="form-text text-muted">{@html flag.help}</small>
|
||||||
{/if}
|
{/if}
|
||||||
|
{:else if value}
|
||||||
|
<input
|
||||||
|
class="form-control is-valid"
|
||||||
|
disabled
|
||||||
|
id="sol_{flag.type}{flag.id}_0"
|
||||||
|
type="text"
|
||||||
|
title="Flag trouvé à {flag.found}"
|
||||||
|
value={value}
|
||||||
|
>
|
||||||
{:else}
|
{:else}
|
||||||
<Icon
|
<Icon
|
||||||
name="check"
|
name="check"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user