Commit a307a16d authored by stef's avatar stef
Browse files

[fix] moved +1 next to counter

parent 7ba619a1
...@@ -56,7 +56,7 @@ table.listing div.confirm_popup { right: 0; text-align: right; } ...@@ -56,7 +56,7 @@ table.listing div.confirm_popup { right: 0; text-align: right; }
.cell-link { display: block; text-decoration: none; color: #000; } .cell-link { display: block; text-decoration: none; color: #000; }
.float-confirm { position: absolute; top: 1em; width: 360px; z-index: 99; } .float-confirm { position: absolute; top: 1em; width: 360px; z-index: 99; right: 0px;}
.alpha60 { .alpha60 {
/* Fallback for web browsers that doesn't support RGBa */ /* Fallback for web browsers that doesn't support RGBa */
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<script type="text/javascript" src="{%media_url%}/js/picnet.table.filter.min.js"></script> <script type="text/javascript" src="{%media_url%}/js/picnet.table.filter.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$("#sortedlist").tablesorter({ headers: { 0: { sorter: false }, 8: { sorter: false }, }}); $("#sortedlist").tablesorter({ headers: { 7: { sorter: false }, }});
$('#sortedlist').tableFilter(); $('#sortedlist').tableFilter();
$('.confirm_form').submit(function() { $('.confirm_form').submit(function() {
var self=this; var self=this;
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
<table class="listing tablesorter" id='sortedlist'> <table class="listing tablesorter" id='sortedlist'>
<thead> <thead>
<tr> <tr>
<th filter='false'></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>
...@@ -47,11 +46,19 @@ ...@@ -47,11 +46,19 @@
<th filter-type='ddl'>{% trans "type" %}</th> <th filter-type='ddl'>{% trans "type" %}</th>
<th filter-type='ddl'>{% trans "fixed / wireless" %}</th> <th filter-type='ddl'>{% trans "fixed / wireless" %}</th>
<th filter='false'>{% trans "confirmations" %}</th> <th filter='false'>{% trans "confirmations" %}</th>
<th filter='false'></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for violation in violations %} {% for violation in violations %}
<tr> <tr>
<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 }}</td>
<td> <td>
<div class="confirm"><a class="button">+1</a> <div class="confirm"><a class="button">+1</a>
<div class="info-validate float-confirm"> <div class="info-validate float-confirm">
...@@ -64,13 +71,6 @@ ...@@ -64,13 +71,6 @@
</form> </form>
</div> </div>
</td> </td>
<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 }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
......
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