mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
services.cgi: minor cosmetics
* Singular 'Service' instead of plural 'Services' as column header of services table * Sort list of services Signed-off-by: Robin Roevens <robin.roevens@disroot.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
2b9b31b71d
commit
207ca1141c
@@ -105,7 +105,7 @@ if ( $querry[0] =~ "processescpu"){
|
||||
<div align='center'>
|
||||
<table width='80%' cellspacing='1' class='tbl'>
|
||||
<tr>
|
||||
<th align='left'><b>$Lang::tr{'services'}</b></th>
|
||||
<th align='left'><b>$Lang::tr{'service'}</b></th>
|
||||
<th align='center' ><b>$Lang::tr{'status'}</b></th>
|
||||
<th align='center'><b>PID</b></th>
|
||||
<th align='center'><b>$Lang::tr{'memory'}</b></th>
|
||||
@@ -174,7 +174,7 @@ END
|
||||
# Generate list of installed addon pak services
|
||||
my %paklist = &Pakfire::dblist("installed");
|
||||
|
||||
foreach my $pak (keys %paklist) {
|
||||
foreach my $pak (sort keys %paklist) {
|
||||
my %metadata = &Pakfire::getmetadata($pak, "installed");
|
||||
|
||||
my $service;
|
||||
|
||||
Reference in New Issue
Block a user