Skip to content

Commit 846ba5b

Browse files
committed
Summary: Facelift undefer ballot page
- Legacy-Id: 8933
1 parent d7b4ef6 commit 846ba5b

3 files changed

Lines changed: 23 additions & 16 deletions

File tree

ietf/templates/doc/ballot/defer_ballot.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "ietf.html" %}
22

3+
{% load bootstrap3 %}
4+
35
{% block title %}Defer ballot for {{ doc }}{% endblock %}
46

57
{% block content %}
@@ -13,10 +15,10 @@ <h1>Defer ballot<br><small>{{ doc }}</small></h1>
1315
The ballot will then be put on the IESG agenda of {{ telechat_date }}.
1416
</p>
1517

16-
<div class="buttonlist">
17-
<input type="submit" class="btn btn-danger" value="Defer ballot">
18-
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
19-
</div>
18+
{% buttons %}
19+
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
20+
<button type="submit" class="btn btn-danger">Defer ballot</button>
21+
{% endbuttons %}
2022
</form>
2123

2224
{% endblock %}
Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
{% extends "base.html" %}
1+
{% extends "ietf.html" %}
2+
3+
{% load bootstrap3 %}
24

35
{% block title %}Undefer ballot for {{ doc }}{% endblock %}
46

57
{% block content %}
6-
<h1>Undefer ballot for {{ doc }}</h1>
8+
<h1>Undefer ballot<br><small>{{ doc }}</small></h1>
79

8-
<form class="undefer" action="" method="post">{% csrf_token %}
9-
<p>Undefer the ballot for {{ doc.file_tag }}?</p>
10-
11-
<p>The ballot will then be on the IESG agenda of {{ telechat_date }}.</p>
10+
<form role="form" class="undefer" method="post">
11+
{% csrf_token %}
12+
<p class="alert alert-danger">
13+
<b>Undefer the ballot for {{ doc }}?</b>
14+
<br>
15+
The ballot will then be put on the IESG agenda of {{ telechat_date }}.
16+
</p>
1217

13-
<div class="actions">
14-
<a href="{{ back_url }}">Back</a>
15-
<input type="submit" value="Undefer ballot"/>
16-
</div>
17-
</form>
18+
{% buttons %}
19+
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
20+
<button class="btn btn-danger" type="submit">Undefer ballot</button>
21+
{% endbuttons %}
22+
</form>
1823
{% endblock %}

ietf/templates/doc/charter/change_title.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% block content %}
88
<h1>{{ title }}</h1>
99

10-
<form class="change-title" method="post">{% csrf_token %}
10+
<form role="form" class="change-title" method="post">{% csrf_token %}
1111
{% bootstrap_form form %}
1212

1313
{% buttons %}

0 commit comments

Comments
 (0)