From a3bde69e9b3f3cc6212b0cd5fd7310b6a3301d8c Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 01 Jun 2011 20:47:05 -0400
Subject: [PATCH] Documentation.  Enforce ".git" suffix for created repositories.

---
 src/com/gitblit/wicket/pages/SummaryPage.html |   97 +++++++++++++++++-------------------------------
 1 files changed, 34 insertions(+), 63 deletions(-)

diff --git a/src/com/gitblit/wicket/pages/SummaryPage.html b/src/com/gitblit/wicket/pages/SummaryPage.html
index f5697cd..7d5629b 100644
--- a/src/com/gitblit/wicket/pages/SummaryPage.html
+++ b/src/com/gitblit/wicket/pages/SummaryPage.html
@@ -1,80 +1,51 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html xmlns="http://www.w3.org/1999/xhtml" >
+<!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"> 
+
+<wicket:head>
+  <wicket:link>
+   	<link href="/com/gitblit/wicket/resources/markdown.css" type="text/css" rel="stylesheet" />
+  </wicket:link>
+</wicket:head>
+
 <body>
-	<!-- page header -->
-	<div wicket:id="pageHeader"></div>
+<wicket:extend>
 	
-	<!-- page nav links -->	
-	<div wicket:id="pageLinks"></div>
-	
-	<div>
+	<div style="clear:both;">
 		<!-- Repository Activity Chart -->	
-		<div style="width:400px;float:right;">
+		<div style="float:right;">
 			<img class="activityGraph" wicket:id="commitsChart" />
 		</div>	
 	
 		<!-- Repository info -->
-		<div style="margin-right:410px;"> 
+		<div> 
 			<table class="plain">
-				<tr><th>description</th><td><span wicket:id="repositoryDescription">Message goes here</span></td></tr>
-				<tr><th>owner</th><td><span wicket:id="repositoryOwner">Message goes here</span></td></tr>
-				<tr><th>last change</th><td><span wicket:id="repositoryLastChange">Message goes here</span></td></tr>
-				<tr><th>URL</th><td><span wicket:id="repositoryCloneUrl">Message goes here</span></td></tr>
+				<tr><th><wicket:message key="gb.description">[description]</wicket:message></th><td><span wicket:id="repositoryDescription">[repository description]</span></td></tr>
+				<tr><th><wicket:message key="gb.owner">[owner]</wicket:message></th><td><span wicket:id="repositoryOwner">[repository owner]</span></td></tr>
+				<tr><th><wicket:message key="gb.lastChange">[last change]</wicket:message></th><td><span wicket:id="repositoryLastChange">[repository last change]</span></td></tr>
+				<tr><th><wicket:message key="gb.metrics">[metrics]</wicket:message></th><td><span wicket:id="repositoryMetrics">[repository metrics]</span></td></tr>
+				<tr><th valign="top"><wicket:message key="gb.url">[URL]</wicket:message></th><td><img style="vertical-align: top; padding-right:5px;" wicket:id="accessRestrictionIcon" /><span wicket:id="repositoryCloneUrl">[repository clone url]</span></td></tr>
 			</table>
 		</div>
 	</div>
 
-	<!-- shortlog -->
-	<div class="header" wicket:id="shortlog"></div>	
-	<table style="width:100%" class="pretty">
-		<tbody>
-       		<tr wicket:id="commit">
-         		<td class="date"><span wicket:id="commitDate"></span></td>
-         		<td class="author"><span wicket:id="commitAuthor"></span></td>
-         		<td><div wicket:id="commitShortMessage"></div></td>
-         		<td class="rightAlign"><div wicket:id="commitRefs"></div></td>
-         		<td class="rightAlign"><span wicket:id="commitLinks"></span></td>
-       		</tr>
-    	</tbody>
-	</table>	
-	<div class="pager" wicket:id="shortlogMore"></div>
+	<!-- commits -->
+	<div style="padding-bottom:10px;" wicket:id="commitsPanel">[commits panel]</div>	
 
-	<!-- Open Heads Body -->
-	<div style="width:300px;float:right;">
-		<!-- heads -->
-		<div class="header" wicket:id="heads"></div>	
-		<table style="width:100%" class="pretty">
-			<tbody>
-   				<tr wicket:id="head">
-       				<td class="date"><span wicket:id="headDate"></span></td>
-       				<td><div wicket:id="headName"></div></td>
-       				<td class="rightAlign"><span wicket:id="headLinks"></span></td>
-   				</tr>
-   			</tbody>
-		</table>
-		<div class="pager" wicket:id="allHeads"></div>
-		<!-- Close Heads Body -->
+	<!-- branches -->
+	<div style="padding-bottom:10px;width:400px; float:left;">
+		<div wicket:id="branchesPanel">[branches panel]</div>
+	</div>
+
+	<!-- tags -->
+	<div style="padding-bottom:10px;margin-left:405px;">
+		<div wicket:id="tagsPanel">[tags panel]</div>
 	</div>
 	
-	<!-- Open Tags body -->
-	<div style="margin-right:305px;">
-		<!-- tags -->
-		<div class="header" wicket:id="tags"></div>	
-			<table style="width:100%" class="pretty">
-				<tbody>
-       				<tr wicket:id="tag">
-         				<td class="date"><span wicket:id="tagDate"></span></td>
-         				<td><b><div wicket:id="tagName"></div></b></td>
-         				<td><div wicket:id="tagDescription"></div></td>
-         				<td class="rightAlign"><span wicket:id="tagLinks"></span></td>
-       				</tr>
-    			</tbody>
-			</table>
-		<div class="pager" wicket:id="allTags"></div>	
-	<!-- Close Tags Body -->
-	</div>
-	
-	<!-- footer -->
-	<div style="clear:both;" wicket:id="pageFooter"></div>
+	<!-- markdown readme -->
+	<div wicket:id="readme" class="markdown" style="clear:both;padding-bottom:5px;"></div>
+</wicket:extend>	
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1