odsreg/scheduling/templates/slotswap.html
Thierry Carrez 56fdefeccd Initial import
Initial import after cleanup.
Previous history lives in https://code.launchpad.net/~ttx/+junk/odsreg
2012-12-20 16:11:01 +01:00

26 lines
899 B
HTML

{% extends "base.html" %}
{% block helppage %}
<p>This screen lets you swap slot positions in your schedule, while keeping slot contents intact.</p>
<p>Just select the slot you want to swap this slot with.</p>
{% endblock %}
{% block content %}
<h2>Swap slot positions</h2>
<form action="/scheduling/swap/{{ oldslot.id }}" method="post">
<p>
{% if title %}
This slot ("{{title}}")
{% else %}
This empty slot
{% endif %}
is currently positioned at {{ oldslot.start_time }}.</p>
<p>Select a new position:
<select name="newslotid">
{% for newslot_time, newslot_id, newslot_title in newslots %}
<option value="{{ newslot_id }}">{{ newslot_time }}
{% if newslot_title %}({{newslot_title}}){% endif%}</option>
{% endfor %}
</select></p>
<input id="toggleButton" class="roundedButton" type="submit" value="Swap" />
<a class=roundedButton href="/scheduling/{{ oldslot.topic.id }}">Cancel</A>
{% endblock %}