2013-05-08 19:28:32 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-10-12 12:52:35 +02:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2013-05-08 19:28:32 +02:00
|
|
|
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
|
2013-04-09 22:36:00 +02:00
|
|
|
<title>Generated by gitinspector {0}</title>
|
2012-11-13 00:49:26 +01:00
|
|
|
<script type="application/javascript">{1}</script>
|
|
|
|
<script type="application/javascript">{2}</script>
|
2012-11-17 00:33:47 +01:00
|
|
|
<script type="application/javascript">{3}</script>
|
2013-05-08 16:53:20 +02:00
|
|
|
<script type="application/javascript">
|
|
|
|
$(document).ready(function() {{
|
|
|
|
var row = 0;
|
|
|
|
var MINOR_AUTHOR_PERCENTAGE = 1.00;
|
|
|
|
|
|
|
|
var colorRows = function() {{
|
|
|
|
$(this).removeClass("odd");
|
|
|
|
|
|
|
|
if (row++ % 2 == 1) {{
|
|
|
|
$(this).addClass("odd");
|
|
|
|
}}
|
|
|
|
|
|
|
|
if(this == $(this).parent().find("tr:visible").get(-1)) {{
|
|
|
|
row = 0;
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
|
2013-05-09 02:45:12 +02:00
|
|
|
var filterTimeLine = function() {{
|
|
|
|
$("div#timeline table.git tbody tr").filter(function() {{
|
|
|
|
return $(this).find("td:has(div)").length == 0;
|
|
|
|
}}).hide();
|
|
|
|
}}
|
|
|
|
|
2013-05-08 16:53:20 +02:00
|
|
|
$("table.git tbody tr td:last-child").filter(function() {{
|
|
|
|
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
|
|
|
|
}}).parent().hide();
|
|
|
|
|
|
|
|
$("table.git tbody tr:visible").each(colorRows);
|
|
|
|
|
|
|
|
$("table.git tfoot tr td:first-child").filter(function() {{
|
|
|
|
return $(this).parent().parent().parent().find("tbody tr:hidden").length > 0;
|
|
|
|
}}).each(function() {{
|
|
|
|
this.innerHTML = "Show minor authors ∨";
|
|
|
|
}}).hover(function() {{
|
|
|
|
$(this).addClass("hover");
|
|
|
|
}}, function() {{
|
|
|
|
$(this).removeClass("hover");
|
|
|
|
}}).toggle(function() {{
|
|
|
|
this.innerHTML = "Hide minor authors ∧";
|
|
|
|
$(this).parent().parent().parent().find("tbody tr").show().each(colorRows);
|
|
|
|
}}, function() {{
|
|
|
|
this.innerHTML = "Show minor authors ∨";
|
|
|
|
$(this).parent().parent().parent().find("tbody tr td:last-child").filter(function() {{
|
|
|
|
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
|
|
|
|
}}).parent().hide();
|
|
|
|
$("table.git tbody tr:visible").each(colorRows);
|
|
|
|
}});
|
2013-05-09 02:45:12 +02:00
|
|
|
|
|
|
|
filterTimeLine();
|
|
|
|
|
|
|
|
if ($("div#timeline table.git tbody tr:hidden").length > 0) {{
|
|
|
|
$("div#timeline table.git tbody tr:visible").each(colorRows);
|
|
|
|
$("div#timeline").prepend("<div class=\"button\">Show rows with minor work ∨</div>");
|
|
|
|
|
|
|
|
$("div#timeline div.button").hover(function() {{
|
|
|
|
$(this).addClass("hover");
|
|
|
|
}}, function() {{
|
|
|
|
$(this).removeClass("hover");
|
|
|
|
}}).toggle(function() {{
|
|
|
|
this.innerHTML = "Hide rows with minor work ∧"
|
|
|
|
$("div#timeline table.git tbody tr").show().each(colorRows);
|
|
|
|
}}, function() {{
|
|
|
|
this.innerHTML = "Show rows with minor work ∨";
|
|
|
|
filterTimeLine();
|
|
|
|
$("div#timeline table.git tbody tr:visible").each(colorRows);
|
|
|
|
}});
|
|
|
|
}}
|
2013-05-08 16:53:20 +02:00
|
|
|
}});
|
|
|
|
</script>
|
2012-11-17 00:33:47 +01:00
|
|
|
<style type="text/css">
|
2013-04-09 22:36:00 +02:00
|
|
|
body {{
|
|
|
|
background: -webkit-linear-gradient(left, #8f8a9a, #dad2d7, #8f8a9a);
|
|
|
|
background: -moz-linear-gradient(left, #8f8a9a, #dad2d7, #8f8a9a);
|
|
|
|
}}
|
2013-03-11 09:43:51 +01:00
|
|
|
html, body {{
|
|
|
|
margin: 0;
|
2012-11-17 02:58:56 +01:00
|
|
|
height: 100%;
|
2012-11-17 00:33:47 +01:00
|
|
|
font-family: "Arial";
|
2013-03-11 09:43:51 +01:00
|
|
|
}}
|
|
|
|
body > div {{
|
2013-04-09 22:36:00 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
width: 50em;
|
2012-11-17 00:33:47 +01:00
|
|
|
}}
|
2012-11-17 02:58:56 +01:00
|
|
|
div.box {{
|
2012-11-17 00:33:47 +01:00
|
|
|
border: 4px solid #ddd;
|
|
|
|
background-color: #eee;
|
2013-03-11 09:43:51 +01:00
|
|
|
margin: 0.75em;
|
2012-11-17 02:58:56 +01:00
|
|
|
padding: 5px;
|
2012-11-17 00:33:47 +01:00
|
|
|
font-size: small;
|
|
|
|
border-radius: 15px;
|
|
|
|
-moz-border-radius: 15px;
|
2013-04-09 22:36:00 +02:00
|
|
|
box-shadow: 1px 1px 3px #666;
|
|
|
|
-moz-box-shadow: 1px 1px 3px #666;
|
2012-11-17 00:33:47 +01:00
|
|
|
}}
|
2013-03-11 09:43:51 +01:00
|
|
|
div.logo p {{
|
|
|
|
margin-top: 18px;
|
2012-11-17 02:58:56 +01:00
|
|
|
}}
|
2012-11-17 00:33:47 +01:00
|
|
|
div.logo img {{
|
|
|
|
float: left;
|
2013-03-11 09:43:51 +01:00
|
|
|
padding: 2px 10px 2px 2px;
|
2012-11-17 00:33:47 +01:00
|
|
|
}}
|
2013-03-11 09:43:51 +01:00
|
|
|
body > div {{
|
|
|
|
display: block-inline;
|
2012-11-17 02:58:56 +01:00
|
|
|
}}
|
2013-03-11 09:43:51 +01:00
|
|
|
body > div > div > div {{
|
2012-11-17 02:58:56 +01:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}}
|
2012-11-17 00:33:47 +01:00
|
|
|
table.git {{
|
2012-11-17 02:58:56 +01:00
|
|
|
font-size: small;
|
2013-03-11 09:43:51 +01:00
|
|
|
width: 60%;
|
2013-05-08 05:32:45 +02:00
|
|
|
padding-right: 5px;
|
2012-11-17 00:33:47 +01:00
|
|
|
}}
|
2013-04-09 21:17:21 +02:00
|
|
|
table.full {{
|
|
|
|
width: 100%;
|
|
|
|
}}
|
2012-11-17 02:58:56 +01:00
|
|
|
table.git th, table.git tfoot tr td {{
|
2012-11-17 00:33:47 +01:00
|
|
|
padding: 0.3em;
|
|
|
|
background-color: #ddcece;
|
|
|
|
border-radius: 8px 8px 0px 0px;
|
|
|
|
-moz-border-radius: 8px 8px 0px 0px;
|
|
|
|
}}
|
2013-03-11 09:43:51 +01:00
|
|
|
table.git tfoot tr td {{
|
2012-11-17 00:33:47 +01:00
|
|
|
border-radius: 0px 0px 8px 8px;
|
|
|
|
-moz-border-radius: 0px 0px 8px 8px;
|
2013-05-08 16:53:20 +02:00
|
|
|
border: 1px solid #eee;
|
|
|
|
text-align: center;
|
|
|
|
}}
|
2012-11-17 00:33:47 +01:00
|
|
|
table.git td {{
|
|
|
|
padding: 0.4em;
|
2013-04-09 21:17:21 +02:00
|
|
|
height: 1em;
|
|
|
|
}}
|
|
|
|
table.git td div.insert {{
|
|
|
|
background-color: #7a7;
|
|
|
|
}}
|
|
|
|
table.git td div.remove {{
|
|
|
|
background-color: #c66;
|
|
|
|
}}
|
|
|
|
table.git td div.insert, table.git td div.remove {{
|
|
|
|
height: 100%;
|
|
|
|
float: left;
|
2012-11-17 00:33:47 +01:00
|
|
|
}}
|
|
|
|
table.git tr.odd {{
|
|
|
|
background-color: #dbdbdb;
|
|
|
|
}}
|
|
|
|
div.chart {{
|
2012-11-17 02:58:56 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
bottom: 5px;
|
2013-05-08 05:32:45 +02:00
|
|
|
right: 0px;
|
2013-03-11 09:43:51 +01:00
|
|
|
width: 40%;
|
2012-11-17 00:33:47 +01:00
|
|
|
font-size: x-small;
|
2013-05-08 16:53:20 +02:00
|
|
|
max-height: 240px;
|
2012-11-17 00:33:47 +01:00
|
|
|
}}
|
2013-03-14 00:47:40 +01:00
|
|
|
p.error {{
|
|
|
|
color: #700;
|
|
|
|
}}
|
2013-05-09 02:45:12 +02:00
|
|
|
div.button {{
|
|
|
|
border-radius: 8px 8px 8px 8px;
|
|
|
|
-moz-border-radius: 8px 8px 8px 8px;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
float: right;
|
|
|
|
width: auto;
|
|
|
|
padding: 0.5em;
|
|
|
|
background-color: #ddcece;
|
|
|
|
}}
|
|
|
|
table.git tfoot tr td.hover, div.hover {{
|
|
|
|
background-color: #eddede;
|
|
|
|
border: 1px solid #bbb;
|
|
|
|
cursor: hand;
|
|
|
|
}}
|
2012-11-17 00:33:47 +01:00
|
|
|
</style>
|
2012-10-12 12:52:35 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-04-09 22:36:00 +02:00
|
|
|
<div><div class="box logo">
|
2012-11-17 00:33:47 +01:00
|
|
|
<img src="data:image/png;base64,{4}" />
|
|
|
|
<p>The output has been generated by <a href="http://gitinspector.googlecode.com">gitinspector</a>;
|
|
|
|
the statistical analysis tool for git repositories.<p>
|
2013-04-09 22:36:00 +02:00
|
|
|
</div></div>
|