Summary: Facelift undefer ballot page

- Legacy-Id: 8933
This commit is contained in:
Ole Laursen 2015-01-28 09:49:42 +00:00
parent d7b4ef6ac4
commit 846ba5bb87
3 changed files with 23 additions and 16 deletions

View file

@ -1,5 +1,7 @@
{% extends "ietf.html" %}
{% load bootstrap3 %}
{% block title %}Defer ballot for {{ doc }}{% endblock %}
{% block content %}
@ -13,10 +15,10 @@
The ballot will then be put on the IESG agenda of {{ telechat_date }}.
</p>
<div class="buttonlist">
<input type="submit" class="btn btn-danger" value="Defer ballot">
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
</div>
{% buttons %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
<button type="submit" class="btn btn-danger">Defer ballot</button>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -1,18 +1,23 @@
{% extends "base.html" %}
{% extends "ietf.html" %}
{% load bootstrap3 %}
{% block title %}Undefer ballot for {{ doc }}{% endblock %}
{% block content %}
<h1>Undefer ballot for {{ doc }}</h1>
<h1>Undefer ballot<br><small>{{ doc }}</small></h1>
<form class="undefer" action="" method="post">{% csrf_token %}
<p>Undefer the ballot for {{ doc.file_tag }}?</p>
<p>The ballot will then be on the IESG agenda of {{ telechat_date }}.</p>
<form role="form" class="undefer" method="post">
{% csrf_token %}
<p class="alert alert-danger">
<b>Undefer the ballot for {{ doc }}?</b>
<br>
The ballot will then be put on the IESG agenda of {{ telechat_date }}.
</p>
<div class="actions">
<a href="{{ back_url }}">Back</a>
<input type="submit" value="Undefer ballot"/>
</div>
</form>
{% buttons %}
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
<button class="btn btn-danger" type="submit">Undefer ballot</button>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -7,7 +7,7 @@
{% block content %}
<h1>{{ title }}</h1>
<form class="change-title" method="post">{% csrf_token %}
<form role="form" class="change-title" method="post">{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}