relocate repo files so ND2 is the only code
This commit is contained in:
18
share/views/ajax/admintask/undiscoveredneighbors_csv.tt
Normal file
18
share/views/ajax/admintask/undiscoveredneighbors_csv.tt
Normal file
@@ -0,0 +1,18 @@
|
||||
[% USE CSV -%]
|
||||
[% CSV.dump([ 'Observing Device' 'Device Port'
|
||||
'Remote IP' 'Remote Port' 'Remote ID' 'Remote Type'
|
||||
'Last Discovery Attempt' 'Discovery Log']) %]
|
||||
|
||||
[% FOREACH row IN results %]
|
||||
[% mylist = [] %]
|
||||
[% mylist.push(row.dns || row.name || row.ip) %]
|
||||
[% mylist.push(row.port) %]
|
||||
[% mylist.push(row.remote_ip) %]
|
||||
[% mylist.push(row.remote_port) %]
|
||||
[% mylist.push(row.remote_id) %]
|
||||
[% mylist.push(row.remote_type) %]
|
||||
[% mylist.push(row.finished) %]
|
||||
[% mylist.push(row.log) %]
|
||||
[% CSV.dump(mylist) %]
|
||||
|
||||
[% END %]
|
||||
Reference in New Issue
Block a user