aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterWebInterface/Handler/Games.pm
diff options
context:
space:
mode:
authorDarkelarious <github@333networks.com>2025-03-08 15:56:30 +0100
committerDarkelarious <github@333networks.com>2025-03-08 15:56:30 +0100
commit6bd235f3e62251d8763a552ab0042d59584de842 (patch)
tree2ff943b6ddb8aa8980a3ed1fb4a1f869fc787d1c /lib/MasterWebInterface/Handler/Games.pm
parent318a5a20a930192df788dbac54b1f9c60e1b98b8 (diff)
downloadWebInterface-Perl-6bd235f3e62251d8763a552ab0042d59584de842.tar.gz
WebInterface-Perl-6bd235f3e62251d8763a552ab0042d59584de842.zip
Metadata and update to hotfix 4.
Display thumbnails / snippets in 3rd party apps (like discord) and add map thumbnails + icons for multiple games. Minor fixes/optimisations.
Diffstat (limited to 'lib/MasterWebInterface/Handler/Games.pm')
-rwxr-xr-xlib/MasterWebInterface/Handler/Games.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/MasterWebInterface/Handler/Games.pm b/lib/MasterWebInterface/Handler/Games.pm
index cec7ab1..31090a2 100755
--- a/lib/MasterWebInterface/Handler/Games.pm
+++ b/lib/MasterWebInterface/Handler/Games.pm
@@ -7,7 +7,7 @@ use Exporter 'import';
TUWF::register(
qr{g} => \&gamelist,
- qr{g/all} => \&gamelist,
+ qr{g/(all)} => \&gamelist,
);
#
@@ -37,7 +37,7 @@ sub gamelist
all => $all,
);
- $self->htmlHeader(title => "Browse Games");
+ $self->htmlHeader(title => "Browse Games", meta_desc => "Browse through all games that currently have servers online uplinking to the masterserver.");
$self->htmlFilterBox(title => "Games", action => "/g/all", sel => 'g', fq => $f->{q});
#
@@ -94,7 +94,10 @@ sub gamelist
}
else
{
- td $gn;
+ td class => "tc2 icon",
+ style => "background-image: url(/icon32/333networks.png);",
+ title => $gn,
+ '';
}
# number of beacons / servers