mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updates bringing forms / tables inline with Bootstrap v3, also adds Global search box
This commit is contained in:
@@ -62,79 +62,104 @@ $pagetitle[] = "Add host";
|
||||
|
||||
?>
|
||||
|
||||
<form name="form1" method="post" action="">
|
||||
<p>Devices will be checked for Ping and SNMP reachability before being probed. Only devices with recognised OSes will be added.</p>
|
||||
|
||||
<div style="padding: 10px; background: #f0f0f0;">
|
||||
<table cellpadding=2px>
|
||||
<tr>
|
||||
<td><strong>Hostname</strong></td>
|
||||
<td><input type="text" name="hostname" size="32"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>SNMP Version</strong></td>
|
||||
<td>
|
||||
<select name="snmpver">
|
||||
<option value="v1">v1</option>
|
||||
<option value="v2c" selected>v2c</option>
|
||||
<option value="v3">v3</option>
|
||||
</select>
|
||||
<strong>Port</strong> <input type="text" name="port" size="16">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2><strong>SNMPv1/2c Configuration</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Community</strong></td>
|
||||
<td><input type="text" name="community" size="32"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2><strong>SNMPv3 Configuration</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Auth Level</strong></td>
|
||||
<td>
|
||||
<select name="authlevel">
|
||||
<option value="noAuthNoPriv" selected>NoAuthNoPriv</option>
|
||||
<option value="authNoPriv">AuthNoPriv</option>
|
||||
<option value="authPriv">AuthPriv</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Auth User Name</strong></td>
|
||||
<td><input type="text" name="authname" size="32"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Auth Password</strong></td>
|
||||
<td><input type="text" name="authpass" size="32"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Auth Algorithm</strong></td>
|
||||
<td>
|
||||
<select name="authalgo">
|
||||
<option value="MD5" selected>MD5</option>
|
||||
<option value="SHA">SHA</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Crypto Password</strong></td>
|
||||
<td><input type="text" name="cryptopass" size="32"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Crypto Algorithm</strong></td>
|
||||
<td>
|
||||
<select name="cryptoalgo">
|
||||
<option value="AES" selected>AES</option>
|
||||
<option value="DES">DES</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td><input type="submit" class="submit" name="Submit" value="Add Host"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name="form1" method="post" action="" class="form-horizontal" role="form">
|
||||
<div class="alert alert-info">Devices will be checked for Ping and SNMP reachability before being probed. Only devices with recognised OSes will be added.</div>
|
||||
<div class="well well-lg">
|
||||
<div class="form-group">
|
||||
<label for="hostname" class="col-sm-2 control-label">Hostname</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" id="hostname" name="hostname" class="form-control input-sm" placeholder="Hostname">
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="snmpver" class="col-sm-2 control-label">SNMP Version</label>
|
||||
<div class="col-sm-3">
|
||||
<select name="snmpver" id="snmpver" class="form-control input-sm">
|
||||
<option value="v1">v1</option>
|
||||
<option value="v2c" selected>v2c</option>
|
||||
<option value="v3">v3</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" name="port" placeholder="port" class="form-control input-sm">
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12 alert alert-info">
|
||||
<label class="control-label text-left input-sm">SNMPv1/2c Configuration</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="community" class="col-sm-2 control-label">Community</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" name="community" id="community" placeholder="Community" class="form-control input-sm">
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12 alert alert-info">
|
||||
<label class="control-label text-left input-sm">SNMPv3 Configuration</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="authlevel" class="col-sm-2 control-label">Auth Level</label>
|
||||
<div class="col-sm-3">
|
||||
<select name="authlevel" id="authlevel" class="form-control input-sm">
|
||||
<option value="noAuthNoPriv" selected>NoAuthNoPriv</option>
|
||||
<option value="authNoPriv">AuthNoPriv</option>
|
||||
<option value="authPriv">AuthPriv</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="authname" class="col-sm-2 control-label">Auth User Name</label>
|
||||
<div class="col-sm-3">
|
||||
<input type="text" name="authname" id="authname" class="form-control input-sm">
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="authpass" class="col-sm-2 control-label">Auth Password</label>
|
||||
<div class="col-sm-3">
|
||||
<input type="text" name="authpass" id="authpass" placeholder="AuthPass" class="form-control input-sm">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="authalgo" class="col-sm-2 control-label">Auth Algorithm</label>
|
||||
<div class="col-sm-3">
|
||||
<select name="authalgo" id="authalgo" class="form-control input-sm">
|
||||
<option value="MD5" selected>MD5</option>
|
||||
<option value="SHA">SHA</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cryptopass" class="col-sm-2 control-label">Crypto Password</label>
|
||||
<div class="col-sm-3">
|
||||
<input type="text" name="cryptopass" id="cryptopass" placeholder="Crypto Password" class="form-control input-sm">
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cryptoalgo" class="col-sm-2 control-label">Crypto Algorithm</label>
|
||||
<div class="col-sm-3">
|
||||
<select name="cryptoalgo" id="cryptoalgo" class="form-control input-sm">
|
||||
<option value="AES" selected>AES</option>
|
||||
<option value="DES">DES</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default input-sm" name="Submit">Add Host</button>
|
||||
</div>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user