Commit 9f1d6fdf authored by stef's avatar stef
Browse files

[enh] jzs comments

parent 4c5ebdee
......@@ -43,6 +43,8 @@ table.listing thead td { font-weight: bold; border-bottom: 1px solid black; }
table.listing div.confirm_popup { right: 0; }
div#latest3 div.confirm_popup { left: 0; }
.cell-link { display: block; text-decoration: none; color: #000; }
/* tables */
table.tablesorter {
font-family:arial;
......
......@@ -33,33 +33,25 @@
<table class="listing tablesorter" id='sortedlist'>
<thead>
<tr>
<th filter='false'>{% trans "id" %}</th>
<th filter-type='ddl'>{% trans "country" %}</th>
<th filter-type='ddl'>{% trans "operator" %}</th>
<th filter-type='ddl'>{% trans "contract" %}</th>
<th filter-type='ddl'>{% trans "resource" %}</th>
<th filter-type='ddl'>{% trans "type" %}</th>
<th filter-type='ddl'>{% trans "media" %}</th>
<th filter-type='ddl'>{% trans "temporary" %}</th>
<th filter-type='ddl'>{% trans "contractual" %}</th>
<th filter-type='ddl'>{% trans "loophole" %}</th>
<th filter='false'>{% trans "confirmations" %}</th>
</tr>
</thead>
<tbody>
{% for violation in violations %}
<tr>
<td><a href="/view/{{violation.pk}}">#{{ violation.pk }}</a></td>
<td>{{ violation.country }}</td>
<td>{{ violation.operator }}</td>
<td>{{ violation.contract }}</td>
<td>{{ violation.resource }}</td>
<td>{{ violation.type }}</td>
<td>{{ violation.media }}</td>
<td>{% if violation.temporary %}&#10003;{%else%}&#10007;{%endif%}</td>
<td>{% if violation.contractual %}&#10003;{%else%}&#10007;{%endif%}</td>
<td>{% if violation.loophole %}&#10003;{%else%}&#10007;{%endif%}</td>
<td>{{ violation.confirmations }} <div class="confirm"><a>+1</a>
<td><a class="cell-link" href="/view/{{violation.pk}}">{{ violation.country }}</a></td>
<td><a class="cell-link" href="/view/{{violation.pk}}">{{ violation.operator }}</a></td>
<td><a class="cell-link" href="/view/{{violation.pk}}">{{ violation.contract }}</a></td>
<td><a class="cell-link" href="/view/{{violation.pk}}">{{ violation.resource }}</a></td>
<td><a class="cell-link" href="/view/{{violation.pk}}">{{ violation.type }}</a></td>
<td><a class="cell-link" href="/view/{{violation.pk}}">{{ violation.media }}</a></td>
<td>{{ violation.confirmations }} <div class="confirm"><a>confirm</a>
<div class="hidden confirm_popup">
<h3>Confirmation</h3>
<p>
......
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