]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/wiki/revisions.xml
Merge branch 'master' of factorcode.org:/git/factor
[factor.git] / extra / webapps / wiki / revisions.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:title>Revisions of <t:label t:name="title" /></t:title>
6
7         <ul>
8                 <t:each-tuple t:values="revisions">
9                         <li>
10                                 <t:a t:href="revision" t:query="id"><t:label t:name="date" /></t:a>
11                                 by
12                                 <t:a t:href="user-edits" t:query="author"><t:label t:name="author" /></t:a>
13                         </li>
14                 </t:each-tuple>
15         </ul>
16
17         <h2>View Differences</h2>
18
19         <form action="diff" method="get">
20                 <table>
21                         <tr>
22                                 <th class="field-label">Old revision:</th>
23                                 
24                                 <td>
25                                         <select name="old-id">
26                                                 <t:each-tuple t:values="revisions">
27                                                         <option> <t:label t:name="id" /> </option>
28                                                 </t:each-tuple>
29                                         </select>
30                                 </td>
31                         </tr>
32                         <tr>
33                                 <th class="field-label">New revision:</th>
34                                 
35                                 <td>
36                                         <select name="new-id">
37                                                 <t:each-tuple t:values="revisions">
38                                                         <option> <t:label t:name="id" /> </option>
39                                                 </t:each-tuple>
40                                         </select>
41                                 </td>
42                         </tr>
43                 </table>
44
45                 <input type="submit" value="View" />
46         </form>
47
48 </t:chloe>