# HG changeset patch # User Christophe Lincoln # Date 1304856599 -7200 # Node ID a0d3ea0fe8861bd56b91f5bc12873c6c23b9be1a # Parent b2cf2da8c3b317a1f9102c516d5e50ca0c53944f web: Dont display de full cooklist on main page, just next 20 and have a button to see full list diff -r b2cf2da8c3b3 -r a0d3ea0fe886 web/cooker.cgi --- a/web/cooker.cgi Sun May 08 11:15:57 2011 +0100 +++ b/web/cooker.cgi Sun May 08 14:09:59 2011 +0200 @@ -124,7 +124,7 @@ # Dont allow all files on the system for security reasons. file=${QUERY_STRING#file=} case "$file" in - activity|cooknotes) + activity|cooknotes|cooklist) echo "

DB: $file

" echo '
'
 				tac $CACHE/$file | \
@@ -181,13 +181,13 @@
 
 

Summary

-
 Running command  : $([ -s "$command" ] && cat $command || echo "Not running")
 Wok revision     : $(cd $WOK && hg head --template '{rev}\n')
 Commits to cook  : $(cat $commits | wc -l)
 Current cooklist : $(cat $cooklist | wc -l)
 Broken packages  : $(cat $broken | wc -l)
+Bloked packages  : $(cat $bloked | wc -l)
 

@@ -224,8 +224,9 @@

Cooklist

-$(cat $cooklist)
+$(cat $cooklist | head -n 20)
 
+Full cooklist

Broken