[Piwik-svn] r332 - trunk/plugins/Home/templates

svnmaster at piwik.org svnmaster at piwik.org
Sun Mar 9 00:02:07 CET 2008


Author: julien
Date: 2008-03-09 00:02:06 +0100 (Sun, 09 Mar 2008)
New Revision: 332

Modified:
   trunk/plugins/Home/templates/datatable.css
   trunk/plugins/Home/templates/datatable.js
Log:
-Fixed some css problem with IE 6 (but it's still pretty bad)

Modified: trunk/plugins/Home/templates/datatable.css
===================================================================
--- trunk/plugins/Home/templates/datatable.css	2008-03-08 22:03:22 UTC (rev 331)
+++ trunk/plugins/Home/templates/datatable.css	2008-03-08 23:02:06 UTC (rev 332)
@@ -58,7 +58,6 @@
 table.dataTable th.columnSorted {
 	font-weight:bold;
 	padding-right:20px;
-	position:relative;
 }
 
 table.dataTable td {
@@ -169,14 +168,15 @@
 
 /* misc SPAN and DIV */
 table thead div {
-	position: relative;
-	margin-right: 10px;
 }
 
+#sortIconContainer {
+	float: right;
+}
+
 #sortIcon {
-	position: absolute;
-	right: -15px;
 	margin: 0px;
+	position: absolute;
 }
 
 #dataTablePages {
@@ -307,7 +307,6 @@
 	margin-right:0em;
 }
 
-
 /* graph form containing embed code */
 .formEmbedCode, .formEmbedCode input, .formEmbedCode a {
 	font-size: 11px;

Modified: trunk/plugins/Home/templates/datatable.js
===================================================================
--- trunk/plugins/Home/templates/datatable.js	2008-03-08 22:03:22 UTC (rev 331)
+++ trunk/plugins/Home/templates/datatable.js	2008-03-08 23:02:06 UTC (rev 332)
@@ -259,9 +259,9 @@
 			var imageSortHeight = 16;
 			// we change the style of the column currently used as sort column
 			// adding an image and the class columnSorted to the TD
-			$(".sortable#"+self.param.filter_sort_column+' #thDIV', domElem)
+			$(".sortable#"+self.param.filter_sort_column+' #thDIV', domElem).parent()
 				.addClass('columnSorted')
-				.prepend('<img id="sortIcon" width="'+imageSortWidth+'" height="'+imageSortHeight+'" src="themes/default/images/sort'+prefixSortIcon+ self.param.filter_sort_order+'.png" />');
+				.prepend('<div id="sortIconContainer"><img id="sortIcon" width="'+imageSortWidth+'" height="'+imageSortHeight+'" src="themes/default/images/sort'+prefixSortIcon+ self.param.filter_sort_order+'.png" /></div>');
 		}
 	},
 	



More information about the Piwik-svn mailing list