From ab3aab468400a927a943e178be50058345192fb1 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 11 Jul 2012 17:10:03 -0400
Subject: [PATCH] Tweak to repositories panel in responsive mode

---
 src/com/gitblit/wicket/panels/RepositoriesPanel.html |   16 +++++++++-------
 resources/gitblit.css                                |    8 +++++++-
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/resources/gitblit.css b/resources/gitblit.css
index d2acaf5..b8792dc 100644
--- a/resources/gitblit.css
+++ b/resources/gitblit.css
@@ -700,13 +700,18 @@
 	border:0;
 }
 
+table.repositories th.right {	
+	border-right: 1px solid #ddd;	
+}	
+
 table.repositories td {
 	padding: 2px;
 	border-left: 0;
 }
 
 table.repositories td.rightAlign {	
-	text-align: right;	
+	text-align: right;
+	border-right: 1px solid #ddd;	
 }	
 
 table.repositories td.icon img {
@@ -826,6 +831,7 @@
 
 td.date {
 	/*font-style: italic !important;*/
+	white-space: nowrap;
 }
 
 span.sha1, span.sha1 a, span.sha1 a span, pre.commit_message {
diff --git a/src/com/gitblit/wicket/panels/RepositoriesPanel.html b/src/com/gitblit/wicket/panels/RepositoriesPanel.html
index 7e1f187..5b53d77 100644
--- a/src/com/gitblit/wicket/panels/RepositoriesPanel.html
+++ b/src/com/gitblit/wicket/panels/RepositoriesPanel.html
@@ -47,7 +47,7 @@
 			<th class="hidden-phone"></th>
 			<th wicket:id="orderByDate"><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
 			<th class="hidden-phone"></th>
-			<th class="hidden-phone right"></th>
+			<th class="right"></th>
 		</tr>
 	</wicket:fragment>
 	
@@ -62,7 +62,7 @@
 			<th class="hidden-phone"></th>
 			<th><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
 			<th class="hidden-phone"></th>
-			<th class="hidden-phone right"></th>
+			<th class="right"></th>
 		</tr>
 	</wicket:fragment>
 	
@@ -77,11 +77,13 @@
         <td class="hidden-phone" style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="ticketsIcon" /><img class="inlineIcon" wicket:id="docsIcon" /><img class="inlineIcon" wicket:id="frozenIcon" /><img class="inlineIcon" wicket:id="federatedIcon" /><img class="inlineIcon" wicket:id="accessRestrictionIcon" /></td>
         <td><span wicket:id="repositoryLastChange">[last change]</span></td>
         <td class="hidden-phone" style="text-align: right;padding-right:15px;"><span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span></td>
-        <td class="hidden-phone rightAlign">
-        	<span wicket:id="repositoryLinks"></span>
-			<a style="text-decoration: none;" wicket:id="syndication">
-				<img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>
-			</a>
+        <td class="rightAlign">
+        	<span class="hidden-phone">
+        		<span wicket:id="repositoryLinks"></span>
+				<a style="text-decoration: none;" wicket:id="syndication">
+					<img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>
+				</a>
+			</span>
 		</td>				
 	</wicket:fragment>
 	

--
Gitblit v1.9.1