tazpanel diff hardware.cgi @ rev 407

fix header, hardware.cgi: add "tazx auto" button
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jan 11 12:09:36 2015 +0200 (2015-01-11)
parents 106b85c1951c
children 299f204b8f1f
line diff
     1.1 --- a/hardware.cgi	Sat Jan 03 17:11:14 2015 +0200
     1.2 +++ b/hardware.cgi	Sun Jan 11 12:09:36 2015 +0200
     1.3 @@ -57,6 +57,12 @@
     1.4  	*\ print\ *)
     1.5  		xhtml_header
     1.6  		echo "<h2>TODO</h2>" ;;
     1.7 +	*\ tazx\ *)
     1.8 +		xhtml_header
     1.9 +		cat << EOT
    1.10 +<pre>$(tazx auto)</pre>
    1.11 +EOT
    1.12 +		;;
    1.13  	*\ detect\ *)
    1.14  		# Front end for Tazhw
    1.15  		# TODO: Add button to detect webcam, etc. Like in tazhw box.
    1.16 @@ -182,6 +188,8 @@
    1.17  		<img src="$IMAGES/tux.png" />$(gettext 'Kernel modules')</a>
    1.18  	<a class="button" href="?detect">
    1.19  		<img src="$IMAGES/monitor.png" />$(gettext 'Detect PCI/USB')</a>
    1.20 +	<a class="button" href="?tazx">
    1.21 +		<img src="$IMAGES/terminal.png" />$(gettext 'Auto-install Xorg video driver')</a>
    1.22  </div>
    1.23  
    1.24  EOT