mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Small UI fixes
Screenshot 1: http://i.imgur.com/Cj1PMkp.png Screenshot 2: http://i.imgur.com/GsAqJuU.png
This commit is contained in:
@@ -25,17 +25,18 @@ else {
|
||||
print_error("Are you sure you want to delete device " . $device['hostname'] . "?");
|
||||
?>
|
||||
<br />
|
||||
|
||||
<form name="form1" method="post" action="" class="form-horizontal" role="form">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4">
|
||||
<input type="hidden" name="id" value="<?php echo $_REQUEST['id'] ?>" />
|
||||
<input type="hidden" name="confirm" value="1" />
|
||||
<!--<input type="hidden" name="remove_rrd" value="<?php echo $_POST['remove_rrd']; ?>">-->
|
||||
<button type="submit" class="btn btn-default">Confirm host deletion</button>
|
||||
<center>
|
||||
<i class="fa fa-exclamation-triangle fa-5x"></i>
|
||||
<br>
|
||||
<form name="form1" method="post" action="" class="form-horizontal" role="form">
|
||||
<div class="form-group">
|
||||
<input type="hidden" name="id" value="<?php echo $_REQUEST['id'] ?>" />
|
||||
<input type="hidden" name="confirm" value="1" />
|
||||
<!--<input type="hidden" name="remove_rrd" value="<?php echo $_POST['remove_rrd']; ?>">-->
|
||||
<button type="submit" class="btn btn-danger">Confirm host deletion</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
</center>
|
||||
<?php
|
||||
}
|
||||
echo('
|
||||
@@ -55,24 +56,24 @@ else {
|
||||
<p>It will also remove historical data about this device such as <mark>Syslog</mark>, <mark>Eventlog</mark> and <mark>Alert log</mark> data.</p>
|
||||
</center>
|
||||
</div>
|
||||
<div class="well">
|
||||
<div class="form-group">
|
||||
<label for="id" class="col-sm-2 control-label">Device:</label>
|
||||
<div class="col-sm-7">
|
||||
<select name="id" class="form-control" id="id">
|
||||
<?php
|
||||
foreach (dbFetchRows("SELECT * FROM `devices` ORDER BY `hostname`") as $data) {
|
||||
echo("<option value='".$data['device_id']."'>".$data['hostname']."</option>");
|
||||
}
|
||||
<div class="well">
|
||||
<div class="form-group">
|
||||
<label for="id" class="col-sm-2 control-label">Device:</label>
|
||||
<div class="col-sm-10">
|
||||
<select name="id" class="form-control" id="id">
|
||||
<?php
|
||||
foreach (dbFetchRows("SELECT * FROM `devices` ORDER BY `hostname`") as $data) {
|
||||
echo("<option value='".$data['device_id']."'>".$data['hostname']."</option>");
|
||||
}
|
||||
|
||||
?>
|
||||
</select>
|
||||
<hr>
|
||||
<input id="confirm" type="hidden" name="confirm" value="0" />
|
||||
<center><button id="confirm_delete" type="submit" class="btn btn-default">Delete Device</button></center>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<input id="confirm" type="hidden" name="confirm" value="0" />
|
||||
<center><button id="confirm_delete" type="submit" class="btn btn-default">Delete Device</button></center>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- <tr>
|
||||
<td>Remove RRDs (Data files): </td>
|
||||
|
||||
Reference in New Issue
Block a user