From bbfc1f9055158e1fbf3a53dc4bb7cc9677ec1885 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Apr 27 2022 12:37:51 +0000 Subject: www: display load/capacity at hosts page https://pagure.io/koji/issue/3345 --- diff --git a/www/kojiweb/hosts.chtml b/www/kojiweb/hosts.chtml index 30cf775..8a40f28 100644 --- a/www/kojiweb/hosts.chtml +++ b/www/kojiweb/hosts.chtml @@ -41,7 +41,7 @@ in $channel channel

$headerState($state) $headerReady($ready) $headerArch($arch) $headerChannel($channel)

-
+ - + + #if $len($hosts) > 0 @@ -129,16 +131,18 @@ in $channel channel + + #end for #else - + #end if -
State: @@ -85,7 +85,7 @@ in $channel channel
+ #if $len($hostPages) > 1
Page: @@ -114,6 +114,8 @@ in $channel channel
Channels $util.sortImage($self, 'channels') Enabled? $util.sortImage($self, 'enabled') Ready? $util.sortImage($self, 'ready')Load $util.sortImage($self, 'task_load')Cap. $util.sortImage($self, 'capacity') Last Update $util.sortImage($self, 'last_update')
#if $host.enabled then $util.imageTag('yes') else $util.imageTag('no')# #if $host.ready then $util.imageTag('yes') else $util.imageTag('no')#$host.task_load$host.capacity $util.formatTime($host.last_update)
No hostsNo hosts
+ #if $len($hostPages) > 1 Page: