some stylesheet improvements for the table, also add a bit more border

between items to avoid them running together in some cases
master
joey 2006-07-06 19:50:32 +00:00
parent 89697f2c7a
commit 723ebda476
2 changed files with 24 additions and 12 deletions

View File

@ -31,12 +31,26 @@
} }
/* Stuff for the RecentChanges table. */ /* Stuff for the RecentChanges table. */
.changeheader { tr.changeheader {
background: #eee; background: #eee;
color: black !important; color: black !important;
} }
.changetime { tr.changeinfo {
background: #eee;
color: black !important;
}
th.changeheader {
padding: 1px .3em;
}
td.changeinfo {
padding: 1px .3em;
}
td.changetime {
white-space: nowrap; white-space: nowrap;
padding: 1px .3em;
}
td.changelog {
font-style: italic;
} }
/* Used for adding a blog page. */ /* Used for adding a blog page. */

View File

@ -22,18 +22,18 @@
<table border="1" frame="border" rules="groups"> <table border="1" frame="border" rules="groups">
<thead> <thead>
<tr class="changeheader"> <tr class="changeheader">
<th align="left">user</th> <th class="changeheader" align="left">user</th>
<th align="left">time</th> <th class="changeheader" align="left">time</th>
<th align="left" colspan="2">changes</th> <th class="changeheader" align="left" colspan="2">changes</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<TMPL_LOOP NAME="CHANGELOG"> <TMPL_LOOP NAME="CHANGELOG">
<!-- <TMPL_VAR NAME="REV"> --> <!-- <TMPL_VAR NAME="REV"> -->
<tr class="changeheader"> <tr class="changeinfo">
<td><TMPL_VAR NAME="USER"></td> <td class="changeinfo"><TMPL_VAR NAME="USER"></td>
<td class="changetime"><TMPL_VAR NAME="WHEN"></td> <td class="changetime"><TMPL_VAR NAME="WHEN"></td>
<td> <td class="changeinfo">
<TMPL_LOOP NAME="PAGES"> <TMPL_LOOP NAME="PAGES">
<TMPL_IF NAME="DIFFURL"> <TMPL_IF NAME="DIFFURL">
<a href="<TMPL_VAR NAME="DIFFURL">"> <a href="<TMPL_VAR NAME="DIFFURL">">
@ -45,17 +45,15 @@
</TMPL_IF> </TMPL_IF>
</TMPL_LOOP> </TMPL_LOOP>
</td> </td>
<td><TMPL_VAR NAME="COMMITTYPE"></td> <td class="changeinfo"><TMPL_VAR NAME="COMMITTYPE"></td>
</tr> </tr>
<tr> <tr>
<td colspan="4"> <td class="changelog" colspan="4">
<i>
<TMPL_LOOP NAME="MESSAGE"> <TMPL_LOOP NAME="MESSAGE">
<TMPL_IF NAME="LINE"> <TMPL_IF NAME="LINE">
<TMPL_VAR NAME="LINE"><br /> <TMPL_VAR NAME="LINE"><br />
</TMPL_IF> </TMPL_IF>
</TMPL_LOOP> </TMPL_LOOP>
</i>
</td> </td>
</tr> </tr>
</TMPL_LOOP> </TMPL_LOOP>