webui: Place hostname first on add device page. (#8029)

Not sure why but the existing order bothers me every time.
This commit is contained in:
Tony Murray
2018-01-04 16:08:42 -06:00
committed by Neil Lathwood
parent 6a122f21f4
commit ff0620c64e

View File

@@ -111,18 +111,18 @@ $pagetitle[] = 'Add host';
<div><h2>Add Device</h2></div>
<div class="alert alert-info">Devices will be checked for Ping/SNMP reachability before being probed.</div>
<div class="well well-lg">
<div class='form-group'>
<div class="form-group">
<label for="hostname" class="col-sm-3 control-label">Hostname</label>
<div class="col-sm-9">
<input type="text" id="hostname" name="hostname" class="form-control input-sm" placeholder="Hostname">
</div>
</div>
<div class='form-group'>
<label for='hardware' class='col-sm-3 control-label'>SNMP</label>
<div class='col-sm-4'>
<input type="checkbox" id="snmp" name="snmp" data-size="small" onChange="disableSnmp(this);" checked>
</div>
</div>
<div class="form-group">
<label for="hostname" class="col-sm-3 control-label">Hostname</label>
<div class="col-sm-9">
<input type="text" id="hostname" name="hostname" class="form-control input-sm" placeholder="Hostname">
</div>
</div>
<div id='snmp_override' style="display: none;">
<div class='form-group'>
<label for='hardware' class='col-sm-3 control-label'>Hardware (optional)</label>