From c1c3c6a7a2f0a2893ef36ab3dfc7b09d04a133bc Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Tue, 26 Apr 2011 18:05:39 -0400
Subject: [PATCH] Commit header panel. File type icons. Docs page.

---
 src/com/gitblit/wicket/pages/CommitPage.html |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/com/gitblit/wicket/pages/CommitPage.html b/src/com/gitblit/wicket/pages/CommitPage.html
index 87547fc..2601303 100644
--- a/src/com/gitblit/wicket/pages/CommitPage.html
+++ b/src/com/gitblit/wicket/pages/CommitPage.html
@@ -15,8 +15,8 @@
 		<wicket:message key="gb.parent"></wicket:message>: <span wicket:id="parentLink">[parent link]</span> | <a wicket:id="patchLink"><wicket:message key="gb.patch"></wicket:message></a> | <span wicket:id="commitdiffLink">[commitdiff link]</span>
 	</div>	
 	
-	<!-- shortlog header -->
-	<div class="header" wicket:id="shortlog">[shortlog header]</div>
+	<!-- commit header -->
+	<div wicket:id="commitHeader">[commit header]</div>
 	
 	<!-- commit info -->
 	<table class="plain">
@@ -41,13 +41,19 @@
 	
 	<!-- full message -->
 	<div class="commit_message" wicket:id="fullMessage">[commit message]</div>
+
+	<!--  commit legend -->
+	<div style="text-align:right;" wicket:id="commitLegend"></div>
+	
+	<!-- header -->
+	<div class="header"><wicket:message key="gb.changedFiles">[changed files]</wicket:message></div>
 	
 	<!-- changed paths -->
-	<table style="border-top:1px solid #bbb;" class="pretty">
+	<table class="pretty">
 		<tr wicket:id="changedPath">
-			<td><span wicket:id="changeType">[change type]</span></td>
+			<td class="changeType"><span wicket:id="changeType">[change type]</span></td>
 			<td class="path"><span wicket:id="pathName">[commit path]</span></td>			
-			<td>
+			<td class="rightAlign">
 				<span class="link">
 					<a wicket:id="diff"><wicket:message key="gb.diff"></wicket:message></a> | <a wicket:id="view"><wicket:message key="gb.view"></wicket:message></a> | <a wicket:id="blame"><wicket:message key="gb.blame"></wicket:message></a> | <a wicket:id="history"><wicket:message key="gb.history"></wicket:message></a>
 				</span>

--
Gitblit v1.9.1