Skip to content

Commit 1e8647d

Browse files
committed
Summary: Move submit button on diff form up so it's next to the diff
format option - Legacy-Id: 9090
1 parent 93ee2e6 commit 1e8647d

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

ietf/templates/doc/document_history.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
{% block title %}History for {{ doc.name }}-{{ doc.rev }}{% endblock %}
66

7+
{% block morecss %}
8+
form.diff-form button[type=submit] { margin-left: 2em; }
9+
{% endblock %}
10+
711
{% block pagehead %}
812
<link rel="alternate" type="application/atom+xml" href="/feed/document-changes/{{ doc.name }}/" />
913
{% endblock %}
@@ -14,7 +18,7 @@
1418
{% if diff_revisions and diff_revisions|length > 1 %}
1519
<h2>Revision differences</h2>
1620

17-
<form class="form-horizontal" role="form" action="{{rfcdiff_prefix}}" method="get" target="_blank">
21+
<form class="form-horizontal diff-form" role="form" action="{{rfcdiff_prefix}}" method="get" target="_blank">
1822

1923
<div class="form-group">
2024
<div class="col-sm-2 ">
@@ -66,17 +70,12 @@ <h2>Revision differences</h2>
6670
<label class="btn btn-default">
6771
<input type="radio" name="difftype" value="--hwdiff"> Wdiff
6872
</label>
69-
</div>
70-
</div>
71-
</div>
73+
</div>
7274

73-
<div class="form-group">
74-
<div class="col-sm-offset-2 col-sm-10">
75-
<button type="submit" class="btn btn-primary">Submit</button>
75+
<button type="submit" class="btn btn-primary">Submit</button>
7676
</div>
7777
</div>
78-
79-
</form>
78+
</form>
8079
{% endif %}
8180

8281
<h2>Document history</h2>

0 commit comments

Comments
 (0)