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