slitaz-forge rev 175

mirror: add favicon to static files and small CSS improvments
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 20 19:49:53 2012 +0100 (2012-03-20)
parents d2a35762c34d
children 1410b3dcf240
files mirror/mirror mirror/root/dir-generator.php mirror/root/static/favicon.ico mirror/root/static/slitaz.css
line diff
     1.1 --- a/mirror/mirror	Tue Mar 20 19:39:33 2012 +0100
     1.2 +++ b/mirror/mirror	Tue Mar 20 19:49:53 2012 +0100
     1.3 @@ -29,15 +29,18 @@
     1.4  case "$1" in
     1.5  	up-info)
     1.6  		echo "Updating: mirror.slitaz.org/info..."
     1.7 -		cd $REPOS/slitaz-forge && hg pull -u 
     1.8 +		cd $REPOS/slitaz-forge && hg pull -u
     1.9 +		echo "Copying info to: $INFO"
    1.10  		cp -a mirror/info/* $INFO ;;
    1.11  	up-tiny)
    1.12  		echo "Updating: tiny.slitaz.org..."
    1.13 -		cd $REPOS/slitaz-pizza && hg pull -u 
    1.14 +		cd $REPOS/slitaz-pizza && hg pull -u
    1.15 +		echo "Copying tiny to: $TINY"
    1.16  		cp -a php/tiny/* $TINY ;;
    1.17  	up-mirror)
    1.18  		echo "Updating: mirror.slitaz.org files..." 
    1.19 -		cd $REPOS/slitaz-forge && hg pull -u 
    1.20 +		cd $REPOS/slitaz-forge && hg pull -u
    1.21 +		echo "Copying root to: $MIRROR"
    1.22  		cp -a mirror/root/* $MIRROR ;;
    1.23  	*)
    1.24  		usage ;;
     2.1 --- a/mirror/root/dir-generator.php	Tue Mar 20 19:39:33 2012 +0100
     2.2 +++ b/mirror/root/dir-generator.php	Tue Mar 20 19:49:53 2012 +0100
     2.3 @@ -161,20 +161,11 @@
     2.4  	<link rel="shortcut icon" href="/static/favicon.ico" />
     2.5  	<link rel="stylesheet" type="text/css" href="/static/slitaz.css" />
     2.6  	<style type="text/css">
     2.7 -	#header { color: #ffffff; }
     2.8 -	div.list { background-color: white; padding-bottom: 14px;}
     2.9 -	table { width: 100% ;}
    2.10 -	th, td { font: 90% monospace; text-align: left;}
    2.11 -	th { font-weight: bold; padding-right: 14px; padding-bottom: 3px;}
    2.12 -	td {padding-right: 14px;}
    2.13 -	td.s, th.s {text-align: right;}
    2.14 -	#mirrors {
    2.15 -		padding: 10px;
    2.16 -		margin: 0 10px;
    2.17 -		text-align: center;
    2.18 -		background: #f1f1f1;
    2.19 -		border: 2px solid #ddd;
    2.20 -	}
    2.21 +	div.list { background-color: white; padding-bottom: 14px; }
    2.22 +	th, td { font: 90% monospace; text-align: left; }
    2.23 +	th { font-weight: bold; padding-right: 14px; padding-bottom: 3px; }
    2.24 +	td { padding-right: 14px; }
    2.25 +	td.s, th.s { text-align: right; }
    2.26  	</style>
    2.27  </head>
    2.28  <body>
    2.29 @@ -184,8 +175,7 @@
    2.30  	<div id="logo"></div>
    2.31  	<div id="network">
    2.32  		<a href="http://www.slitaz.org/">
    2.33 -			<img src="/static/home.png" alt="[ Home ]" />
    2.34 -			Home</a>
    2.35 +			<img src="/static/home.png" alt="[ Home ]" /></a>
    2.36  		<a href="http://scn.slitaz.org/">Community</a>
    2.37  		<a href="http://doc.slitaz.org/">Doc</a>
    2.38  		<a href="http://forum.slitaz.org/">Forum</a>
    2.39 @@ -205,6 +195,7 @@
    2.40  		<h4>Online Tools</h4>
    2.41  		<ul>
    2.42  			<li><a href="http://pizza.slitaz.org/">Live Builder</a></li>
    2.43 +			<li><a href="http://tiny.slitaz.org/">Tiny Builder</a></li>
    2.44  			<li><a href="http://boot.slitaz.org/">Web Boot</a></li>
    2.45  		</ul>
    2.46  	</div>
    2.47 @@ -221,7 +212,7 @@
    2.48  	print <<<EOT
    2.49  		<form action="${_SERVER["REQUEST_URI"]}" method="get" style="width: 300px;">
    2.50  			<p><input type="text" name="f" $fvalue
    2.51 -				style="width: auto;" /></p>
    2.52 +				style="width: width: 260px;" /></p>
    2.53  		</form>
    2.54  	</div>
    2.55  </div>
     3.1 Binary file mirror/root/static/favicon.ico has changed
     4.1 --- a/mirror/root/static/slitaz.css	Tue Mar 20 19:39:33 2012 +0100
     4.2 +++ b/mirror/root/static/slitaz.css	Tue Mar 20 19:49:53 2012 +0100
     4.3 @@ -39,6 +39,7 @@
     4.4  #header { 
     4.5  	height: 40px; 
     4.6  	background: #351a0a;
     4.7 +	color: #ffffff;
     4.8  }
     4.9  
    4.10  #header h1 {
    4.11 @@ -185,6 +186,14 @@
    4.12  	margin: 10px 0px 20px 20px;
    4.13  }
    4.14  
    4.15 +#mirrors {
    4.16 +	padding: 10px;
    4.17 +	margin: 10px 0px 20px;
    4.18 +	text-align: center;
    4.19 +	background: #f1f1f1;
    4.20 +	border: 2px solid #ddd;
    4.21 +}
    4.22 +
    4.23  /* Classes */
    4.24  
    4.25  .right_box { width: 48%; float: right; }
    4.26 @@ -247,7 +256,7 @@
    4.27  /* Round corner */
    4.28  
    4.29  #block_nav, pre, .box, .searchbox, .button a, #twitter, .activity,
    4.30 -.activity div, #sponsor, table, input, textarea, select {
    4.31 +.activity div, #sponsor, #mirrors, table, input, textarea, select {
    4.32  	-moz-border-radius: 4px;
    4.33  	-webkit-border-radius: 4px;
    4.34  	border-radius: 4px;