blob: ce33d6485d1b9319a7c13b35675fd9c8df2eb1fa [file] [log] [blame]
{% extends base_layout %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
{% block stylesheets %}
{{ block.super }}
<link rel="stylesheet" type="text/css" media="screen" href="/{{ css_path }}/forms.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/{{ css_path }}/uniform.default.css" />
{% endblock stylesheets %}
{% block page_content %}
<div id="connection-summary" class="block full home-block-1">
<h2 id="connection-summary-title">Slot Allocation</h2>
{% include 'summerofcode/connection/_connection_summary.html' %}
</div>
<div id="actions" class="block full home-block-1">
<h2 id="actions-title">Slot transfer</h2>
{% if slot_transfers %}
<div class="project-comment-container">
<div class="slot-transfer-title">Existing slot transfer requests</div>
<div class="project-comment-box project-comment-private-container">
{% for slot_transfer in slot_transfers %}
{{ slot_transfer.render }}
{% endfor %}
</div>
</div>
{% endif %}
{% if slot_transfer_form %}
<form action="#" method="post" class="form-register">
<div class="slot-transfer-title">Initiate a new slot transfer</div>
{{ slot_transfer_form.render }}
<div class="row row-buttons">
<input value="Submit" class="submit" type="submit" name="{{ slot_transfer_form.name }}">
</div>
</form>
{% endif %}
</div>
{% endblock %}
{% block dependencies %}
[
dep.uniform,
dep.melange.main,
dep.jqueryui,
null,
tc("/summerofcode/content/{{ app_version }}/js/templates/slot_allocation/slot_allocation_details.js")
]
{% endblock dependencies %}