tazpanel 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 defd4d56e443
files hardware.cgi styles/default/header.html
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
     2.1 --- a/styles/default/header.html	Sat Jan 03 17:11:14 2015 +0200
     2.2 +++ b/styles/default/header.html	Sun Jan 11 12:09:36 2015 +0200
     2.3 @@ -15,9 +15,9 @@
     2.4  </head>
     2.5  <body onload="hideLoading()">
     2.6  
     2.7 -<header>
     2.8 +<div id="header">
     2.9  	<h1>$TITLE</h1>
    2.10 -</header>
    2.11 +</div>
    2.12  
    2.13  <div id="toolbar">
    2.14  	<div id="icons">