Эх сурвалжийг харах

CDR: Added View icon to right column.
CDR: List row Edit clicking disabled for Click-2-Call column cells.
Themes: New style to accommodate width of single control icon (as currently used on CDR)

Nate Jones 11 жил өмнө
parent
commit
f4af5f7cd7

+ 11 - 0
themes/accessible/template.php

@@ -70,6 +70,7 @@ form {
 	}
 
 td.list_control_icons {
+	/* multiple icons exist (horizontally) */
 	padding: none;
 	padding-left: 3px;
 	width: 50px;
@@ -78,6 +79,16 @@ td.list_control_icons {
 	white-space: nowrap;
 }
 
+td.list_control_icon {
+	/* a single icon exists */
+	padding: none;
+	padding-left: 3px;
+	width: 25px;
+	text-align: right;
+	vertical-align: top;
+	white-space: nowrap;
+}
+
 INPUT.btn {
 	font-family: verdana;
 	font-size: 11px;

+ 11 - 0
themes/classic/template.php

@@ -70,6 +70,7 @@ form {
 	}
 
 td.list_control_icons {
+	/* multiple icons exist (horizontally) */
 	padding: none;
 	padding-left: 3px;
 	width: 50px;
@@ -78,6 +79,16 @@ td.list_control_icons {
 	white-space: nowrap;
 }
 
+td.list_control_icon {
+	/* a single icon exists */
+	padding: none;
+	padding-left: 3px;
+	width: 25px;
+	text-align: right;
+	vertical-align: top;
+	white-space: nowrap;
+}
+
 INPUT.btn {
 	font-family: verdana;
 	font-size: 11px;

+ 11 - 0
themes/default/template.php

@@ -84,6 +84,7 @@ form {
 	}
 
 td.list_control_icons {
+	/* multiple icons exist (horizontally) */
 	padding: none;
 	padding-left: 3px;
 	width: 50px;
@@ -92,6 +93,16 @@ td.list_control_icons {
 	white-space: nowrap;
 }
 
+td.list_control_icon {
+	/* a single icon exists */
+	padding: none;
+	padding-left: 3px;
+	width: 25px;
+	text-align: right;
+	vertical-align: top;
+	white-space: nowrap;
+}
+
 INPUT.btn {
 	font-family: verdana;
 	font-size: 11px;

+ 12 - 1
themes/enhanced/template.php

@@ -109,6 +109,7 @@ td {
 }
 
 td.list_control_icons {
+	/* multiple icons exist (horizontally) */
 	padding: none;
 	padding-left: 3px;
 	width: 50px;
@@ -117,6 +118,16 @@ td.list_control_icons {
 	white-space: nowrap;
 }
 
+td.list_control_icon {
+	/* a single icon exists */
+	padding: none;
+	padding-left: 3px;
+	width: 25px;
+	text-align: right;
+	vertical-align: top;
+	white-space: nowrap;
+}
+
 img.list_control_icon {
 	margin: 2px;
 	width: 21px;
@@ -804,7 +815,7 @@ legend {
 		// on a table with a class of 'tr_hover', according to the href
 		// attribute of the <tr> tag
 		$('.tr_hover tr').each(function(i,e) {
-		  $(e).children('td:not(:last)').click(function() {
+		  $(e).children('td:not(.list_control_icon,.list_control_icons,.tr_link_void)').click(function() {
 			 var href = $(this).closest("tr").attr("href");
 			 if (href) { window.location = href; }
 		  });

+ 11 - 0
themes/nature/template.php

@@ -103,6 +103,7 @@ form {
 	}
 
 td.list_control_icons {
+	/* multiple icons exist (horizontally) */
 	padding: none;
 	padding-left: 3px;
 	width: 50px;
@@ -111,6 +112,16 @@ td.list_control_icons {
 	white-space: nowrap;
 }
 
+td.list_control_icon {
+	/* a single icon exists */
+	padding: none;
+	padding-left: 3px;
+	width: 25px;
+	text-align: right;
+	vertical-align: top;
+	white-space: nowrap;
+}
+
 INPUT.btn {
 	font-family: verdana;
 	font-size: 11px;