changeset 924:c6c97b7bc0da

fixed css issue in filebrowser
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 06 Jan 2011 20:01:31 +0100
parents 7e9c80b515af
children 15e0fb9795da
files rhodecode/public/css/style.css rhodecode/templates/files/files_browser.html
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Thu Jan 06 19:28:20 2011 +0100
+++ b/rhodecode/public/css/style.css	Thu Jan 06 20:01:31 2011 +0100
@@ -1594,6 +1594,7 @@
 background:#FFF;
 padding:10px 0;
 float:left;
+width: 100%;
 }
 
 div.browserblock .browser-branch {
--- a/rhodecode/templates/files/files_browser.html	Thu Jan 06 19:28:20 2011 +0100
+++ b/rhodecode/templates/files/files_browser.html	Thu Jan 06 20:01:31 2011 +0100
@@ -17,6 +17,9 @@
 	    </div>           
 		${h.end_form()}
 	</div>
+	<div class="browser-branch">
+	</div>
+	<div style="clear:both"></div>
 	<div class="browser-body">
 		<table class="code-browser">
 		         <thead>
@@ -44,7 +47,7 @@
           		%endif
 		         	
 		    %for cnt,node in enumerate(c.files_list):
-				<tr class="parity${cnt+1%2}">
+				<tr class="parity${cnt%2}">
 		             <td>
 						${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=node.path),class_=file_class(node))}
 		             </td>
@@ -60,12 +63,14 @@
 		             </td>
 		             <td>
 		             	%if node.is_file():
-		             		<span class="tooltip" tooltip_title="${node.last_changeset.raw_id}">${node.last_changeset.revision}</span>
+		             		<span class="tooltip" tooltip_title="${node.last_changeset.raw_id}">
+		             		${node.last_changeset.revision}</span>
 		             	%endif
 		             </td>
 		             <td>
 		             	%if node.is_file():
-		             		${node.last_changeset.date} - ${h.age(node.last_changeset.date)}
+		             		<span class="tooltip" tooltip_title="${node.last_changeset.date}">
+                            ${h.age(node.last_changeset.date)}</span>
 		             	%endif
 		             </td>
 		             <td>