Przeglądaj źródła

fixed rotated labels in table Programy tv

Piotr Labudda 9 lat temu
rodzic
commit
d3f7a31a54
1 zmienionych plików z 19 dodań i 18 usunięć
  1. 19 18
      SE/superedit-TV_OFERTA_PROGRAMOWA.php

+ 19 - 18
SE/superedit-TV_OFERTA_PROGRAMOWA.php

@@ -60,12 +60,12 @@ class TvOfertaView {
 			|
 			<a href="?MENU_INIT=TV_OFERTA_PROGRAMOWA&task=analog">Analogowe</a>
 			<?php if ('analog' == V::get('task', '', $_GET)) : ?>
-				<br />Analogowe posortowane po: 
+				<br />Analogowe posortowane po:
 				<a href="?MENU_INIT=TV_OFERTA_PROGRAMOWA&task=analog&orderby=group">grupach tematycznych</a>
 				|
 				<a href="?MENU_INIT=TV_OFERTA_PROGRAMOWA&task=analog&orderby=name">nazwie</a>
 			<?php else : ?>
-				<br />Cyfrowe posortowane po: 
+				<br />Cyfrowe posortowane po:
 				<a href="?MENU_INIT=TV_OFERTA_PROGRAMOWA&orderby=group">grupach tematycznych</a>
 				|
 				<a href="?MENU_INIT=TV_OFERTA_PROGRAMOWA&orderby=pakiety">pakietach</a>
@@ -236,8 +236,9 @@ tfoot { display:table-footer-group }
 				, width = cell.width()
 				, newDiv = $('<div>', { height: width, width: height })
 				, newInnerDiv = $('<div>', { text: newText, 'class': 'rotated' });
-			newInnerDiv.css('-webkit-transform-origin', (width / 2) + 'px ' + (width / 2) + 'px');
-			newInnerDiv.css('-moz-transform-origin', (width / 2) + 'px ' + (width / 2) + 'px');
+			newInnerDiv.css('transform', 'rotate(0deg)');
+			// newInnerDiv.css('-webkit-transform-origin', (width / 2) + 'px ' + (width / 2) + 'px');
+			// newInnerDiv.css('-moz-transform-origin', (width / 2) + 'px ' + (width / 2) + 'px');
 			newDiv.append(newInnerDiv);
 			betterCells.push(newDiv);
 		});
@@ -434,13 +435,13 @@ class TvOfertaHelper {
 				left join `USERS2_OFFERS_COSTS` as c on(c.`ID_COSTS_GROUPS`=cg.`ID`)
 				left join `IN7_MK_BAZA_DYSTRYBUCJI` as p on(p.`ID`=c.`ID_PROJECT` and p.`M_DIST_TYPE`='TV__UMOWA ZAKUPU KANALU')
 			where
-				p.`M_DIST_TYPE`='TV__UMOWA ZAKUPU KANALU' 
-				and c.`S_OFFER_STATUS`='IN_OFFER' 
-				and cg.`ID_MAIN_COSTS_GROUP`=47 
-				and p.`ID` is not NULL 
-				and cg.`A_STATUS` in('WAITING', 'NORMAL') 
-				and c.`A_STATUS` in('WAITING', 'NORMAL') 
-				and p.`A_STATUS` in('WAITING', 'NORMAL') 
+				p.`M_DIST_TYPE`='TV__UMOWA ZAKUPU KANALU'
+				and c.`S_OFFER_STATUS`='IN_OFFER'
+				and cg.`ID_MAIN_COSTS_GROUP`=47
+				and p.`ID` is not NULL
+				and cg.`A_STATUS` in('WAITING', 'NORMAL')
+				and c.`A_STATUS` in('WAITING', 'NORMAL')
+				and p.`A_STATUS` in('WAITING', 'NORMAL')
 				and p.`TV_SIGAL_DELIVERY` in ('DVB-SD', 'DVB-HD')
 				and cg.`POKAZ_NA_WWW`='TAK'
 			group by p.ID
@@ -471,13 +472,13 @@ class TvOfertaHelper {
 				left join `USERS2_OFFERS_COSTS` as c on(c.`ID_COSTS_GROUPS`=cg.`ID`)
 				left join `IN7_MK_BAZA_DYSTRYBUCJI` as p on(p.`ID`=c.`ID_PROJECT` and p.`M_DIST_TYPE`='TV__UMOWA ZAKUPU KANALU')
 			where
-				p.`M_DIST_TYPE`='TV__UMOWA ZAKUPU KANALU' 
-				and c.`S_OFFER_STATUS`='IN_OFFER' 
-				and cg.`ID`=2 
-				and p.`ID` is not NULL 
-				and cg.`A_STATUS` in('WAITING', 'NORMAL') 
-				and c.`A_STATUS` in('WAITING', 'NORMAL') 
-				and p.`A_STATUS` in('WAITING', 'NORMAL') 
+				p.`M_DIST_TYPE`='TV__UMOWA ZAKUPU KANALU'
+				and c.`S_OFFER_STATUS`='IN_OFFER'
+				and cg.`ID`=2
+				and p.`ID` is not NULL
+				and cg.`A_STATUS` in('WAITING', 'NORMAL')
+				and c.`A_STATUS` in('WAITING', 'NORMAL')
+				and p.`A_STATUS` in('WAITING', 'NORMAL')
 				and p.`TV_SIGAL_DELIVERY` in ('ANALOG')
 				-- and cg.`POKAZ_NA_WWW`='TAK'
 			group by p.ID