<!-- $dbtool -->
#set($layout='grid.vm')
#set($module='overview.vm')
#set($title='&Uuml;bersicht')
## $response.sendRedirect("$root/packagelists/index.vm")
#set($lists=$packagelists.fetchAll())
#set($updates=0)
#set($package_lists_with_updates=0)
#foreach($l in $lists)
#if($l.origin>0)
#set ($diffcount = $l.diffPackages($l.origin).size())
#set($updates=$updates+$diffcount)
#if($diffcount>0)
#set($package_lists_with_updates=$package_lists_with_updates+1)
#end
#end
#end
#set($errors=0)
#set($systems_with_errors=0)
#set($comps=$computers.fetchAll())
#foreach($c in $comps)
#set($dummy=$status.load($c.name))
#set($errors=$errors+$status.value)
#if($status.value>0)
#set($systems_with_errors=$systems_with_errors+1)
#end
#end
<script type="text/javascript">
        $(document).ready(function () {
#js_create_layout()
	});
</script>
<DIV class="ui-layout-north">#parse("menu.vm")<br></DIV>
<DIV class="ui-layout-center">
<p class="overview">
#rednumber($package_lists_with_updates) Paketlisten mit Updates<br>
#rednumber($updates) Updates insgesamt<br>
<p class="overview">
<span class="greynumber-big">&nbsp;$comps.size()&nbsp;</span> Systeme insgesamt<br>
#rednumber($systems_with_errors) Systeme mit Fehlern<br>
#rednumber($errors) Fehler insgesamt<br>
</p>
</DIV>
<DIV class="ui-layout-south">
<div class="buttons">
<span>&nbsp;</span>
</div>
</DIV>
