Fix to use a new set svg icons for servers

This commit is contained in:
iliajie
2022-08-03 01:19:51 +03:00
parent 6fc9dbe9c6
commit 382ba23135
12 changed files with 14 additions and 14 deletions

View File

@ -84,7 +84,7 @@ print &ui_buttons_end();
# Show hosts with the package
print &ui_hr();
print &ui_subheading($text{'edit_hosts'});
@icons = map { "/servers/images/$_->{'type'}.gif" } @got;
@icons = map { "/servers/images/$_->{'type'}.svg" } @got;
@links = map { "edit_host.cgi?id=$_->{'id'}" } @got;
@titles = map { ($_->{'desc'} ? $_->{'desc'} :
$_->{'realhost'} ? "$_->{'realhost'}:$_->{'port'}" :

View File

@ -30,7 +30,7 @@ foreach $h (@hosts) {
"$s->{'host'}:$s->{'port'}")."<br>".
&text('index_count', $count));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.gif");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.svg");
push(@installed, $count);
$gothost{$h->{'id'}}++;
}