Make the next/previous stuff a bit more accessible.
authorSteinar H. Gunderson <sesse@debian.org>
Thu, 12 Apr 2007 00:06:11 +0000 (02:06 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Thu, 12 Apr 2007 00:06:11 +0000 (02:06 +0200)
files/pr0n.css
perl/Sesse/pr0n/Index.pm

index 3cc0b95cd423c1bb0f828d779462847d8619c567..9e7333bfc766d1b4a56d41e5310bf85246b96c37 100644 (file)
@@ -41,6 +41,10 @@ li {
        margin-left: 1em;
        padding-left: 0;
 }
+.nextprev {
+       margin-top: 0.5em;
+       margin-bottom: 0.5em;
+}
 * {
 /*     border: 1px solid red; */
 }
index 681a6652df6acf3772c2b09d693c6f67d7443cc2..40fe84c76a0ee91a66fa1490a332a367977bf699 100644 (file)
@@ -144,9 +144,9 @@ sub handler {
                print_viewres($r, $event, \%settings, \%defsettings);
                print_pagelimit($r, $event, \%settings, \%defsettings);
                print_infobox($r, $event, \%settings, \%defsettings);
-               print_nextprev($r, $event, \%settings, \%defsettings);
                print_selected($r, $event, \%settings, \%defsettings) if ($num_selected > 0);
                print_fullscreen($r, $event, \%settings, \%defsettings);
+               print_nextprev($r, $event, \%settings, \%defsettings);
                
                # Find the equipment used
                my $eq = $dbh->prepare("
@@ -451,7 +451,7 @@ sub print_nextprev {
                $end = $num_images;
        }
 
-       $r->print("    <p>\n");
+       $r->print("    <p class=\"nextprev\">\n");
 
        # Previous
        if ($start > 1) {