diff --git a/PHPCI/View/Project/view.phtml b/PHPCI/View/Project/view.phtml
index bc89e9d8..08781dd3 100644
--- a/PHPCI/View/Project/view.phtml
+++ b/PHPCI/View/Project/view.phtml
@@ -89,9 +89,15 @@
print '
« Prev';
}
- for($i = 1; $i <= $pages; $i++)
- {
- print '' . $i . '';
+ if ($pages > 1) {
+ for($i = 1; $i <= $pages; $i++)
+ {
+ if ($i == $page) {
+ print '' . $i . '';
+ } else {
+ print '' . $i . '';
+ }
+ }
}
if ($page < $pages) {
diff --git a/public/assets/css/phpci.css b/public/assets/css/phpci.css
index 7113ad1c..a4fa440a 100644
--- a/public/assets/css/phpci.css
+++ b/public/assets/css/phpci.css
@@ -84,4 +84,18 @@ h1 {
.word-wrap {
word-wrap: break-word;
-}
\ No newline at end of file
+}
+
+ul.pagination {
+
+}
+
+ ul.pagination > li > span {
+ color: #333;
+ }
+
+ ul.pagination > li > span:hover,
+ ul.pagination > li > span:focus {
+ color: #333;
+ background-color: #fff;
+ }
\ No newline at end of file