Some more style work for application projector template.
This commit is contained in:
parent
e28c15eff9
commit
eb7672074e
@ -24,20 +24,16 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p><b>{% trans "Submitter" %}:</b><br>
|
||||
{{ application.submitter.profile }}
|
||||
</p>
|
||||
|
||||
{% with application.polls as polls %}
|
||||
{% if polls.exists and polls.0.has_votes %}
|
||||
<p><b>{% trans "Poll result" %}:</b><br>
|
||||
{% for poll in polls %}
|
||||
{% if poll.has_votes %}
|
||||
{% if polls|length > 1 %}
|
||||
{{forloop.counter}}. {% trans "Vote" %}:<br>
|
||||
{{forloop.counter}}. {% trans "Vote" %}:
|
||||
{% endif %}
|
||||
{% with poll.get_options.0 as option %}
|
||||
<div class="results" style="font-size: 120%;">
|
||||
<div class="results">
|
||||
<img src="{% static 'images/icons/voting-yes.png' %}" title="{% trans 'Yes' %}"> {{ option.Yes }} <br>
|
||||
<img src="{% static 'images/icons/voting-no.png' %}" title="{% trans 'No' %}"> {{ option.No }} <br>
|
||||
<img src="{% static 'images/icons/voting-abstention.png' %}" title="{% trans 'Abstention' %}"> {{ option.Abstain }}<br>
|
||||
@ -55,6 +51,10 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<p><b>{% trans "Submitter" %}:</b><br>
|
||||
{{ application.submitter.profile }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -138,6 +138,11 @@ body{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.box .results {
|
||||
font-size: 120%;
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
/*** Items *** /
|
||||
/* item title centered */
|
||||
.item_fullscreen
|
||||
|
Loading…
Reference in New Issue
Block a user