diff --git a/ui-stats.c b/ui-stats.c index 2a0c174..36e17d9 100644 --- a/ui-stats.c +++ b/ui-stats.c @@ -386,6 +386,33 @@ void cgit_show_stats(struct cgit_context *ctx) top = ctx->qry.ofs; if (!top) top = 10; + + html("
"); + html("stat options"); + html("
"); + cgit_add_hidden_formfields(1, 0, "stats"); + html(""); + if (ctx->repo->max_stats > 1) { + html(""); + html(""); + } + html(""); + html(""); + html("
Period:
Authors:
"); + html(""); + html("
"); + html("
"); + html("
"); htmlf("

Commits per author per %s", period->name); if (ctx->qry.path) { html(" (path '"); @@ -393,30 +420,6 @@ void cgit_show_stats(struct cgit_context *ctx) html("')"); } html("

"); - - html("
"); - cgit_add_hidden_formfields(1, 0, "stats"); - if (ctx->repo->max_stats > 1) { - html("Period: "); - html("

"); - } - html("Authors: "); - html(""); - html(""); - html(""); - html("
"); print_authors(&authors, top, period); }