Skip to content
Snippets Groups Projects
Commit 95245d8c authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

do some facelifting

parent 3e0948bd
Branches
No related tags found
No related merge requests found
...@@ -35,9 +35,30 @@ ...@@ -35,9 +35,30 @@
{% for statement in topic.sorted_statements() %} {% for statement in topic.sorted_statements() %}
{% if statement.is_meta %} {% if statement.is_meta %}
<tr class="mdl-color--red mdl-color-text--white"> <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 %} {% else %}
<tr> <tr>
{% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td> <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">{{ statement.speaker.count(statement.topic) }}</td>
<td class="mdl-data-table__cell--non-numeric"> <td class="mdl-data-table__cell--non-numeric">
...@@ -57,6 +78,7 @@ ...@@ -57,6 +78,7 @@
</a> </a>
</td> </td>
</tr > </tr >
{% endif %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
......
...@@ -25,12 +25,19 @@ ...@@ -25,12 +25,19 @@
</tr> </tr>
{% for statement in event.get_current_topic().sorted_statements() %} {% for statement in event.get_current_topic().sorted_statements() %}
{% if statement.is_meta %} {% if statement.is_meta %}
<tr class="rede-table-bg-red"> <tr class="mdl-color--red mdl-color-text--white">
{% else %} {% else %}
<tr> <tr>
{% endif %} {% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td> <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> </tr>
{% endfor %} {% endfor %}
{% else %} {% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment