ES Lint Compliant

This commit is contained in:
Matt Visnovsky 2024-04-30 18:14:36 -06:00
parent e944492da8
commit 97a9094d7c

View file

@ -258,10 +258,10 @@
<div class="me-2"> <div class="me-2">
<label for="snmp_condition" class="form-label">{{ $t("Condition") }}</label> <label for="snmp_condition" class="form-label">{{ $t("Condition") }}</label>
<select id="snmp_condition" v-model="monitor.snmpCondition" class="form-select me-3" required> <select id="snmp_condition" v-model="monitor.snmpCondition" class="form-select me-3" required>
<option value=">">></option> <option value=">">&gt;</option>
<option value=">=">>=</option> <option value=">=">&gt;=</option>
<option value="<"><</option> <option value="<">&lt;</option>
<option value="<="><=</option> <option value="<=">&lt;=</option>
<option value="==">==</option> <option value="==">==</option>
<option value="contains">contains</option> <option value="contains">contains</option>
</select> </select>
@ -271,23 +271,23 @@
<input v-if="monitor.snmpCondition !== 'contains' && monitor.snmpCondition !== '=='" id="snmp_control_value" v-model="monitor.snmpControlValue" type="number" class="form-control" required step=".01"> <input v-if="monitor.snmpCondition !== 'contains' && monitor.snmpCondition !== '=='" id="snmp_control_value" v-model="monitor.snmpControlValue" type="number" class="form-control" required step=".01">
<input v-else id="snmp_control_value" v-model="monitor.snmpControlValue" type="text" class="form-control" required> <input v-else id="snmp_control_value" v-model="monitor.snmpControlValue" type="text" class="form-control" required>
</div> </div>
</div>
</div> </div>
</div>
<div v-if="monitor.type === 'snmp'" class="my-3"> <div v-if="monitor.type === 'snmp'" class="my-3">
<label for="snmp_version" class="form-label">{{ $t("SNMP Version") }}</label> <label for="snmp_version" class="form-label">{{ $t("SNMP Version") }}</label>
<select id="snmp_version" v-model="monitor.snmpVersion" class="form-select"> <select id="snmp_version" v-model="monitor.snmpVersion" class="form-select">
<option value="1"> <option value="1">
SNMPv1 SNMPv1
</option> </option>
<option value="2c"> <option value="2c">
SNMPv2c SNMPv2c
</option> </option>
<option value="3"> <option value="3">
SNMPv3 SNMPv3
</option> </option>
</select> </select>
</div> </div>
<!-- DNS Resolver Server --> <!-- DNS Resolver Server -->
<!-- For DNS Type --> <!-- For DNS Type -->