aboutsummaryrefslogtreecommitdiffstats
path: root/ui-stats.c
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-10-28 17:23:13 +0100
committerla-ninpre <leobrekalini@gmail.com>2020-10-28 21:12:37 +0100
commit5128d091c6bc1601135ac2217509cc81314bc691 (patch)
tree3cb2acd4d921976f17debc56aef6f3b38aaf383c /ui-stats.c
parentadcc4f822fe11836e5f942fc1ae0f00db4eb8d5f (diff)
downloadcgit-5128d091c6bc1601135ac2217509cc81314bc691.tar.gz
cgit-5128d091c6bc1601135ac2217509cc81314bc691.zip
disable unsafe inline styles and scriptsln/no-scripts
Diffstat (limited to 'ui-stats.c')
-rw-r--r--ui-stats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-stats.c b/ui-stats.c
index 7272a61..978b7ce 100644
--- a/ui-stats.c
+++ b/ui-stats.c
@@ -309,7 +309,7 @@ static void print_authors(struct string_list *authors, int top,
for (i = 1; i < period->count; i++)
period->dec(tm);
- html("<table class='stats'><tr><th>Author</th>");
+ html("<table class='stats' width='100%'><tr><th>Author</th>");
for (j = 0; j < period->count; j++) {
tmp = period->pretty(tm);
htmlf("<th>%s</th>", tmp);
@@ -387,7 +387,7 @@ void cgit_show_stats(void)
top = 10;
cgit_print_layout_start();
- html("<div class='cgit-panel'>");
+ /*html("<div class='cgit-panel'>");
html("<b>stat options</b>");
html("<form method='get'>");
cgit_add_hidden_formfields(1, 0, "stats");
@@ -412,7 +412,7 @@ void cgit_show_stats(void)
html("<noscript><input type='submit' value='Reload'/></noscript>");
html("</td></tr></table>");
html("</form>");
- html("</div>");
+ html("</div>");*/
htmlf("<h2>Commits per author per %s", period->name);
if (ctx.qry.path) {
html(" (path '");