diff --git a/gitinspector/html/html.header b/gitinspector/html/html.header index cb44ea3..8232eb5 100644 --- a/gitinspector/html/html.header +++ b/gitinspector/html/html.header @@ -61,7 +61,7 @@ $(this).append(""); }}); - $("table#changes, table#blame").closest("div.box").find("div > button").filter(function() {{ + $("table#changes, table#blame").closest("div.box").find("button").filter(function() {{ this.hiddenCount = $(this).parent().find("tbody tr:hidden").length; return this.hiddenCount > 0; }}).each(function() {{ @@ -207,6 +207,7 @@ -moz-border-radius: 10px; box-shadow: 1px 1px 3px #666; -moz-box-shadow: 1px 1px 3px #666; + text-align: center }} div.box div {{ text-align: center; @@ -272,7 +273,7 @@ color: rgb(51, 51, 51); background-color: #e7b7a5; border-color: #e2b2a0; - margin-bottom: 20px; + margin-top: 10px; padding: 10px 25px 10px 15px; text-align: center; }} diff --git a/gitinspector/output/blameoutput.py b/gitinspector/output/blameoutput.py index 5fcfc1f..a475a13 100644 --- a/gitinspector/output/blameoutput.py +++ b/gitinspector/output/blameoutput.py @@ -41,11 +41,11 @@ class BlameOutput(Outputable): def output_html(self): blame_xml = "
" - blame_xml += "

" + _(BLAME_INFO_TEXT) + "


" + blame_xml += "

" + _(BLAME_INFO_TEXT) + "

" blame_xml += "" + blame_xml += "
" blame_xml += "
" blame_xml += "".format( _("Author"), _("Rows"), _("Stability"), _("Age"), _("% in comments")) @@ -77,7 +77,7 @@ class BlameOutput(Outputable): if blames[-1] != entry: chart_data += ", " - blame_xml += "
{0} {1} {2} {3} {4}
" + blame_xml += "
" blame_xml += "