70 |
my ($ip,$conf,$format) = @_; |
my ($ip,$conf,$format) = @_; |
71 |
my @editable = splice(@_,3); |
my @editable = splice(@_,3); |
72 |
|
|
73 |
warn "# conf ",dump( $ip, $conf, $format, [ @editable ] ); |
# warn "# conf ",dump( $ip, $conf, $format, [ @editable ] ); |
74 |
|
|
75 |
$format ||= 'inline'; |
$format ||= 'inline'; |
76 |
|
|
98 |
} elsif ( $name eq 'ssh' ) { |
} elsif ( $name eq 'ssh' ) { |
99 |
$html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 }; |
$html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 }; |
100 |
chomp($html); |
chomp($html); |
101 |
|
} elsif ( $name eq 'kvm' ) { |
102 |
|
$html = qq|<a href="/start_stop/kvm?nr=$html">$html</a>|; |
103 |
} |
} |
104 |
$html = qq|<tt>$html</tt>| |
$html = qq|<tt>$html</tt>| |
105 |
unless |
unless |