symposion_app/pinaxcon/templates/symposion/reviews/review_review.html
Sachi King 1886323d74 Bootstrapification
Boot custom CSS, and put some base, standard css in its place.
Shame I did not start with fresh Bootstrap4, but oh well.

Some more templates could be made to make this less messy, which would
be good.
2017-04-16 16:30:45 +10:00

84 lines
2.3 KiB
HTML

{% extends "site_base.html" %}
{% load staticfiles %}
{% block extra_style %}
<link rel="stylesheet" href="{% static 'css/site-0a247b924d.css' %}">
{% endblock %}
{% load bootstrap %}
{% block body_class %}review{% endblock %}
{% block body %}
<div class="l-content-page">
<div class="l-content-page--richtext">
<div class="rich-text">
<h1>Proposal Review</h1>
<div class="proposal">
<h2>{{ proposal.title }}</h2>
<p>
{% if proposal.cancelled %}
Cancelled
{% endif %}
</p>
<div>
{{ proposal.description }}
</div>
<p><b>Type</b>: {{ proposal.get_session_type_display }}</p>
<h3>Abstract</h3>
<div class="abstract">
{{ proposal.abstract_html|safe }}
</div>
<p><b>Audience level</b>: {{ proposal.get_audience_level_display }}</p>
<p><b>Submitting speaker</b>: {{ proposal.speaker }}</p> {# @@@ bio? #}
{% if proposal.additional_speakers.all %}
<p><b>Additional speakers</b>:</p>
<ul>
{% for speaker in proposal.additional_speakers.all %}
{% if speaker.user %}
<li><b>{{ speaker.name }}</b> &mdash; {{ speaker.email }}</li>
{% else %}
<li>{{ speaker.email }} &mdash; pending invitation</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
<h3>Additional Notes (private from submitter)</h3>
<div class="additional_notes">
{{ proposal.additional_notes }}
</div>
</div>
<h2>Review</h2>
<form method="POST" action="{% url "review_review" proposal.pk %}" class="form form-horizontal">
{% csrf_token %}
<fieldset class="inlineLabels">
{{ review_form|bootstrap }}
<div class="form_block">
<input type="submit" value="Submit" />
</div>
</fieldset>
</form>
<h2>Comment</h2>
<form method="POST" action="{% url "review_comment" proposal.pk %}" class="form form-horizontal">
{% csrf_token %}
<fieldset>
{{ comment_form|bootstrap }}
<div class="form_block">
<input type="submit" value="Submit" />
</div>
</fieldset>
</form>
</div></div></div>
{% endblock %}