slitaz-dev-tools rev 152

Lighten libtaz report html logs
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 13 00:24:19 2012 +0100 (2012-03-13)
parents a49102a73eff
children c7508f69c75e
files libtaz/libtaz-modules/report libtaz/web/favicon.ico libtaz/web/header-img.png libtaz/web/logo.png libtaz/web/slitaz.css libtaz/web/template.html
line diff
     1.1 --- a/libtaz/libtaz-modules/report	Sun Mar 11 13:07:55 2012 +0000
     1.2 +++ b/libtaz/libtaz-modules/report	Tue Mar 13 00:24:19 2012 +0100
     1.3 @@ -22,19 +22,10 @@
     1.4  
     1.5  report_create_html()
     1.6  {
     1.7 -	if ! [ -f "$log_opt" ]; then
     1.8 -		mkdir -p "${log_opt%/*}"
     1.9 -		cp /usr/share/slitaz/web/template.html "$log_opt"
    1.10 -		sed -e "s/xml:lang=\"us\" lang=\"us\"/xml:lang=\"${LANG%%_*}\" lang=\"${LANG%%_*}\"/" \
    1.11 -			-e "s~Title of the page~SliTaz GNU/Linux - Log: $0~" \
    1.12 -			-e "s~Second Title~Log: $0~" -i "$log_opt"
    1.13 -		echo '<div id="report">' >> "$log_opt"
    1.14 -	else
    1.15 -		sed 's~</div></body></html>~~' -i "$log_opt"
    1.16 -	fi
    1.17 +	mkdir -p "${log_opt%/*}"
    1.18 +	echo '<div id="report">' >> "$log_opt"
    1.19  
    1.20 -	echo -e "<h1>$(basename "$log_command")</h1>\n<em>$(date)</em>" >> "$log_opt"
    1.21 -	[ -L "${log_opt%/*}/web" ] || ln -s /usr/share/slitaz/web "${log_opt%/*}/web"
    1.22 +	echo -e "<strong>$(basename "$log_command")</strong>\n<em>$(date)</em>" >> "$log_opt"
    1.23  }
    1.24  
    1.25  report_start()
    1.26 @@ -154,14 +145,13 @@
    1.27  			touch $log_tmp.eob
    1.28  		fi
    1.29  	else
    1.30 -		[ "$log_opt" ] && echo '</div></body></html>' >> "$log_opt"
    1.31 +		[ "$log_opt" ] && echo '</div>' >> "$log_opt"
    1.32  		exec  3>&- 4>&-
    1.33  		rm -f $log_tmp*
    1.34  		unset report_pid log_opt
    1.35  		
    1.36  		# Stop debugging
    1.37  		[ "$debug_opt" ] && set +vx
    1.38 -		[ "$report_log_all" ] && create_log_index
    1.39  	fi
    1.40  }
    1.41  
    1.42 @@ -211,7 +201,7 @@
    1.43  		message)
    1.44  			shift
    1.45  			echo -e "${current_bloc_display}$@"
    1.46 -			report_message=$(echo "$@" | sed "s~$~<br />~g")
    1.47 +			report_message="$@"
    1.48  			[ "$log_opt" ] && echo -e "<div class=\"message\">$report_message</div>" >> "$log_opt"
    1.49  		;;
    1.50  		step)
    1.51 @@ -219,7 +209,7 @@
    1.52  			[ "$open_bloc" ] && report_open_bloc
    1.53  			[ "$step_running" ] && report_step_status
    1.54  			echo -ne "$current_bloc_display$2\\033[70G[ \\033[1;32mR\\033[33mU\\033[31mN\\033[0;39m ]" >&3
    1.55 -			[ "$log_opt" ] && echo -e "<div class=\"$2\">\n<h$(($bloc_level+2))>$2</h$(($bloc_level+2))>" >> "$log_opt"
    1.56 +			[ "$log_opt" ] && echo -e "<div class=\"$2\">\n<strong>$2</strong>" >> "$log_opt"
    1.57  			export step_running="$2"
    1.58  			report_listen
    1.59  		;;
    1.60 @@ -274,7 +264,7 @@
    1.61  		end-sublog)
    1.62  			[ "$log_opt" ] || continue
    1.63  			export log_list="${log_list#* }"
    1.64 -			echo '</div></body></html>' >> "$log_opt"	
    1.65 +			echo '</div>' >> "$log_opt"	
    1.66  			# Grep the summary of sublog (main action + status) and put
    1.67  			# it in the main log, plus a link.
    1.68  			[ "$log_list" ] && { sed -n '/<div id="report">/,$p' $log_opt | \
    1.69 @@ -371,7 +361,7 @@
    1.70  
    1.71  report_term_to_html()
    1.72  {
    1.73 -	report_decolorize | sed -e 's~<~\&lt;~' -e 's~>~\&gt;~' -e 's/$/<br \/>/' -e 's~STDERR: \(.*\)~<span class="error">\1<\/span>~' -e 's~	~\&nbsp;\&nbsp;\&nbsp;\&nbsp;~'
    1.74 +	report_decolorize | sed -e 's~<~\&lt;~' -e 's~>~\&gt;~' -e 's~STDERR: \(.*\)~<span class="error">\1<\/span>~' -e 's~	~\&nbsp;\&nbsp;\&nbsp;\&nbsp;~'
    1.75  }
    1.76  
    1.77  report_decolorize()
    1.78 @@ -411,20 +401,3 @@
    1.79  	done
    1.80  }
    1.81  
    1.82 -create_log_index()
    1.83 -{
    1.84 -	cd $SLITAZ_LOG
    1.85 -	cp -f /usr/share/slitaz/web/template.html index.html
    1.86 -	sed -e "s/xml:lang=\"us\" lang=\"us\"/xml:lang=\"${LANG%%_*}\" lang=\"${LANG%%_*}\"/" \
    1.87 -		-e "s~Title of the page~SliTaz GNU/Linux - Logs Index~" \
    1.88 -		-e "s~Second Title~Logs Index~" -i index.html
    1.89 -	echo '<div id="report">' >> index.html
    1.90 -	for log in $(ls -t */*); do
    1.91 -		log_title=$(grep '<h1>.*</h1>' $log | sed 's~<h1>\(.*\)</h1>~\1~')
    1.92 -		log_date=$(date -r $log)
    1.93 -		log_status=$(grep '<div class=".*">' $log | sed -e 1!d -e 's~<.*"\(.*\)">~\1~')
    1.94 -		echo -e " <a href=\"$log\"><div class=\"$log_status\">$log_date: $log_title</div></a>" >> index.html
    1.95 -	done
    1.96 -	echo -e '</div></body></html>' >> index.html
    1.97 -	chmod 666 index.html
    1.98 -}
     2.1 Binary file libtaz/web/favicon.ico has changed
     3.1 Binary file libtaz/web/header-img.png has changed
     4.1 Binary file libtaz/web/logo.png has changed
     5.1 --- a/libtaz/web/slitaz.css	Sun Mar 11 13:07:55 2012 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,545 +0,0 @@
     5.4 -/*
     5.5 -	CSS style for SliTaz Network - (c) 2012 SliTaz GNU/Linux
     5.6 -*/
     5.7 -
     5.8 -html {
     5.9 -	min-height:  102%;
    5.10 -}
    5.11 -
    5.12 -body {
    5.13 -	background: #ffffff;
    5.14 -	color: black;
    5.15 -	font: 13px sans-serif, vernada, arial;
    5.16 -	margin: 0;
    5.17 -	border-top: 34px solid #f1f1f1;
    5.18 -}
    5.19 -a { text-decoration: underline; color: #103a5e; }
    5.20 -a:hover { text-decoration: none; color: blue; }
    5.21 -img { border: 0pt none; }
    5.22 -
    5.23 -/* Accessibility */
    5.24 -
    5.25 -#access {
    5.26 -	position: absolute;
    5.27 -	top: 4px;
    5.28 -	right: 0px;
    5.29 -	text-align: right;
    5.30 -	width: auto;
    5.31 -	margin: 0;
    5.32 -	padding: 4px 4px 4px 20px;
    5.33 -	font-size: 11px;
    5.34 -	font-weight: bold;
    5.35 -}
    5.36 -
    5.37 -#access a {
    5.38 -	background: transparent;
    5.39 -	color: #0F314E;
    5.40 -	text-decoration: none;
    5.41 -}
    5.42 -#access a:hover { color: #b64b22; }
    5.43 -#access img { vertical-align: middle; }
    5.44 -
    5.45 -/* Header */
    5.46 -
    5.47 -#header {
    5.48 -	background: #351a0a url(header-img.png) no-repeat top right;
    5.49 -	color: black;
    5.50 -	width: 100%;
    5.51 -	height: 42px;
    5.52 -	border-top: 1px solid black;
    5.53 -	border-bottom: 1px solid #999;
    5.54 -	margin-bottom: 33px;
    5.55 -}
    5.56 -
    5.57 -#titre {
    5.58 -	position: absolute;
    5.59 -	font-size: 14px;
    5.60 -	font-weight: bolder ;
    5.61 -	left: 180px;
    5.62 -	top: 4px;
    5.63 -}
    5.64 -
    5.65 -#logo {
    5.66 -	position: absolute;
    5.67 -	float: left;
    5.68 -	left: 16px;
    5.69 -	top: -10px;
    5.70 -	width: 200px;
    5.71 -	height: 74px;
    5.72 -}
    5.73 -
    5.74 -/* Side bar */
    5.75 -
    5.76 -#nav {
    5.77 -	position: absolute;
    5.78 -	top: 102px;
    5.79 -	right: 80px;
    5.80 -	color: #555555;
    5.81 -	float: right;
    5.82 -	width: 250px;
    5.83 -	line-height: 1.5em;
    5.84 -	text-align: left;
    5.85 -	font-size: 12px;
    5.86 -}
    5.87 -
    5.88 -#nav h4 {
    5.89 -	font-size: 120%;
    5.90 -	color: #666666;
    5.91 -	font-weight: bold;
    5.92 -	margin: 0;
    5.93 -	padding: 0 0 1px 0;
    5.94 -	border-bottom: 1px solid #cecece;
    5.95 -}
    5.96 -
    5.97 -#nav a {
    5.98 -	color: #0F314E;
    5.99 -	background: inherit;
   5.100 -	display: block;
   5.101 -	text-decoration: none;
   5.102 -	font-weight: bold;
   5.103 -}
   5.104 -
   5.105 -#nav a:hover {
   5.106 -	color: #b64b22;
   5.107 -	text-decoration: none;
   5.108 -	display: block;
   5.109 -}
   5.110 -
   5.111 -#nav .nav_box ul {
   5.112 -	list-style-type: none;
   5.113 -	margin: 0;
   5.114 -	padding: 10px 24px 10px 0px;
   5.115 -	background-color: inherit;
   5.116 -}
   5.117 -
   5.118 -#nav li { display: inline; }
   5.119 -
   5.120 -#nav ul {
   5.121 -	-moz-border-radius: 8px;
   5.122 -	-webkit-border-radius: 8px;
   5.123 -	border-radius: 8px;
   5.124 -	list-style-type: none;
   5.125 -	margin: 10px 0;
   5.126 -	padding: 10px 24px 10px 24px;
   5.127 -	background-color: #eaeaea;
   5.128 -}
   5.129 -
   5.130 -.nav_box {
   5.131 -	margin: 10px 0;
   5.132 -	padding: 10px 24px 10px 24px;
   5.133 -	background-color: #eaeaea;
   5.134 -	text-align: justify;
   5.135 -}
   5.136 -
   5.137 -#nav .nav_box p { line-height: 1.3em; }
   5.138 -
   5.139 -#nav .nav_box p a {
   5.140 -	display: inline;
   5.141 -	font-weight: normal;
   5.142 -	text-decoration: underline;
   5.143 -}
   5.144 -
   5.145 -#nav .nav_box p a:hover {
   5.146 -	text-decoration: none;
   5.147 -	color: blue;
   5.148 -	background: inherit;
   5.149 -}
   5.150 -
   5.151 -/* Page content */
   5.152 -
   5.153 -#content, #content-full {
   5.154 -	background: white;
   5.155 -	color: black;
   5.156 -	text-align: justify;
   5.157 -	height: auto;
   5.158 -	margin: 6px 320px 0px 0px;
   5.159 -	padding: 0px 40px 60px 80px;
   5.160 -}
   5.161 -#content-full {
   5.162 -	margin: 0;
   5.163 -	padding: 0px 80px 40px 80px;
   5.164 -}
   5.165 -#content li, #content-full li {
   5.166 -	line-height: 1.5em;
   5.167 -	text-align: left;
   5.168 -}
   5.169 -#news li {
   5.170 -	list-style-type: square;
   5.171 -	border-bottom: 1px dotted #BEBEBE;
   5.172 -	margin-left: -25px;
   5.173 -	padding: 4px 0px 4px 0px;
   5.174 -}
   5.175 -#news a { text-decoration: none; }
   5.176 -
   5.177 -/* Box and block. */
   5.178 -
   5.179 -.infobox {
   5.180 -	margin: 20px 60px;
   5.181 -	padding: 12px;
   5.182 -	background: #f8f8f8;
   5.183 -}
   5.184 -.infobox img { vertical-align: middle; }
   5.185 -.infobox:hover { background-color: #FBFBFB; }
   5.186 -.block {
   5.187 -	/*padding-bottom: 35%;*/
   5.188 -	color: black;
   5.189 -	min-height: 200px;
   5.190 -	margin-bottom: 40px;
   5.191 -}
   5.192 -.block ul {
   5.193 -	list-style-type: none;
   5.194 -	margin: 0;
   5.195 -	padding: 0 20px;
   5.196 -}
   5.197 -.block_left {
   5.198 -	width: 46%;
   5.199 -	float: left;
   5.200 -	background-color: #eaeaea;
   5.201 -	margin: 4px 2px;
   5.202 -	padding: 0 10px 10px 10px;
   5.203 -}
   5.204 -.block_right {
   5.205 -	width: 46%;
   5.206 -	float: right;
   5.207 -	background-color: #eaeaea;
   5.208 -	margin: 4px 2px;
   5.209 -	padding: 0 10px 10px 10px;
   5.210 -}
   5.211 -#block_top {
   5.212 -	color: black;
   5.213 -	background-color: #eaeaea;
   5.214 -	min-height: 180px;
   5.215 -	margin-bottom: 40px;
   5.216 -	margin-right: 340px;
   5.217 -	padding: 0 10px;
   5.218 -}
   5.219 -#block_nav {
   5.220 -	width: 300px;
   5.221 -	min-height: 180px;
   5.222 -	float: right;
   5.223 -	background-color: #eaeaea;
   5.224 -	margin: 0;
   5.225 -	padding: 0 10px;
   5.226 -}
   5.227 -.nav_box, .infobox, .block_left, .block_right, #block_top, 
   5.228 -#block_nav, #footer {
   5.229 -	-moz-border-radius: 8px;
   5.230 -	-webkit-border-radius: 8px;
   5.231 -	border-radius: 8px;
   5.232 -	-moz-box-shadow: 0 1px 3px #666;
   5.233 -	-webkit-box-shadow: 0 1px 3px #666;
   5.234 -	box-shadow: 0 1px 3px #666;
   5.235 -	/* CSS3 transition */
   5.236 -	-webkit-transition-property: background-color;
   5.237 -	-webkit-transition-duration: 2s;
   5.238 -	-moz-transition-property: background-color;
   5.239 -	-moz-transition-duration: 2s;
   5.240 -	transition-property: background-color;
   5.241 -	transition-duration: 2s;
   5.242 -}
   5.243 -#block_nav { font-weight: bold; }
   5.244 -#block_nav a { text-decoration: none; }
   5.245 -#block_nav li a:hover { color: #b64b22; }
   5.246 -#block_nav ul { margin: 0; list-style-type: none; }
   5.247 -#block_nav h3 { font-size: 110%; }
   5.248 -.nav_box:hover, .block_left:hover, .block_right:hover, 
   5.249 -#block_top:hover, #block_nav:hover, #footer:hover { 
   5.250 -	background-color: #f8f8f8;
   5.251 -}
   5.252 -.right_box {
   5.253 -	width: 50%;
   5.254 -	float: right;
   5.255 -}
   5.256 -/* Text transform at 45deg */
   5.257 -.floor {
   5.258 -	color: #999999;
   5.259 -	font-size: 20px;
   5.260 -	-webkit-transform: rotate(-45deg) skew(15deg, 15deg);
   5.261 -	-moz-transform: rotate(-45deg) skew(15deg, 15deg);
   5.262 -	-o-transform: rotate(-45deg) skew(15deg, 15deg);
   5.263 -	-ms-transform: rotate(-45deg) skew(15deg, 15deg);
   5.264 -	transform: rotate(-45deg) skew(15deg, 15deg);
   5.265 -}
   5.266 -#twitter, .feedbox {
   5.267 -	margin-top: 20px;
   5.268 -	-moz-border-radius: 8px;
   5.269 -	-webkit-border-radius: 8px;
   5.270 -	border-radius: 8px;
   5.271 -	-moz-box-shadow: 0 1px 3px #666;
   5.272 -	-webkit-box-shadow: 0 1px 3px #666;
   5.273 -	box-shadow: 0 1px 3px #666;
   5.274 -}
   5.275 -.feedbox {
   5.276 -	background-color: #f9f9f9;
   5.277 -	padding: 10px 20px;
   5.278 -	margin: 20px 100px;
   5.279 -}
   5.280 -.feedbox div {
   5.281 -	height: 320px;
   5.282 -	overflow: auto;
   5.283 -}
   5.284 -.feedbox ul { list-style-type: none; margin: 0; }
   5.285 -
   5.286 -/* Button */
   5.287 -
   5.288 -.button { margin-left: 20px; }
   5.289 -.button a { 
   5.290 -	background-color: #b64b22;
   5.291 -	color: #ffffff;
   5.292 -	margin-right: 6px;
   5.293 -	padding: 6px 10px;
   5.294 -	font-size: 14px;
   5.295 -	-moz-border-radius: 4px;
   5.296 -	-webkit-border-radius: 4px;
   5.297 -	border-radius: 4px;
   5.298 -	-moz-box-shadow: 0 1px 3px #666;
   5.299 -	-webkit-box-shadow: 0 1px 3px #666;
   5.300 -	box-shadow: 0 1px 3px #666;
   5.301 -}
   5.302 -.button a:hover, input[type=submit]:hover { 
   5.303 -	background-color: #a3431f;
   5.304 -	color: #ffffff;
   5.305 -}
   5.306 -input[type=submit] {
   5.307 -	border: 1px solid #b64b22;
   5.308 -	background-color: #b64b22;
   5.309 -	color: white;
   5.310 -	font-weight: bold;
   5.311 -	cursor: pointer;
   5.312 -	padding: 3px 10px;
   5.313 -	font-size: 14px;
   5.314 -	-moz-border-radius: 2px;
   5.315 -	-webkit-border-radius: 2px;
   5.316 -	border-radius: 2px;
   5.317 -	-moz-box-shadow: 0 0 5px #666;
   5.318 -	-webkit-box-shadow: 0 0 5px#666;
   5.319 -	box-shadow: 0 0 5px #666;
   5.320 -	margin-left: -5px;
   5.321 -}
   5.322 -input[type=text] {
   5.323 -	border: 1px solid #333333;
   5.324 -	padding: 3px;
   5.325 -	width: 100%;
   5.326 -}
   5.327 -
   5.328 -/* Clouds */
   5.329 -
   5.330 -#cloud {
   5.331 -	padding: 10px 0px;
   5.332 -	line-height: 3em;
   5.333 -	text-align: center;
   5.334 -}
   5.335 -#cloud a { padding: 0 2px; color: #444444; }
   5.336 -#cloud a.tag1 { font-size: 0.7em; font-weight: 100; }
   5.337 -#cloud a.tag2 { font-size: 0.8em; font-weight: 200; }
   5.338 -#cloud a.tag3 { font-size: 0.9em; font-weight: 300; }
   5.339 -#cloud a.tag4 { font-size: 1.0em; font-weight: 400; }
   5.340 -#cloud a.tag5 { font-size: 1.2em; font-weight: 500; }
   5.341 -#cloud a.tag6 { font-size: 1.4em; font-weight: 600; }
   5.342 -#cloud a.tag7 { font-size: 1.6em; font-weight: 700; }
   5.343 -#cloud a.tag8 { font-size: 1.8em; font-weight: 800; }
   5.344 -#cloud a.tag9 { font-size: 2.2em; font-weight: 900; }
   5.345 -#cloud a.tag10 { font-size: 2.5em; font-weight: 900; }
   5.346 -
   5.347 -/* Slideshow and gallery */
   5.348 -
   5.349 -#slideshow
   5.350 -{
   5.351 -	overflow: hidden;
   5.352 -	margin: 10px auto 10px;
   5.353 -	position: relative;
   5.354 -	width: 260px;
   5.355 -	height: 163px;
   5.356 -}
   5.357 -
   5.358 -#slideshow img
   5.359 -{
   5.360 -	border: 0;
   5.361 -	width: 260px;
   5.362 -	height: 163px;
   5.363 -}
   5.364 -
   5.365 -#gallery { text-align: center; }
   5.366 -
   5.367 -/* HTML styles */
   5.368 -
   5.369 -h1 {
   5.370 -	color: #444444;
   5.371 -	background: transparent;
   5.372 -	text-align: left;
   5.373 -	margin: 0px 0px 4px 0px;
   5.374 -	font-size: 150%;
   5.375 -	font-weight: bold;
   5.376 -	padding: 5px 0 0 10px;
   5.377 -}
   5.378 -
   5.379 -h2 {
   5.380 -	color: #b64b22;
   5.381 -	padding: 0;
   5.382 -	margin: 20px 0 0 0;
   5.383 -	font-size: 130%;
   5.384 -	font-weight: bold;
   5.385 -}
   5.386 -
   5.387 -h3 {
   5.388 -	font-weight: bold;
   5.389 -	color: #666666;
   5.390 -	background: transparent;
   5.391 -}
   5.392 -
   5.393 -h3 img, h2 img { 
   5.394 -	vertical-align: middle;
   5.395 -	width: 20px;
   5.396 -	height: 20px;
   5.397 -	padding-right: 4px; 
   5.398 -}
   5.399 -code, tt {
   5.400 -	font-size: 12px;
   5.401 -	color: #669900;
   5.402 -}
   5.403 -
   5.404 -pre, pre.script {
   5.405 -	padding: 10px;
   5.406 -	color: black;
   5.407 -	background: #E8E8E8;
   5.408 -	border: 1px inset #606060;
   5.409 -}
   5.410 -
   5.411 -/* Packages pages */
   5.412 -
   5.413 -.pkg_nav {
   5.414 -	border-top: 1px solid black;
   5.415 -	margin-top: 10px;
   5.416 -	padding-top: 10px;
   5.417 -}
   5.418 -
   5.419 -pre.package {
   5.420 -	padding: 0px;
   5.421 -	color: black;
   5.422 -	background: white;
   5.423 -	border: 0px solid #fff;
   5.424 -}
   5.425 -
   5.426 -p.get {
   5.427 -	text-align: center;
   5.428 -	padding: 10px;
   5.429 -	color: black;
   5.430 -	background: #F3F3F3;
   5.431 -	border: 1px solid #DEDEDE;
   5.432 -	border-radius: 4px;
   5.433 -	-moz-border-radius: 4px;
   5.434 -	-webkit-border-radius: 4px;
   5.435 -}
   5.436 -p.get a {
   5.437 -	font-weight: bold;
   5.438 -	text-decoration: none;
   5.439 -}
   5.440 -.pkgs-search { 
   5.441 -	text-align: center; 
   5.442 -	padding: 40px 20px 80px 20px;
   5.443 -}
   5.444 -
   5.445 -#footer {
   5.446 -	margin: 0px 80px 80px 80px;
   5.447 -	padding: 10px;
   5.448 -	background: #eaeaea;
   5.449 -	color: #666666;
   5.450 -	height: 180px;
   5.451 -	clear: both;
   5.452 -	border-radius: 8px;
   5.453 -	-moz-border-radius: 8px;
   5.454 -	-webkit-border-radius: 8px;
   5.455 -	-moz-box-shadow: 0 1px 3px #666;
   5.456 -	-webkit-box-shadow: 0 1px 3px #666;
   5.457 -	box-shadow: 0 1px 3px #666;
   5.458 -}
   5.459 -
   5.460 -#footer a { color: #666666; }
   5.461 -#footer a:hover { color: #333333; }
   5.462 -#footer ul { list-style-type: none; }
   5.463 -#footer li { padding: 2px; }
   5.464 -#footer h4 { margin: 0 20px; font-size: 125%; }
   5.465 -
   5.466 -.year:after {
   5.467 -	/* content: "2007-2012"; */
   5.468 -	content: "2012";
   5.469 -}
   5.470 -
   5.471 -/* Report style */
   5.472 -
   5.473 -#report {
   5.474 -	margin: 5px;
   5.475 -}
   5.476 -
   5.477 -#report div {
   5.478 -	padding: 3px;
   5.479 -	margin: 0px;
   5.480 -	outline: 1px solid white
   5.481 -}
   5.482 -
   5.483 -#report div.message {
   5.484 -	background: transparent;
   5.485 -	border: black 1px solid;
   5.486 -	border-left: black 3px solid;
   5.487 -}
   5.488 -
   5.489 -#report div.ok {
   5.490 -	background: #d2ffd2;
   5.491 -	border: green 1px solid;
   5.492 -	border-left: green 3px solid;
   5.493 -}
   5.494 -
   5.495 -#report div.warning {
   5.496 -	background: #ffffd2;
   5.497 -	border: yellow 1px solid;
   5.498 -	border-left: yellow 3px solid;
   5.499 -}
   5.500 -
   5.501 -#report div.failed {
   5.502 -	background: #ffd2d2;
   5.503 -	border: red 1px solid;
   5.504 -	border-left: red 3px solid;
   5.505 -}
   5.506 -
   5.507 -#report span.error {
   5.508 -	background: red;
   5.509 -	padding: 0px;
   5.510 -	margin: 0px;
   5.511 -	border: 0px;
   5.512 -	width: 100%;
   5.513 -	display: inline-block;
   5.514 -}
   5.515 -
   5.516 -#report pre {
   5.517 -	background: black;
   5.518 -	color: white;
   5.519 -	padding: 3px;
   5.520 -	margin: 0px;
   5.521 -	border: 0px;
   5.522 -	word-wrap: break-word;
   5.523 -	white-space: normal;
   5.524 -}
   5.525 -
   5.526 -#report h1 {
   5.527 -	display: inline;
   5.528 -}
   5.529 -
   5.530 -#report h2 {
   5.531 -	display: inline;
   5.532 -}
   5.533 -
   5.534 -#report h3 {
   5.535 -	display: inline;
   5.536 -}
   5.537 -
   5.538 -#report h4 {
   5.539 -	display: inline;
   5.540 -}
   5.541 -
   5.542 -#report h5 {
   5.543 -	display: inline;
   5.544 -}
   5.545 -
   5.546 -#report h6 {
   5.547 -	display: inline;
   5.548 -}
     6.1 --- a/libtaz/web/template.html	Sun Mar 11 13:07:55 2012 +0000
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,18 +0,0 @@
     6.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     6.5 -	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     6.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="us" lang="us">
     6.7 -<head>
     6.8 -	<title>Title of the page</title>
     6.9 -	<meta http-equiv="content-type" content="text/html; text/html;charset=utf-8" />
    6.10 -	<link rel="shortcut icon" href="web/favicon.ico" />
    6.11 -	<link rel="stylesheet" type="text/css" href="web/slitaz.css" />
    6.12 -</head>
    6.13 -<body>
    6.14 -
    6.15 -<!-- Header -->
    6.16 -<div id="header">
    6.17 -	<a href="http://bb.slitaz.org/"><img id="logo"
    6.18 -		src="web/logo.png"
    6.19 -		title="bb.slitaz.org" alt="bb.slitaz.org" /></a>
    6.20 -	<p id="titre">#!/Bb/Second Title</p>
    6.21 -</div>