cookutils rev 772

cooker.cgi: add recook button (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 13 12:40:09 2015 +0100 (2015-11-13)
parents 79b706ec6fde
children a098710285e2
files web/cooker.cgi
line diff
     1.1 --- a/web/cooker.cgi	Fri Nov 13 12:33:57 2015 +0100
     1.2 +++ b/web/cooker.cgi	Fri Nov 13 12:40:09 2015 +0100
     1.3 @@ -251,11 +251,11 @@
     1.4  						syntax_highlighter log
     1.5  				echo '</pre>'
     1.6  			fi
     1.7 -			echo "<a class=\"button\" href=\"cooker.cgi?recook=$pkg\">Recook</a>"
     1.8  			echo '<h3>Cook log</h3>'
     1.9  			echo '<pre>'
    1.10  			cat $log | syntax_highlighter log
    1.11  			echo '</pre>'
    1.12 +			echo "<a class=\"button\" href=\"cooker.cgi?recook=$pkg\">Recook $pkg</a>"
    1.13  		else
    1.14  			[ "$pkg" ] && echo "<pre>No log: $pkg</pre>"
    1.15  		fi ;;