some stylesheet improvements for the table, also add a bit more border
[ikiwiki.git] / templates / recentchanges.tmpl
index e7d7e10dd9b8a3bb7902307f906ff0de9fb82b9e..250e5de51c450aad8724fcdf0a04db7650360b74 100644 (file)
 </div>
 
 <div id="content">
-<ul>
+<br />
+<table border="1" frame="border" rules="groups">
+<thead>
+       <tr class="changeheader">
+               <th class="changeheader" align="left">user</th>
+               <th class="changeheader" align="left">time</th>
+               <th class="changeheader" align="left" colspan="2">changes</th>
+       </tr>
+</thead>
+<tbody>
 <TMPL_LOOP NAME="CHANGELOG">
-       <li> <!-- <TMPL_VAR NAME="REV"> -->
+       <!-- <TMPL_VAR NAME="REV"> -->
+       <tr class="changeinfo">
+               <td class="changeinfo"><TMPL_VAR NAME="USER"></td>
+               <td class="changetime"><TMPL_VAR NAME="WHEN"></td>
+               <td class="changeinfo">
                <TMPL_LOOP NAME="PAGES">
-                       <TMPL_VAR NAME="LINK">
                        <TMPL_IF NAME="DIFFURL">
-                               (<a href="<TMPL_VAR NAME="DIFFURL">">diff</a>)
+                               <a href="<TMPL_VAR NAME="DIFFURL">">
+                               <img alt="diff" src="wikiicons/diff.png" style="border-style: none" />
+                               </a>
+                               <TMPL_VAR NAME="LINK">
+                       <TMPL_ELSE>
+                               <TMPL_VAR NAME="LINK">
                        </TMPL_IF>
                </TMPL_LOOP>
-               <br />
-               <!-- <TMPL_VAR NAME="COMMITTYPE"> -->
-               changed <TMPL_VAR NAME="WHEN"> by <TMPL_VAR NAME="USER">:
-               <i>
-               <TMPL_LOOP NAME="MESSAGE">
-                       <TMPL_IF NAME="LINE">
-                               <TMPL_VAR NAME="LINE"><br />
-                       </TMPL_IF>
-               </TMPL_LOOP>
-               </i>
-       </li>
+               </td>
+               <td class="changeinfo"><TMPL_VAR NAME="COMMITTYPE"></td>
+       </tr>
+       <tr>
+               <td class="changelog" colspan="4">
+                       <TMPL_LOOP NAME="MESSAGE">
+                               <TMPL_IF NAME="LINE">
+                                       <TMPL_VAR NAME="LINE"><br />
+                               </TMPL_IF>
+                       </TMPL_LOOP>
+               </td>
+       </tr>
 </TMPL_LOOP>
-</ul>
+</tbody>
+</table>
 </div>
 
 <!-- from <TMPL_VAR NAME=WIKINAME> -->