diff --git a/routeSQL.php b/routeSQL.php
index 2e13f1c..a1856dd 100644
--- a/routeSQL.php
+++ b/routeSQL.php
@@ -167,13 +167,19 @@ class routeSQL
$prePage = false;
$postPage = false;
$content = "
\n";
+ $content .= "
\n";
$displayedNumbers = 0;
for ($i = 1 ; $i < (1+$nbentries/($num)) ; $i++)
{
+$content .= "- baseURL().$this->url_prefix.
"?page=$i&num=$num&search=".urlencode($search)."'";
if ($page == $i)
$content .= " class='selected'";
$content .= ">$i\n";
+$content .= "
\n";
}
+ $content .= "
\n";
$content .= "
\n";
return $content;
}
@@ -759,15 +770,22 @@ class routeSQL
$content .= ".routeSQL .bottomBar { display: block; overflow: auto; }\n";
$content .= ".routeSQL .bottomBar .bottomleft { display: inline; float:left; }\n";
$content .= ".routeSQL .bottomBar .bottomright { display: inline; float:right; }\n";
- $content .= ".routeSQL .actionExtern { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
+ $content .= ".routeSQL .actionExtern { border:1px solid #ddd; border-radius:5px; padding:0px; margin:3px; float:left; }\n";
+ $content .= ".routeSQL .actionExtern a { display: block; padding : 9px; }\n";
$content .= ".routeSQL .numberEntryByDisplayArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
$content .= ".routeSQL .searchArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
$content .= ".routeSQL .searchArea form { margin:-1px; }\n";
$content .= ".routeSQL .numberEntryByDisplayArea form { margin:-3px; }\n";
$content .= ".routeSQL .informationsArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
- $content .= ".routeSQL .paginatorArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
- $content .= ".routeSQL .paginatorArea a { border:1px solid grey; border-radius:5px; padding:3px; }\n";
- $content .= ".routeSQL .paginatorArea .selected { background-color:#04d; color:white;font-weight:bold; }\n";
+ $content .= ".routeSQL div.paginatorArea { float:left; }\n";
+ $content .= ".routeSQL div.paginatorArea>ul>li>a { display: block; }\n";
+ $content .= ".routeSQL ul.paginatorArea { list-style-type:none; margin: 0px; padding:0px; border:1px solid #ddd; border-radius:5px; }\n";
+ $content .= ".routeSQL ul.paginatorArea li.selected { background-color: #04d; padding:0px;}\n";
+ $content .= ".routeSQL ul.paginatorArea li.selected:first-child { border-top-left-radius: 5px; border-bottom-left-radius: 5px;}\n";
+ $content .= ".routeSQL ul.paginatorArea li.selected:last-child { border-top-right-radius: 5px; border-bottom-right-radius: 5px;}\n";
+ $content .= ".routeSQL ul.paginatorArea li.selected a { padding : 10px;color:white; font-weight:bold; }\n";
+ $content .= ".routeSQL ul.paginatorArea li a { padding : 10px }\n";
+ $content .= ".routeSQL ul.paginatorArea li { display: inline-block; }\n";
$content .= ".routeSQL table { width:100%;overflow:auto; border-collapse:collapse; }\n";
$content .= ".routeSQL table tr { border-top:1px solid #ccc;}\n";
$content .= ".routeSQL table th { border-bottom:3px solid #ccc; border-top:1px solid #fff; padding:9px 5px 9px 1px; }\n";