Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
a307a16d
Commit
a307a16d
authored
Sep 22, 2011
by
stef
Browse files
[fix] moved +1 next to counter
parent
7ba619a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
media/css/style.css
View file @
a307a16d
...
...
@@ -56,7 +56,7 @@ table.listing div.confirm_popup { right: 0; text-align: right; }
.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
{
/* Fallback for web browsers that doesn't support RGBa */
...
...
templates/list.html
View file @
a307a16d
...
...
@@ -9,7 +9,7 @@
<script
type=
"text/javascript"
src=
"{%media_url%}/js/picnet.table.filter.min.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
"
#sortedlist
"
).
tablesorter
({
headers
:
{
0
:
{
sorter
:
false
},
8
:
{
sorter
:
false
},
}});
$
(
"
#sortedlist
"
).
tablesorter
({
headers
:
{
7
:
{
sorter
:
false
},
}});
$
(
'
#sortedlist
'
).
tableFilter
();
$
(
'
.confirm_form
'
).
submit
(
function
()
{
var
self
=
this
;
...
...
@@ -39,7 +39,6 @@
<table
class=
"listing tablesorter"
id=
'sortedlist'
>
<thead>
<tr>
<th
filter=
'false'
></th>
<th
filter-type=
'ddl'
>
{% trans "country" %}
</th>
<th
filter-type=
'ddl'
>
{% trans "operator" %}
</th>
<th
filter-type=
'ddl'
>
{% trans "contract" %}
</th>
...
...
@@ -47,11 +46,19 @@
<th
filter-type=
'ddl'
>
{% trans "type" %}
</th>
<th
filter-type=
'ddl'
>
{% trans "fixed / wireless" %}
</th>
<th
filter=
'false'
>
{% trans "confirmations" %}
</th>
<th
filter=
'false'
></th>
</tr>
</thead>
<tbody>
{% for violation in violations %}
<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>
<div
class=
"confirm"
><a
class=
"button"
>
+1
</a>
<div
class=
"info-validate float-confirm"
>
...
...
@@ -64,13 +71,6 @@
</form>
</div>
</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>
{% endfor %}
</tbody>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment