view if status is not changed in action
This commit is contained in:
parent
6b0ab2d0ba
commit
9b9b67d01e
@ -21,10 +21,10 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9 main-body">
|
<div class="col-md-9 main-body">
|
||||||
<table>
|
<table class="table is-fluid">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Icon</th>
|
<th>#</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Firmware</th>
|
<th>Firmware</th>
|
||||||
<th>Mac</th>
|
<th>Mac</th>
|
||||||
@ -57,8 +57,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
<input type="hidden" name="deviceId" value="<?php echo (!empty ($device['device_id']) ? $device['device_id'] : ""); ?>">
|
<input type="hidden" name="deviceId" value="<?php echo (!empty ($device['device_id']) ? $device['device_id'] : ""); ?>">
|
||||||
<button class="fa custom-file-input" type="submit" name="deviceCommand" value="reset" title="Reset"></button>
|
<button class="fa custom-file-input" <?php echo (!empty ($device['command']) && $device['command'] == "reset" ? "style=\"color:red;\"" : ""); ?> type="submit" name="deviceCommand" value="reset" title="Reset"></button>
|
||||||
<button class="fa custom-file-input" type="submit" name="deviceCommand" value="config" title="Config"></button>
|
<button class="fa custom-file-input" <?php echo (!empty ($device['command']) && $device['command'] == "config" ? "style=\"color:red;\"" : ""); ?> type="submit" name="deviceCommand" value="config" title="Config"></button>
|
||||||
<div style="float: clear;"></div>
|
<div style="float: clear;"></div>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user