relocate repo files so ND2 is the only code
This commit is contained in:
13
share/views/ajax/report/nodemultiips_csv.tt
Normal file
13
share/views/ajax/report/nodemultiips_csv.tt
Normal file
@@ -0,0 +1,13 @@
|
||||
[% USE CSV -%]
|
||||
[% CSV.dump([ 'MAC' 'Vendor' 'Switch' 'Port' 'IPs' ]) %]
|
||||
|
||||
[% FOREACH row IN results %]
|
||||
[% mylist = [] %]
|
||||
[% mylist.push(row.mac.upper) %]
|
||||
[% mylist.push(row.vendor) %]
|
||||
[% mylist.push(row.dns || row.name || row.switch) %]
|
||||
[% mylist.push(row.port) %]
|
||||
[% mylist.push(row.ip_count) %]
|
||||
[% CSV.dump(mylist) %]
|
||||
|
||||
[% END %]
|
||||
Reference in New Issue
Block a user