mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Dont require gateway on network edit also make vlan field numeric
This commit is contained in:
@@ -121,7 +121,7 @@ ob_start();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-layer-group"></i></span>
|
||||
</div>
|
||||
<input type="number" min="1" max="4094" class="form-control" name="vlan" placeholder="ex. 20">
|
||||
<input type="text" class="form-control" inputmode="numeric" name="vlan" placeholder="e.g. 20">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ ob_start();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-layer-group"></i></span>
|
||||
</div>
|
||||
<input type="number" min="1" max="4094" name="vlan" placeholder="ex. 20" value="<?= $network_vlan ?>">
|
||||
<input type="text" class="form-control" inputmode="numeric" name="vlan" placeholder="e.g. 20" value="<?= $network_vlan ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -134,12 +134,12 @@ ob_start();
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Gateway <strong class="text-danger">*</strong></label>
|
||||
<label>Gateway</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-route"></i></span>
|
||||
</div>
|
||||
<input type="text" class="form-control" name="gateway" placeholder="192.168.1.1 or 2001:db8::1" maxlength="200" value="<?= $network_gateway ?>" required>
|
||||
<input type="text" class="form-control" name="gateway" placeholder="192.168.1.1 or 2001:db8::1" maxlength="200" value="<?= $network_gateway ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user