mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Initial work on port override
This commit is contained in:
@@ -64,7 +64,7 @@ foreach (dbFetchRows($sql, $param) as $port) {
|
||||
<input type="hidden" name="olddis_'.$port['port_id'].'" value="'.($port['disabled'] ? 1 : 0).'"">',
|
||||
'ignore' => '<input type="checkbox" class="ignore-check" name="ignore_'.$port['port_id'].'"'.($port['ignore'] ? 'checked' : '').'>
|
||||
<input type="hidden" name="oldign_'.$port['port_id'].'" value="'.($port['ignore'] ? 1 : 0).'"">',
|
||||
'ifAlias' => $port['ifAlias']
|
||||
'ifAlias' => '<input class="form-control input-sm if-alias" id="if-alias" name="if-alias" data-ifIndex="'.$port['ifIndex'].'" data-ifName="'.$port['ifname'].'" value="'.$port['ifAlias'].'">'
|
||||
);
|
||||
|
||||
}//end foreach
|
||||
@@ -75,4 +75,4 @@ $output = array(
|
||||
'rows' => $response,
|
||||
'total' => $total,
|
||||
);
|
||||
echo _json_encode($output);
|
||||
echo _json_encode($output);
|
||||
|
||||
Reference in New Issue
Block a user