WebUI: Oxidized Device List: Link to config and refreshDevice Btn (#9129)

* WebUI: Direct link to oxidized config from list, oxidized refresh device capability

* WebUI: Direct link to oxidized config from list, oxidized refresh device capability

* Move oxidized_node_update in functions.php to avoid code duplication

* Update refresh-oxidized-node.inc.php

* Update functions.php
This commit is contained in:
PipoCanaja
2018-09-05 02:09:27 +02:00
committed by Tony Murray
parent 9fc3891441
commit 3f806fdff3
5 changed files with 93 additions and 11 deletions

View File

@@ -1530,6 +1530,15 @@ function get_oxidized_nodes_list()
<td>
" . $object['group'] . "
</td>
<td>
<button class='btn btn-default btn-sm' name='btn-refresh-node-devId" . $device['device_id'] . "' id='btn-refresh-nod
e-devId" . $device['device_id'] . "' onclick='refresh_oxidized_node(\"" . $device['hostname'] . "\")'>
<i class='fa fa-refresh'></i>
</button>
<a href='/device/device=".$device['device_id']."/tab=showconfig/'>
<i class='fa fa-align-justify fa-lg icon-theme'></i>
</a>
</td>
</tr>";
}
}