]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/webapps/wiki/revisions-common.xml
webapps.wiki: simplify and fix table layouts
[factor.git] / extra / webapps / wiki / revisions-common.xml
index 1a6c8e467311b4732f3cb56c16d40d3181ed2c8a..4c5f7acf2d1579112a754d5afcb068f935d8464a 100644 (file)
@@ -2,31 +2,27 @@
 
 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 
-       <div class="revisions">
-
-               <table>
-
-                       <tr>
-                               <th>Article</th>
-                               <th>Date</th>
-                               <th>By</th>
-                               <th>Description</th>
-                               <th>Rollback</th>
-                       </tr>
-
-                       <t:bind-each t:name="revisions">
-                               <tr>
-                                       <td> <t:a t:href="$wiki/view" t:rest="title"><t:label t:name="title" /></t:a> </td>
-                                       <td> <t:a t:href="$wiki/revision" t:rest="id" rel="nofollow"><t:label t:name="date" /></t:a> </td>
-                                       <td> <t:a t:href="$wiki/user-edits" t:rest="author"><t:label t:name="author" /> </t:a></td>
-                                       <td> <t:label t:name="description" /> </td>
-                                       <td> <t:button class="link link-button" t:action="$wiki/rollback" t:for="id">Rollback</t:button> </td>
-                               </tr>
-                       </t:bind-each>
-
-               </table>
-
-       </div>
+    <table class="revisions">
+
+        <tr>
+            <th>Article</th>
+            <th>Date</th>
+            <th>By</th>
+            <th>Description</th>
+            <th>Rollback</th>
+        </tr>
+
+        <t:bind-each t:name="revisions">
+            <tr>
+                <td> <t:a t:href="$wiki/view" t:rest="title"><t:label t:name="title" /></t:a> </td>
+                <td> <t:a t:href="$wiki/revision" t:rest="id" rel="nofollow"><t:label t:name="date" /></t:a> </td>
+                <td> <t:a t:href="$wiki/user-edits" t:rest="author"><t:label t:name="author" /> </t:a></td>
+                <td> <t:label t:name="description" /> </td>
+                <td> <t:button class="link link-button" t:action="$wiki/rollback" t:for="id">Rollback</t:button> </td>
+            </tr>
+        </t:bind-each>
+
+    </table>
 
        <t:call-next-template />