mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-23 23:32:34 +02:00
Fixed check-linters errors
This commit is contained in:
parent
e661b9f801
commit
c58c76ccf1
1 changed files with 8 additions and 12 deletions
|
@ -671,8 +671,7 @@
|
||||||
|
|
||||||
<!-- Numeric Output -->
|
<!-- Numeric Output -->
|
||||||
<div v-if="monitor.type === 'ping'" class="my-3 form-check">
|
<div v-if="monitor.type === 'ping'" class="my-3 form-check">
|
||||||
<input id="ping_numeric" v-model="monitor.ping_numeric" type="checkbox" class="form-check-input"
|
<input id="ping_numeric" v-model="monitor.ping_numeric" type="checkbox" class="form-check-input" :checked="monitor.ping_numeric">
|
||||||
:checked="monitor.ping_numeric">
|
|
||||||
<label class="form-check-label" for="ping_numeric">
|
<label class="form-check-label" for="ping_numeric">
|
||||||
{{ $t("Numeric Output") }}
|
{{ $t("Numeric Output") }}
|
||||||
</label>
|
</label>
|
||||||
|
@ -684,15 +683,13 @@
|
||||||
<!-- Packet size -->
|
<!-- Packet size -->
|
||||||
<div v-if="monitor.type === 'ping'" class="my-3">
|
<div v-if="monitor.type === 'ping'" class="my-3">
|
||||||
<label for="packet-size" class="form-label">{{ $t("Packet Size") }}</label>
|
<label for="packet-size" class="form-label">{{ $t("Packet Size") }}</label>
|
||||||
<input id="packet-size" v-model="monitor.packetSize" type="number" class="form-control"
|
<input id="packet-size" v-model="monitor.packetSize" type="number" class="form-control" required :min="packetSize_min" :max="packetSize_max" step="1">
|
||||||
required :min="packetSize_min" :max="packetSize_max" step="1">
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Max Duration / Deadline -->
|
<!-- Max Duration / Deadline -->
|
||||||
<div v-if="monitor.type === 'ping'" class="my-3">
|
<div v-if="monitor.type === 'ping'" class="my-3">
|
||||||
<label for="ping_deadline" class="form-label">{{ $t("Max Duration") }}</label>
|
<label for="ping_deadline" class="form-label">{{ $t("Max Duration") }}</label>
|
||||||
<input id="ping_deadline" v-model="monitor.ping_deadline" type="number" class="form-control"
|
<input id="ping_deadline" v-model="monitor.ping_deadline" type="number" class="form-control" required :min="ping_deadline_min" :max="ping_deadline_max" step="1">
|
||||||
required :min="ping_deadline_min" :max="ping_deadline_max" step="1">
|
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
{{ $t("Total time in seconds before ping stops, regardless of packets sent") }}
|
{{ $t("Total time in seconds before ping stops, regardless of packets sent") }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -707,7 +704,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- HTTP / Keyword only -->
|
<!-- HTTP / Keyword only -->
|
||||||
<template v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' || monitor.type === 'grpc-keyword' ">
|
<template v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' || monitor.type === 'grpc-keyword' ">
|
||||||
<div class="my-3">
|
<div class="my-3">
|
||||||
|
|
Loading…
Add table
Reference in a new issue