wok-current annotate tazbb/stuff/web/log.php @ rev 5094

tazbb: sync CSS and update page
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 15 21:49:59 2010 +0100 (2010-03-15)
parents 03ced413517c
children 93b7952261f9
rev   line source
pankso@3512 1 <?php
pankso@3512 2 include("conf.php");
pankso@3512 3 ?>
pankso@3512 4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
pankso@3512 5 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
pankso@3512 6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
pankso@3512 7 <head>
pankso@3512 8 <title>Tazbb cooklog <?php echo $_GET['package']; ?></title>
pankso@3512 9 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
pankso@3512 10 <meta name="description" content="Tazbb web interface cooklog" />
pankso@3512 11 <meta name="robots" content="index nofollow" />
pankso@3512 12 <link rel="shortcut icon" href="favicon.ico" />
pankso@3512 13 <link rel="stylesheet" type="text/css" href="slitaz.css" />
pankso@3512 14 </head>
pankso@3512 15
pankso@3512 16 <body bgcolor="#ffffff">
pankso@3512 17 <!-- Header -->
pankso@3512 18 <div id="header">
pankso@3512 19 <a name="top"></a>
pankso@3512 20 <a href="http://bb.slitaz.org/"><img id="logo"
pankso@3512 21 src="pics/website/logo.png" title="bb.slitaz.org" alt="bb.slitaz.org"
pankso@3512 22 style="border: 0px solid ; width: 200px; height: 74px;" /></a>
pankso@3512 23 <p id="titre">#!/bb/packages</p>
pankso@3512 24 </div>
pankso@3512 25
pankso@5094 26 <!-- Navigation menu -->
pankso@5094 27 <div id="nav">
pankso@5094 28
pankso@5094 29 <div class="nav_box">
pankso@5094 30 <h4>SliTaz Network</h4>
pankso@5094 31 <ul>
pankso@5094 32 <li><a href="http://www.slitaz.org/">Main Website</a></li>
pankso@5094 33 <li><a href="http://doc.slitaz.org/">Documentation</a></li>
pankso@5094 34 <li><a href="http://forum.slitaz.org/">Community Forum</a></li>
pankso@5094 35 <li><a href="http://labs.slitaz.org/">SliTaz Labs</a></li>
pankso@5094 36 <li><a href="http://pkgs.slitaz.org/">Packages Database</a></li>
pankso@5094 37 <li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
pankso@5094 38 <li><a href="http://www.distrowatch.com/slitaz">SliTaz on DistroWatch</a></li>
pankso@5094 39 </ul>
pankso@5094 40 </div>
pankso@5094 41
pankso@5094 42 <div class="nav_box">
pankso@5094 43 <h4>SliTaz Developers</h4>
pankso@5094 44 <ul>
pankso@5094 45 <li><a href="http://hg.slitaz.org/">Hg Repositories</a></li>
pankso@5094 46 <li><a href="http://tank.slitaz.org/">Tank Server</a></li>
pankso@5094 47 <li><a href="http://people.slitaz.org/">People Stuff</a></li>
pankso@5094 48 <li><a href="http://labs.slitaz.org/wiki/distro">Distro Wiki</a></li>
pankso@5094 49 </ul>
pankso@5094 50 </div>
pankso@5094 51
pankso@5094 52 <!-- End navigation menu -->
pankso@3512 53 </div>
pankso@3512 54
pankso@3512 55 <!-- Content -->
pankso@3512 56 <div id="content">
pankso@3512 57
pankso@3512 58 <h1><font color="#3E1220">Build Bot</font></h1>
pankso@3512 59 <h2><font color="#DF8F06">Cooklog</font></h2>
pankso@3512 60
pankso@3512 61 <p>
pankso@3512 62 <form action="log.php" method="get">
pankso@3512 63 Show cooklog: <input type="text" name="package" />
pankso@3512 64 <!-- <input type="submit" value="Show" /> -->
pankso@3512 65 <?php
pankso@3512 66
pankso@3512 67 if ($_GET['package']) {
pankso@3512 68 $pkg = $_GET["package"];
pankso@3512 69 if (file_exists("$log_dir/$pkg.log")) {
pankso@3512 70 echo " Package $pkg: ";
pankso@3512 71 echo '<a href="' . "log/$pkg.log" . '">Raw log</a> ' . "\n";
pankso@3512 72 echo '</form></p>';
pankso@3512 73 echo '<pre class="log">' . "\n";
pascal@3541 74 echo date ("F d Y H:i:s", filemtime("log/$pkg.log"))."\n";
pankso@3512 75 include("$log_dir/$pkg.log");
pankso@3512 76 echo '</pre>';
pankso@3512 77 }
pankso@3512 78 else {
pankso@3512 79 echo " No log file found for: $pkg";
pankso@3512 80 echo '</form></p>';
pankso@3512 81 }
pankso@3512 82 }
pankso@3512 83 else {
pankso@3512 84 echo '</form></p>';
pankso@3512 85 }
pankso@3512 86
pankso@3512 87 ?>
pankso@3512 88
pankso@3512 89 <!-- End of content with round corner -->
pankso@3512 90 </div>
pankso@3512 91
pankso@3512 92 <!-- Start of footer and copy notice -->
pankso@3512 93 <div id="copy">
pankso@3512 94 <p>
pankso@5094 95 Copyright &copy; 2010 <a href="http://www.slitaz.org/">SliTaz</a> -
pankso@3512 96 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
pankso@3512 97 </p>
pankso@3512 98 <!-- End of copy -->
pankso@3512 99 </div>
pankso@3512 100
pankso@3512 101 <!-- Bottom and logo's -->
pankso@3512 102 <div id="bottom">
pankso@3512 103 <p>
pankso@3512 104 <a href="http://validator.w3.org/check?uri=referer"><img
pankso@3512 105 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
pankso@3512 106 title="Code validé XHTML 1.0"
pankso@3512 107 style="width: 80px; height: 15px;" /></a>
pankso@3512 108 </p>
pankso@3512 109 </div>
pankso@3512 110
pankso@3512 111 </body>
pankso@3512 112 </html>