#from kojiweb import util
#attr _PASSTHROUGH = ['state', 'order']
#include "includes/header.chtml"
State:
|
|
|
#if $len($hostPages) > 1
#end if
#if $hostStart > 0
<<<
#end if
#if $totalHosts != 0
Hosts #echo $hostStart + 1 # through #echo $hostStart + $hostCount # of $totalHosts
#end if
#if $hostStart + $hostCount < $totalHosts
>>>
#end if
|
#if $len($hosts) > 0
#for $host in $hosts
$host.id |
$host.name |
$host.arches |
#if $host.enabled then $util.imageTag('yes') else $util.imageTag('no')# |
#if $host.ready then $util.imageTag('yes') else $util.imageTag('no')# |
$util.formatTime($host.last_update) |
#end for
#else
No hosts |
#end if
#if $len($hostPages) > 1
#end if
#if $hostStart > 0
<<<
#end if
#if $totalHosts != 0
Hosts #echo $hostStart + 1 # through #echo $hostStart + $hostCount # of $totalHosts
#end if
#if $hostStart + $hostCount < $totalHosts
>>>
#end if
|
#include "includes/footer.chtml"