aboutsummaryrefslogtreecommitdiffstats
path: root/ui-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ui-log.c b/ui-log.c
index 954d3e1..aaffb4e 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -405,21 +405,24 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
405 commit->parents = NULL; 405 commit->parents = NULL;
406 } 406 }
407 if (pager) { 407 if (pager) {
408 html("</table><div class='pager'>"); 408 html("</table><ul class='pager'>");
409 if (ofs > 0) { 409 if (ofs > 0) {
410 html("<li>");
410 cgit_log_link("[prev]", NULL, NULL, ctx.qry.head, 411 cgit_log_link("[prev]", NULL, NULL, ctx.qry.head,
411 ctx.qry.sha1, ctx.qry.vpath, 412 ctx.qry.sha1, ctx.qry.vpath,
412 ofs - cnt, ctx.qry.grep, 413 ofs - cnt, ctx.qry.grep,
413 ctx.qry.search, ctx.qry.showmsg); 414 ctx.qry.search, ctx.qry.showmsg);
414 html("&nbsp;"); 415 html("</li>");
415 } 416 }
416 if ((commit = get_revision(&rev)) != NULL) { 417 if ((commit = get_revision(&rev)) != NULL) {
418 html("<li>");
417 cgit_log_link("[next]", NULL, NULL, ctx.qry.head, 419 cgit_log_link("[next]", NULL, NULL, ctx.qry.head,
418 ctx.qry.sha1, ctx.qry.vpath, 420 ctx.qry.sha1, ctx.qry.vpath,
419 ofs + cnt, ctx.qry.grep, 421 ofs + cnt, ctx.qry.grep,
420 ctx.qry.search, ctx.qry.showmsg); 422 ctx.qry.search, ctx.qry.showmsg);
423 html("</li>");
421 } 424 }
422 html("</div>"); 425 html("</ul>");
423 } else if ((commit = get_revision(&rev)) != NULL) { 426 } else if ((commit = get_revision(&rev)) != NULL) {
424 htmlf("<tr class='nohover'><td colspan='%d'>", columns); 427 htmlf("<tr class='nohover'><td colspan='%d'>", columns);
425 cgit_log_link("[...]", NULL, NULL, ctx.qry.head, NULL, 428 cgit_log_link("[...]", NULL, NULL, ctx.qry.head, NULL,