root/tags/rel0_58/templates/differences.tt

Revision 849, 0.9 kB (checked in by dom, 2 years ago)

Tidies up various template bugs (closes #132, #133)

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1[% INCLUDE header.tt %]
2[% INCLUDE banner.tt %]
3<div id="content">
4[% INCLUDE navbar.tt %]
5<div id="maincontent">
6  <h1>
7  [% site_name %] - Differences between [% right_version %] and [% left_version %] of <span class="node_name">[% node_name %]</span>
8  </h1>
9[% IF diff %]
10<table>
11  <tr>
12    <th width=50%> [% right_version %] </th>
13    <th width=50%> [% left_version %] </th>
14  </tr>
15[% FOREACH hunk = diff %]
16  <tr>
17    <td>[% hunk.right %]</td>
18    <td>[% hunk.left %]</td>
19  </tr>
20[% END %]
21</table><hr>
22[% ELSE %]
23  <h3>Contents are identical</h3>
24[% END %]
25
26[% INCLUDE display_metadata.tt %]
27
28[% content %]
29
30<br clear="all" />
31
32<a href="[% cgi_url %]?action=list_all_versions;id=[% node_param %]">List all versions</a><br />
33
34<p>
35<form action="search.cgi" method="get">
36  <input type="text" size="50" name="search" />
37  <input type="submit" name="Go" value="Search" class="form_button" />
38</form>
39</p>
40</div>
41[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the browser.