wok-next diff tazbb/stuff/web/index.php @ rev 7934

Up: tazbb (2.0) with new CSS and layout
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 15:42:58 2011 +0100 (2011-01-11)
parents e123f30cb507
children c3d23bc104d3
line diff
     1.1 --- a/tazbb/stuff/web/index.php	Sat Jan 01 19:20:04 2011 +0100
     1.2 +++ b/tazbb/stuff/web/index.php	Tue Jan 11 15:42:58 2011 +0100
     1.3 @@ -20,83 +20,70 @@
     1.4      <link rel="shortcut icon" href="favicon.ico" />
     1.5      <link rel="stylesheet" type="text/css" href="slitaz.css" />
     1.6  </head>
     1.7 +<body>
     1.8  
     1.9 -<body bgcolor="#ffffff">
    1.10  <!-- Header -->
    1.11  <div id="header">
    1.12 -    <a name="top"></a>
    1.13 -<!-- Access -->                                                                 
    1.14 -<div id="access">
    1.15 -    <a href="/<?php if ($version != 'stable')
    1.16 -echo "?stable"; ?>" title="Slitaz <?php
    1.17 -echo $notversion ?> packages"><?php echo $notversion ?></a>                          
    1.18 -</div>                                                                         
    1.19 +	<!-- Access -->                                                                 
    1.20 +	<div id="access">
    1.21 +	    <a href="/<?php if ($version != 'stable')
    1.22 +		echo "?stable"; ?>" title="Slitaz <?php
    1.23 +		echo $notversion ?> packages"><?php echo $notversion ?></a>                          
    1.24 +	</div>                                                                         
    1.25      <a href="http://bb.slitaz.org/"><img id="logo"
    1.26 -    src="pics/website/logo.png" title="bb.slitaz.org" alt="bb.slitaz.org"
    1.27 -    style="border: 0px solid ; width: 200px; height: 74px;" /></a>
    1.28 -    <p id="titre">#!/bb/packages/<?php echo $version; ?></p>
    1.29 -</div>
    1.30 -
    1.31 -<!-- Navigation menu -->
    1.32 -<div id="nav">
    1.33 -
    1.34 -<div class="nav_box">
    1.35 -<h4>SliTaz Network</h4>
    1.36 -<ul>
    1.37 -	<li><a href="http://www.slitaz.org/">Main Website</a></li>
    1.38 -	<li><a href="http://doc.slitaz.org/">Documentation</a></li>
    1.39 -	<li><a href="http://forum.slitaz.org/">Community Forum</a></li>
    1.40 -	<li><a href="http://labs.slitaz.org/">SliTaz Labs</a></li>
    1.41 -	<li><a href="http://pkgs.slitaz.org/">Packages Database</a></li>
    1.42 -	<li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
    1.43 -	<li><a href="http://www.distrowatch.com/slitaz">SliTaz on DistroWatch</a></li>
    1.44 -</ul>
    1.45 -</div>
    1.46 -
    1.47 -<div class="nav_box">
    1.48 -<h4>SliTaz Developers</h4>
    1.49 -<ul>
    1.50 -	<li><a href="http://hg.slitaz.org/">Hg Repositories</a></li>
    1.51 -	<li><a href="http://tank.slitaz.org/">Tank Server</a></li>
    1.52 -	<li><a href="http://people.slitaz.org/">People Stuff</a></li>
    1.53 -	<li><a href="http://labs.slitaz.org/wiki/distro">Distro Wiki</a></li>
    1.54 -	
    1.55 -</ul>
    1.56 -</div>
    1.57 -
    1.58 -<!-- End navigation menu -->
    1.59 -</div>
    1.60 -
    1.61 -<!-- Content top. -->
    1.62 -<div id="content_top">
    1.63 -<div class="top_left"></div>
    1.64 -<div class="top_right"></div>
    1.65 +		src="pics/website/logo.png"
    1.66 +		title="bb.slitaz.org" alt="bb.slitaz.org" /></a>
    1.67 +    <p id="titre">#!/Build/Bot/<?php echo $version; ?></p>
    1.68  </div>
    1.69  
    1.70  <!-- Content -->
    1.71 -<div id="content">
    1.72 +<div id="content-full">
    1.73  
    1.74 -<h1><font color="#3E1220">Build Bot</font></h1>
    1.75 -<h2><font color="#DF8F06">/usr/bin/tazbb</font></h2>
    1.76 +<!-- Block begin -->
    1.77 +<div class="block">
    1.78 +	<!-- Nav block begin -->
    1.79 +	<div id="block_nav">
    1.80 +		<h3><img src="pics/website/development.png" alt="devel.png" />Developers</h3>
    1.81 +		<ul>
    1.82 +			<li><a href="http://www.slitaz.org/en/devel/">Website/devel</a></li>
    1.83 +			<li><a href="http://labs.slitaz.org/">Laboratories</a></li>
    1.84 +			<li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li>
    1.85 +			<li><a href="http://people.slitaz.org/">People Stuff</a></li>
    1.86 +			<li><a href="http://scn.slitaz.org/">Community Network</a></li>
    1.87 +		</ul>
    1.88 +	<!-- Nav block end -->
    1.89 +	</div>
    1.90 +	<!-- Top block begin -->
    1.91 +	<div id="block_top">
    1.92 +		<h1>Build Bot</h1>
    1.93 +		<p>
    1.94 +			Tazbb is a <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    1.95 +			Build Bot, it automatically cooks and tests packages commited in
    1.96 +			the wok. SliTaz <a href="http://pkgs.slitaz.org/">packages</a> are
    1.97 +			cooked on the project main server: code name 
    1.98 +			<a href="http://tank.slitaz.org">Tank</a>. This web interface gives
    1.99 +			the current status of the build bot and the last report
   1.100 +			about any packages modified by the SliTaz contributors in 
   1.101 +			the Mercurial repositories, aka 
   1.102 +			<a href="http://hg.slitaz.org/">Hg repos</a>.
   1.103 +		</p>
   1.104 +	<!-- Top block end -->
   1.105 +	</div>
   1.106 +<!-- Block end -->
   1.107 +</div>
   1.108 +
   1.109 +<h2>Cooklog</h2>
   1.110  
   1.111  <p>
   1.112 -Tazbb is a <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> Build Bot,
   1.113 -it automatically cooks and tests packages commited in the wok. SliTaz
   1.114 -<a href="http://pkgs.slitaz.org/">packages</a> are cooked on the project
   1.115 -main server: code name <a href="http://tank.slitaz.org">Tank</a>. This
   1.116 -web interface gives the current status of the build bot and the last report
   1.117 -about any packages modified by the SliTaz contributors in the Mercurial
   1.118 -repositories, aka <a href="http://hg.slitaz.org/">Hg repos</a>.
   1.119 +	<form action="log.php" method="get">
   1.120 +	<?php
   1.121 +		if ($version == 'stable')
   1.122 +			echo '<input type="hidden" name="stable" value="1" />';
   1.123 +	?>	Show pkg log: <input type="text" name="package" />
   1.124 +		<!-- <input type="submit" value="Show" /> -->
   1.125 +	</form>
   1.126  </p>
   1.127  
   1.128 -<form action="log.php" method="get">
   1.129 -<?php
   1.130 -	if ($version == 'stable')
   1.131 -		echo '<input type="hidden" name="stable" value="1" />';
   1.132 -?>	Show cooklog: <input type="text" name="package" />
   1.133 -	<!-- <input type="submit" value="Show" /> -->
   1.134 -</form>
   1.135 -
   1.136  <h3>Summary</h3>
   1.137  <pre class="package">
   1.138  <?php
   1.139 @@ -180,26 +167,35 @@
   1.140  	cut -d. -f1); echo '   '\$file; done"); ?>
   1.141  </pre>
   1.142  
   1.143 -<!-- End of content with round corner -->
   1.144 +<!-- End of content -->
   1.145  </div>
   1.146  
   1.147 -<!-- Start of footer and copy notice -->
   1.148 -<div id="copy">
   1.149 -<p>
   1.150 -Copyright &copy; <?php echo date('Y'); ?> <a href="http://www.slitaz.org/">SliTaz</a> -
   1.151 -<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
   1.152 -</p>
   1.153 -<!-- End of copy -->
   1.154 -</div>
   1.155 -
   1.156 -<!-- Bottom and logo's -->
   1.157 -<div id="bottom">
   1.158 -<p>
   1.159 -<a href="http://validator.w3.org/check?uri=referer"><img
   1.160 -   src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
   1.161 -   title="Code validé XHTML 1.0"
   1.162 -   style="width: 80px; height: 15px;" /></a>
   1.163 -</p>
   1.164 +<!-- Footer -->
   1.165 +<div id="footer">
   1.166 +	<div class="right_box">
   1.167 +	<h4>SliTaz Network</h4>
   1.168 +		<ul>
   1.169 +			<li><a href="http://www.slitaz.org/">Main Website</a></li>
   1.170 +			<li><a href="http://doc.slitaz.org/">Documentation</a></li>
   1.171 +			<li><a href="http://forum.slitaz.org/">Support Forum</a></li>
   1.172 +			<li><a href="http://scn.slitaz.org/">Community Network</a></li>
   1.173 +			<li><a href="http://labs.slitaz.org/">Laboratories</a></li>
   1.174 +			<li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
   1.175 +		</ul>
   1.176 +	</div>
   1.177 +	<h4>SliTaz Website</h4>
   1.178 +	<ul>
   1.179 +		<li><a href="#header">Top of the page</a></li>
   1.180 +		<li>Copyright &copy; <span class="year"></span>
   1.181 +			<a href="http://www.slitaz.org/">SliTaz</a></li>
   1.182 +		<li><a href="http://www.slitaz.org/en/about/">About the project</a></li>
   1.183 +		<li><a href="http://www.slitaz.org/netmap.php">Network Map</a></li>
   1.184 +		<li>Page modified the <?php echo (date( "d M Y", getlastmod())); ?></li>
   1.185 +		<li><a href="http://validator.w3.org/check?uri=referer"><img
   1.186 +		src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
   1.187 +		title="Code validé XHTML 1.0"
   1.188 +		style="width: 80px; height: 15px; vertical-align: middle;" /></a></li>
   1.189 +	</ul>
   1.190  </div>
   1.191  
   1.192  </body>