App-Netdisco
view release on metacpan or search on metacpan
share/views/ajax/device/addresses.tt view on Meta::CPAN
<script type="application/json" id="nd-results-device-addresses">[% results.replace('<', '\u003c') | none %]</script>
<table id="da-data-table" class="table table-striped table-bordered" width="100%" cellspacing="0"
data-nd-admin="[% user_has_role('admin') ? 1 : 0 %]"
data-nd-data="#nd-results-device-addresses"
data-nd-urls='{
"device_ports": "[% device_ports | html_entity %]",
"search_device": "[% search_device | html_entity %]"
[% IF user_has_role('admin') %]
,"uri_base": "[% uri_base | html_entity %]"
[% END %]
}'
data-nd-table='{
"deferRender": true,
"columns": [
{"data":"alias","render":"escape"},
{"data":"dns","render":"escape"},
{"data":"port","type":"portsort","render":{"name":"devicePortsLink","q":"ip","f":"data"}},
{"data":"device_port.name","render":"escape"},
{"data":"subnet","render":"subnetLink"}
]
}'>
<thead>
<tr>
<th>Address</th>
<th>DNS</th>
[%# This header alone asked to be centered while its own column's data is left
aligned, so it sat out of line with both its data and its neighbors. The
class is dropped rather than the data centered, because every other column in
this table aligns left. %]
<th>Interface</th>
<th>Description</th>
<th>Prefix</th>
</tr>
</thead>
</table>
( run in 0.780 second using v1.01-cache-2.11-cpan-54e63673c56 )