/extra/webapps/wiki/revisions.xml

http://github.com/abeaumont/factor · XML · 38 lines · 30 code · 8 blank · 0 comment · 0 complexity · 3433ba72bdb8ded75c420d3889bff867 MD5 · raw file

  1. <?xml version='1.0' ?>
  2. <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
  3. <t:title>Revisions of <t:label t:name="title" /></t:title>
  4. <h2>View Differences</h2>
  5. <t:form t:action="$wiki/diff" t:method="get">
  6. <table>
  7. <tr>
  8. <th class="field-label">Old revision:</th>
  9. <td>
  10. <select name="old-id">
  11. <t:bind-each t:name="revisions">
  12. <option> <t:label t:name="id" /> </option>
  13. </t:bind-each>
  14. </select>
  15. </td>
  16. </tr>
  17. <tr>
  18. <th class="field-label">New revision:</th>
  19. <td>
  20. <select name="new-id">
  21. <t:bind-each t:name="revisions">
  22. <option> <t:label t:name="id" /> </option>
  23. </t:bind-each>
  24. </select>
  25. </td>
  26. </tr>
  27. </table>
  28. <button type="submit">View</button>
  29. </t:form>
  30. </t:chloe>