PageRenderTime 52ms CodeModel.GetById 48ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 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	<h2>View Differences</h2>
 8
 9	<t:form t:action="$wiki/diff" t:method="get">
10		<table>
11			<tr>
12				<th class="field-label">Old revision:</th>
13				
14				<td>
15					<select name="old-id">
16						<t:bind-each t:name="revisions">
17							<option> <t:label t:name="id" /> </option>
18						</t:bind-each>
19					</select>
20				</td>
21			</tr>
22			<tr>
23				<th class="field-label">New revision:</th>
24				
25				<td>
26					<select name="new-id">
27						<t:bind-each t:name="revisions">
28							<option> <t:label t:name="id" /> </option>
29						</t:bind-each>
30					</select>
31				</td>
32			</tr>
33		</table>
34
35		<button type="submit">View</button>
36	</t:form>
37
38</t:chloe>