Rework buttons on secr/meetings. Fixes #2629. Commit ready for merge.

- Legacy-Id: 15717
This commit is contained in:
Ryan Cross 2018-11-05 05:45:33 +00:00
parent a47fba833f
commit 44b01c6404

View file

@ -14,24 +14,26 @@
{% block content %}
<div class="module">
<h2>Meeting Manager</h2>
<div class="inline-related">
<h3><b>Select a meeting to manage</b></h3>
<br>
<form action="" method="post">{% csrf_token %}
<p>
{{ form }}
<input type="submit" value="Select" />
</p>
</form>
<h2>Meeting Manager<span class="unlocked"><a href="{% url 'ietf.secr.meetings.views.add' %}" class="addlink">Add</a></span></h2>
<div class="inline-related">
<h3><b>Select a meeting to manage</b></h3>
</div> <!-- inline-related -->
<div class="button-group">
<ul id="proceedings-interim-buttons">
<li><button onclick="window.location='{% url "ietf.secr.meetings.views.add" %}'">Create New Meeting</button></li>
</ul>
</div> <!-- button-group -->
<br>
<p>
Quicklinks:
{% for meeting in meetings|slice:":5" %}
<a href="{% url "ietf.secr.meetings.views.view" meeting_id=meeting.number %}">{{ meeting.number }}</a>
{% endfor %}
</p>
<br>
<form action="" method="post">{% csrf_token %}
<p>
{{ form }}
<input type="submit" value="Select" />
</p>
</form>
</div> <!-- inline-related -->
</div> <!-- module -->
{% endblock %}