Commit 95245d8c authored by Hinrikus Wolf's avatar Hinrikus Wolf

do some facelifting

parent 3e0948bd
......@@ -35,9 +35,30 @@
{% for statement in topic.sorted_statements() %}
{% if statement.is_meta %}
<tr class="mdl-color--red mdl-color-text--white">
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td>
<td class="mdl-data-table__cell">{{ statement.speaker.count(statement.topic) }}</td>
<td class="mdl-data-table__cell--non-numeric">
<a href="{{ url_for(".statement_done", id=statement.id, topic_id=topic.id) }}">
<i class="material-icons" style="color:white;">done</i>
</a>
</td>
<td class="mdl-data-table__cell--non-numeric">
<a href="{{ url_for(".speaker_edit", id=statement.speaker.id, topic_id=topic.id) }}">
<i class="material-icons" style="color:white;">edit</i>
</a>
</td>
<td class="mdl-data-table__cell--non-numeric">
<a href="{{ url_for('.statement_delete', id=statement.id, topic_id=topic.id) }}">
<i class="material-icons" style="color:white;">cancel</i>
</a>
</td>
</tr>
{% else %}
<tr>
{% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td>
<td class="mdl-data-table__cell">{{ statement.speaker.count(statement.topic) }}</td>
<td class="mdl-data-table__cell--non-numeric">
......@@ -56,8 +77,9 @@
<i class="material-icons">cancel</i>
</a>
</td>
</tr>
{% endfor %}
</tr >
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
......
......@@ -25,12 +25,19 @@
</tr>
{% for statement in event.get_current_topic().sorted_statements() %}
{% if statement.is_meta %}
<tr class="rede-table-bg-red">
<tr class="mdl-color--red mdl-color-text--white">
{% else %}
<tr>
{% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td>
<td class="mdl-data-table__cell">{{ statement.speaker.count(event.get_current_topic()) }}</td>
<td class="mdl-data-table__cell">
{% if statement.is_meta %}
META
{% else %}
{{ statement.speaker.count(event.get_current_topic()) }}
{% endif %}
</td>
</tr>
{% endfor %}
{% else %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment