$couch_url =~ s{:\d+.+}{:5984/_utils/};
qq{
<div style="font-size: 80%; color: #888">
-<a href=/ target=/>home</a>
-<a href=/server target=server>server</a>
-<a href=/brctl target=brctl>brctl</a>
-<a href=/ip target=ip>ip</a>
-<a href=/nmap target=nmap>nmap</a>
-<a href=/client target=client>client</a>
-<a href=$couch_url target=couchdb>couchdb</a>
+<a target=pids href=/ >home</a>
+|
+<a target=server href=/server >server</a>
+<a target=server href=/brctl >brctl</a>
+<a target=server href=/ip >ip</a>
+|
+<a target=couch href=$couch_url >couchdb</a>
+|
+<a target=client href=/nmap >nmap</a>
+<a target=client href=/client >client</a>
</div>
}}
my $ip_text = qq|<tt>$ip</tt>|;
$ip_text = qq|<tt><b>$ip</b></tt>| if ip::in_dhcp_range($ip);
(
- qq|<a $style name=$ip target=$ip href=/client/$ip>$ip_text</a>|
+ qq|<a $style name=$ip target=client href=/client/$ip>$ip_text</a>|
, format::mac( $mac => 'html' )
, $arp->{$mac}
, delete $conf->{hostname}