SVN: toys/stbr/index.php
sparky
sparky at pld-linux.org
Wed May 16 22:00:43 CEST 2007
Author: sparky
Date: Wed May 16 22:00:38 2007
New Revision: 8566
Modified:
toys/stbr/index.php
Log:
- some XHTML 1.1 fixes
Modified: toys/stbr/index.php
==============================================================================
--- toys/stbr/index.php (original)
+++ toys/stbr/index.php Wed May 16 22:00:38 2007
@@ -8,7 +8,7 @@
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl">
<head>
<title>Send To Builder Requests Logs From IRC</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -18,11 +18,26 @@
body, td { font-family: Verdana; font-size: 9pt }
table { border-collapse: collapse }
td { padding: 6px 15px; border-bottom: 1px solid #ebebe4 }
-thead td, tfoot td { background-color: #ebebe4 }
-thead td { border-bottom: 1px solid #c0c0c0; border-top: 1px solid #c0c0c0; padding: 5px 15px }
-thead td a { color: #000000 }
+.thead td, thead td, tfoot td { background-color: #ebebe4 }
+.thead td, thead td { border-bottom: 1px solid #c0c0c0; border-top: 1px solid #c0c0c0; padding: 5px 15px }
+.thead td a, thead td a { color: #000000 }
tfoot td { border-top: 2px solid #c0c0c0; border-bottom: 1px solid #c0c0c0 }
tfoot td a { display: block; padding: 2px 5px; border: 1px outset; float: left; border: 1px solid #c0c0c0; background-color: #ffffff; color: #000000; text-decoration: none; margin-left: 5px }
+td.branch {
+ width: 150px;
+ color: red;
+}
+#phonebookTable thead tr td div {
+ text-align: center;
+ font-weight: bold;
+}
+.builder, .spec, .status {
+ width: 100px;
+}
+.recip {
+ width: 80px;
+}
+
</style>
</head>
@@ -32,40 +47,38 @@
<table width="400px">
<thead>
-<tr><td width="150px"><b>Importand Info:</b></td></tr>
+<tr><td class="branch"><b>Importand Info:</b></td></tr>
</thead>
<tbody>
-<tr><td width="150px"><font color='red'>th-ready:</font></td>
-<td width="250px">means you requested an upgrade</td></tr>
-<tr><td width="150px"><font color='red'>th-test:</font></td>
-<td width="250px">means you reqested an test-build</td></tr>
+<tr><td class="branch">th-ready</td>
+<td>means you requested an upgrade</td></tr>
+<tr><td class="branch">th-test</td>
+<td>means you reqested an test-build</td></tr>
<tr><td colspan="2">
To see builder status info, mouseover the filled requests</td></tr>
</tbody>
</table>
-<br/>
+
<div id="phonebookTable">
<table>
<thead>
<tr>
-<td><div align="center">Date</div></a></td>
-<td><div align="center">Requester</div></a></td>
-<td><div align="center">Application info</div></a></td>
+<td>Date</td>
+<td>Requester</td>
+<td>Application info</td>
</tr>
</thead>
<tbody id="dataTable">
<tr><td></td><td></td><td align="center">
-<table>
-<thead>
+<table class="thead">
<tr>
-<td width="130px">spec</td>
-<td width="90px">recipient</td>
-<td width="150px">builder</td>
-<td width="150px">queue status</td>
+<td class="spec">spec</td>
+<td class="recip">recipient</td>
+<td class="builder">builder</td>
+<td class="status">queue status</td>
</tr>
-</thead>
</table>
@@ -141,10 +154,10 @@
}
?>
<tr title='<?=$title?>'>
-<td width="100px"><a href="http://cvs.pld-linux.org/cgi-bin/cvsweb/SPECS/<?=$q['aspec']?>"><?=$q['aspec']?></a></td>
-<td width="80px"><a class="mailto"><?=$q['arecipient']?></a></td>
-<td width="100px"><?=$q['builder']?></td>
-<td width="100px">
+<td class="spec"><a href="http://cvs.pld-linux.org/cgi-bin/cvsweb/SPECS/<?=$q['aspec']?>"><?=$q['aspec']?></a></td>
+<td class="recip"><a class="mailto"><?=$q['arecipient']?></a></td>
+<td class="builder"><?=$q['builder']?></td>
+<td class="status">
<?=$info?>
</td>
</tr>
@@ -170,11 +183,12 @@
</div>
<div align="right">
-<img src="http://pl.docs.pld-linux.org/zrzuty_ekr/logo_03.png"/>
+<img src="http://pl.docs.pld-linux.org/zrzuty_ekr/logo_03.png" alt="PLD" />
</div>
<script type="text/javascript">
-/* fill href of <a>s with class="mailto" */
+<![CDATA[
+/* fill href of As with class="mailto" */
(function replace_mailto()
{
@@ -184,6 +198,7 @@
as[i].href = "mailto:" + as[i].innerHTML + "@" + "pld-linux.org";
}
}) ();
+]]>
</script>
</body>
More information about the pld-cvs-commit
mailing list