wok-6.x view tazbb/stuff/web/log.php @ rev 8440

Add SRC_WANTED to cups-pam.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 06 04:31:20 2011 +0000 (2011-02-06)
parents 93b7952261f9
children c3d23bc104d3
line source
1 <?php
2 $version='cooking';
3 $wok='wok';
4 if (isset($_GET['stable'])) {
5 $version='stable';
6 $wok='wok-stable';
7 }
8 include("conf.php");
9 ?>
10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
11 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13 <head>
14 <title>Tazbb cooklog <?php echo $_GET['package']; ?></title>
15 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
16 <meta name="description" content="Tazbb web interface cooklog" />
17 <meta name="robots" content="index nofollow" />
18 <link rel="shortcut icon" href="favicon.ico" />
19 <link rel="stylesheet" type="text/css" href="slitaz.css" />
20 </head>
21 <body>
23 <!-- Header -->
24 <div id="header">
25 <a href="http://bb.slitaz.org/"><img id="logo"
26 src="pics/website/logo.png"
27 title="bb.slitaz.org" alt="bb.slitaz.org" /></a>
28 <p id="titre">#!/Build/Bot<?php if ($version == 'stable') echo '/stable'; ?></p>
29 </div>
31 <!-- Content -->
32 <div id="content-full">
34 <!-- Block begin -->
35 <div class="block">
36 <!-- Nav block begin -->
37 <div id="block_nav">
38 <h3><img src="pics/website/development.png" alt="devel.png" />Developers</h3>
39 <ul>
40 <li><a href="http://www.slitaz.org/en/devel/">Website/devel</a></li>
41 <li><a href="http://labs.slitaz.org/">Laboratories</a></li>
42 <li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li>
43 <li><a href="http://people.slitaz.org/">People Stuff</a></li>
44 <li><a href="http://scn.slitaz.org/">Community Network</a></li>
45 </ul>
46 <!-- Nav block end -->
47 </div>
48 <!-- Top block begin -->
49 <div id="block_top">
50 <h1>Cooklog</h1>
51 <p>
52 The BuildBot generated cooklog file to help debug packages
53 and check the build process.
54 </p>
55 <!-- Top block end -->
56 </div>
57 <!-- Block end -->
58 </div>
60 <h2>Search</h2>
62 <p>
63 <form action="log.php" method="get">
64 <input type="text" name="package" />
65 <!-- <input type="submit" value="Show" /> -->
66 <?php
68 if ($_GET['package']) {
69 $pkg = $_GET["package"];
70 if (file_exists("$log_dir/$pkg.log")) {
71 echo " Package $pkg: ";
72 echo '<a href="' . "log/$pkg.log" . '">Raw log</a> ' . "\n";
73 echo '</form></p>';
74 echo '<pre class="log">' . "\n";
75 echo date ("F d Y H:i:s", filemtime("log/$pkg.log"))."\n";
76 include("$log_dir/$pkg.log");
77 echo '</pre>';
78 }
79 else {
80 echo " No log file found for: $pkg";
81 echo '</form></p>';
82 }
83 }
84 else {
85 echo '</form></p>';
86 }
88 ?>
90 <!-- End of content -->
91 </div>
93 <!-- Footer -->
94 <div id="footer">
95 <div class="right_box">
96 <h4>SliTaz Network</h4>
97 <ul>
98 <li><a href="http://www.slitaz.org/">Main Website</a></li>
99 <li><a href="http://doc.slitaz.org/">Documentation</a></li>
100 <li><a href="http://forum.slitaz.org/">Support Forum</a></li>
101 <li><a href="http://scn.slitaz.org/">Community Network</a></li>
102 <li><a href="http://labs.slitaz.org/">Laboratories</a></li>
103 <li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
104 </ul>
105 </div>
106 <h4>SliTaz Website</h4>
107 <ul>
108 <li><a href="#header">Top of the page</a></li>
109 <li>Copyright &copy; <span class="year"></span>
110 <a href="http://www.slitaz.org/">SliTaz</a></li>
111 <li><a href="http://www.slitaz.org/en/about/">About the project</a></li>
112 <li><a href="http://www.slitaz.org/netmap.php">Network Map</a></li>
113 <li>Page modified the <?php echo (date( "d M Y", getlastmod())); ?></li>
114 <li><a href="http://validator.w3.org/check?uri=referer"><img
115 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
116 title="Code validé XHTML 1.0"
117 style="width: 80px; height: 15px; vertical-align: middle;" /></a></li>
118 </ul>
119 </div>
121 </body>
122 </html>