]> git.datanom.net - qtadmin.git/commitdiff
Navigate using icons
authorMichael Rasmussen <mir@datanom.net>
Wed, 3 Jun 2015 21:12:26 +0000 (23:12 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 3 Jun 2015 21:12:26 +0000 (23:12 +0200)
index.php
pics/go-first.png [new file with mode: 0644]
pics/go-last.png [new file with mode: 0644]
pics/go-next.png [new file with mode: 0644]
pics/go-previous.png [new file with mode: 0644]

index 6e1db887d6256d2a42035a7135aeefd542e7f2ce..f5b3e656290829c8e40b83eebd927e40bf9bfb66 100644 (file)
--- a/index.php
+++ b/index.php
@@ -72,9 +72,9 @@
         if ($pageNum > 1) {
             $page  = $pageNum - 1;
             $prev = " <a title=\"Prev Page\" href=\"$self?page=$page&rowsperpage=$rowsPerPage\"
-                class='whitefooter'>[Prev]</a>";
+                class='whitefooter'><img class=\"nav-img\" src=\"pics/go-previous.png\" alt=\"Previous\" /></a>";
             $first = " <a title=\"First Page\" href=\"$self?page=1&rowsperpage=$rowsPerPage\"
-                class='whitefooter'>[First Page]</a> ";
+                class='whitefooter'><img class=\"nav-img\" src=\"pics/go-first.png\" alt=\"First\" /></a> ";
         } else {
             $prev  = '&nbsp;'; // we're on page one, don't print previous link
             $first = '&nbsp;'; // nor the first page link
@@ -83,9 +83,9 @@
         if ($pageNum < $maxPage) {
             $page = $pageNum + 1;
             $next = " <a title=\"Next Page\" href=\"$self?page=$page&rowsperpage=$rowsPerPage\"
-                class='whitefooter'>[Next]</a>";
+                class='whitefooter'><img class=\"nav-img\" src=\"pics/go-next.png\" alt=\"Next\" /></a>";
             $last = "<a title=\"Last Page\" href=\"$self?page=$maxPage&rowsperpage=$rowsPerPage\"
-                class='whitefooter'>[Last Page]</a> ";
+                class='whitefooter'><img class=\"nav-img\" src=\"pics/go-last.png\" alt=\"Last\" /></a> ";
         } else {
             $next = '&nbsp;'; // we're on the last page, don't print next link
             $last = '&nbsp;'; // nor the last page link
diff --git a/pics/go-first.png b/pics/go-first.png
new file mode 100644 (file)
index 0000000..b43e4b3
Binary files /dev/null and b/pics/go-first.png differ
diff --git a/pics/go-last.png b/pics/go-last.png
new file mode 100644 (file)
index 0000000..2d603cd
Binary files /dev/null and b/pics/go-last.png differ
diff --git a/pics/go-next.png b/pics/go-next.png
new file mode 100644 (file)
index 0000000..af1b730
Binary files /dev/null and b/pics/go-next.png differ
diff --git a/pics/go-previous.png b/pics/go-previous.png
new file mode 100644 (file)
index 0000000..01b7cf4
Binary files /dev/null and b/pics/go-previous.png differ
This page took 0.046266 seconds and 5 git commands to generate.