wok-4.x view tazbb/stuff/web/log.php @ rev 3512
Add Tazbb (SliTaz Build Bot)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 20 04:41:53 2009 +0200 (2009-06-20) |
parents | |
children | 03ced413517c |
line source
1 <?php
2 include("conf.php");
3 ?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <head>
8 <title>Tazbb cooklog <?php echo $_GET['package']; ?></title>
9 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
10 <meta name="description" content="Tazbb web interface cooklog" />
11 <meta name="robots" content="index nofollow" />
12 <link rel="shortcut icon" href="favicon.ico" />
13 <link rel="stylesheet" type="text/css" href="slitaz.css" />
14 </head>
16 <body bgcolor="#ffffff">
17 <!-- Header -->
18 <div id="header">
19 <a name="top"></a>
20 <!-- Access -->
21 <div id="access">
22 <a href="http://forum.slitaz.org/">Forum</a>
23 <a href="http://wiki.slitaz.org/">Wiki</a>
24 <a href="http://art.slitaz.org/">Art</a>
25 <a href="http://labs.slitaz.org/">Labs</a>
26 <a href="http://pkgs.slitaz.org/">Packages</a>
27 <a href="http://hg.slitaz.org/">Hg</a>
28 </div>
29 <a href="http://bb.slitaz.org/"><img id="logo"
30 src="pics/website/logo.png" title="bb.slitaz.org" alt="bb.slitaz.org"
31 style="border: 0px solid ; width: 200px; height: 74px;" /></a>
32 <p id="titre">#!/bb/packages</p>
33 </div>
35 <!-- Content top. -->
36 <div id="content_top">
37 <div class="top_left"></div>
38 <div class="top_right"></div>
39 </div>
41 <!-- Content -->
42 <div id="content">
44 <h1><font color="#3E1220">Build Bot</font></h1>
45 <h2><font color="#DF8F06">Cooklog</font></h2>
47 <p>
48 <form action="log.php" method="get">
49 Show cooklog: <input type="text" name="package" />
50 <!-- <input type="submit" value="Show" /> -->
51 <?php
53 if ($_GET['package']) {
54 $pkg = $_GET["package"];
55 if (file_exists("$log_dir/$pkg.log")) {
56 echo " Package $pkg: ";
57 echo '<a href="' . "log/$pkg.log" . '">Raw log</a> ' . "\n";
58 echo '</form></p>';
59 echo '<pre class="log">' . "\n";
60 include("$log_dir/$pkg.log");
61 echo '</pre>';
62 }
63 else {
64 echo " No log file found for: $pkg";
65 echo '</form></p>';
66 }
67 }
68 else {
69 echo '</form></p>';
70 }
72 ?>
74 <!-- End of content with round corner -->
75 </div>
76 <div id="content_bottom">
77 <div class="bottom_left"></div>
78 <div class="bottom_right"></div>
79 </div>
81 <!-- Start of footer and copy notice -->
82 <div id="copy">
83 <p>
84 Copyright © 2009 <a href="http://www.slitaz.org/">SliTaz</a> -
85 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
86 </p>
87 <!-- End of copy -->
88 </div>
90 <!-- Bottom and logo's -->
91 <div id="bottom">
92 <p>
93 <a href="http://validator.w3.org/check?uri=referer"><img
94 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
95 title="Code validé XHTML 1.0"
96 style="width: 80px; height: 15px;" /></a>
97 </p>
98 </div>
100 </body>
101 </html>