summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/MetricsPage.html
blob: 4aefc7985912f5995230b653a94c384ba779079d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"  
      xml:lang="en"  
      lang="en">
      
<body>
<wicket:extend>
<div style="padding-top:10px;">
	<!-- branch name -->
	<div><span class="metricsTitle" wicket:id="branchTitle"></span></div>
			
	<table style="width:100%;">
		<tr>
			<!-- branch stats -->
			<td colspan=2>
				<h2><wicket:message key="gb.stats"></wicket:message></h2>
				<span wicket:id="branchStats"></span>		
			</td>
		</tr>
		<tr>		
			<!-- commit activity trend -->
			<td>
				<h2><wicket:message key="gb.commitActivityTrend"></wicket:message></h2>
				<div><img wicket:id="commitsChart" /></div>		
			</td>
			<!-- commit activity by day of week -->
			<td>
				<h2><wicket:message key="gb.commitActivityDOW"></wicket:message></h2>
				<div><img wicket:id="dayOfWeekChart" /></div>
			</td>
		</tr>
		<tr>
			<!-- commit activity by primary authors -->
			<td colspan=2>
				<h2><wicket:message key="gb.commitActivityAuthors"></wicket:message></h2>
				<div style="text-align: center;"><img wicket:id="authorsChart" /></div>
			</td>
		</tr>		
	</table>	
</div>
</wicket:extend>
</body>
</html>