| {% 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">Connection Summary</h2> |
| {% include 'summerofcode/connection/_connection_summary.html' %} |
| </div> |
| |
| <div id="actions" class="block full home-block-1"> |
| <h2 id="actions-title">Actions</h2> |
| <form action="#" method="post" class="form-register"> |
| {{ actions_form.render }} |
| <div class="row row-buttons"> |
| <input value="Submit" class="submit" type="submit" name="{{ actions_form.name }}"> |
| </div> |
| </form> |
| </div> |
| |
| <div id="actions" class="block full home-block-1"> |
| <h2 id="actions-title">Messages</h2> |
| <div class="project-comment-container"> |
| <div class="project-comment-box project-comment-private-container"> |
| {% for message in messages %} |
| <div class="project-comment-single"> |
| <p class="project-comment-meta"> |
| <strong> |
| {% if message.is_auto_generated %} |
| Autogenerated |
| {% else %} |
| {{ message.getAuthor }} |
| {% endif %} |
| </strong> |
| <a href="#c{{ message.key.id }}">{{ message.created }}</a> |
| </p> |
| {% if message.is_auto_generated %} |
| {{ message.content|safe }} |
| {% else %} |
| {{ message.content }} |
| {% endif %} |
| </div> |
| |
| {% endfor %} |
| </div> |
| </div> |
| |
| <form action="#" method="post" class="form-register"> |
| {{ message_form.render }} |
| <div class="row button-row"> |
| <input type="submit" value="Send" class="submit" name="{{ message_form.name }}"/> |
| </div> |
| </form> |
| </div> |
| |
| {% endblock %} |
| |
| {% block dependencies %} |
| [ |
| dep.uniform, |
| null, |
| tc("/soc/content/{{ app_version }}/js/templates/modules/gci/connection/connection.js", { |
| 'mark_as_seen_url': '{{ mark_as_seen_url }}' |
| }), |
| ] |
| {% endblock %} |