Skip to content

Commit 3cdf2f8

Browse files
committed
Change the pagination style to be more useful
1 parent 770b596 commit 3cdf2f8

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

Diff for: css/style.css

+6-16
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@
2525
padding-right: 1em;
2626
}
2727

28-
#Queries_previous {
29-
margin: 0px;
30-
}
31-
32-
#Queries_next {
33-
margin: 0px;
34-
}
35-
3628
.number {
3729
text-align: right;
3830
}
@@ -70,14 +62,6 @@ div.ColVis {
7062
margin-top: 4px;
7163
margin-right: .25em;
7264
float: right;
73-
height: 16px;
74-
width: 36px;
75-
76-
}
77-
78-
#Queries_paginate a {
79-
width: 16px;
80-
height: 16px;
8165
}
8266

8367
input.number_range_filter,
@@ -115,3 +99,9 @@ a.column {
11599
.fingerprint {
116100
width: 100%;
117101
}
102+
103+
#Queries_paginate a {
104+
margin-right: .25em;
105+
padding-left: .25em;
106+
padding-right: .25em;
107+
}

Diff for: index.php

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
$(function() {
4949

5050
oTable = $('#Queries').dataTable({
51+
"sPaginationType": "full_numbers",
5152
"bDeferRender": true,
5253
"bServerSide": true,
5354
"sAjaxSource": "list-ajax.php",

0 commit comments

Comments
 (0)