35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<div class="ietf-box diffTool">
|
|
<h2 style="margin-top:0;margin-bottom:4px;">Diffs</h2>
|
|
<form action="http{% if request.is_secure %}s{% endif %}://tools.ietf.org/rfcdiff" method="get" target="_blank" style="margin:0;">
|
|
<table>
|
|
<tr><td>
|
|
<label>From:</label> <select name="url1">
|
|
{% for c in versions %}
|
|
<option value="{{ charter_text_url }}{{c.name}}-{{c.rev}}.txt" {% ifequal forloop.counter 2 %} selected="selected" {% endifequal %}>{{c.name}}-{{c.rev}} ({{c.date}})</option>
|
|
{% endfor %}
|
|
</select>
|
|
</td>
|
|
<td rowspan="2" valign="top">
|
|
Format:
|
|
<select name="difftype">
|
|
<option value="--html" selected="selected">Side-by-side</option>
|
|
<option value="--abdiff">Before-after</option>
|
|
<option value="--chbars">Change bars</option>
|
|
<option value="--hwdiff">Wdiff</option>
|
|
</select> <input name="submit" value="Go!" type="submit" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label>To:</label>
|
|
<select name="url2">
|
|
{% for c in versions %}
|
|
<option value="{{ charter_text_url }}{{c.name}}-{{c.rev}}.txt" {% ifequal forloop.counter 1 %} selected="selected" {% endifequal %}>{{c.name}}-{{c.rev}} ({{c.date}})</option>
|
|
{% endfor %}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|