SVN Alba r6284 - in prosistem/alba/trunk/alba: apps/principal/modules/boletin/templates plugins/albaToolsPlugin/modules/albaTools/actions web/css web/images
Author: ftoledo Date: 2009-10-06 16:47:37 -0300 (Tue, 06 Oct 2009) New Revision: 6284 Modified: prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/_mostrar.php prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php prosistem/alba/trunk/alba/web/css/boletin.css prosistem/alba/trunk/alba/web/css/impresion.css prosistem/alba/trunk/alba/web/images/logo.png Log: actulizacion de estilos para la impresion del boletin Modified: prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/_mostrar.php =================================================================== --- prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/_mostrar.php 2009-10-05 19:19:34 UTC (rev 6283) +++ prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/_mostrar.php 2009-10-06 19:47:37 UTC (rev 6284) @@ -3,18 +3,28 @@ <div class="save-ok"> <h2><?php echo $sf_user->getFlash('notice')?></h2> </div> + </br> <?php else:?> -<br/> <div id="boletin"> <div class="header"> - <?php echo $establecimiento->getNombre()?><br> - <?php echo $establecimiento->getDireccion()?> - <?php echo $establecimiento->getCiudad()?> - <?php echo $establecimiento->getCodigoPostal()?> - <?php echo $establecimiento->getTelefono()?> - <br/>BOLETÍN Ciclo Lectivo - <br/><br/><b>Alumno: <?php echo $alumno->getNombre()." ".$alumno->getApellido()?></b> - <b>Curso: <?php echo ($division->getAnio())?$division->getAnio()->getDescripcion():""?> <?php echo $division->getDescripcion()?> </b> + <table border="0" width="100%" cellpadding="1" cellspacing="1"> + <tr> + <td width="33%"> </td> + <td nowrap="nowrap"> + <?php echo $establecimiento->getNombre()?><br> + <?php echo $establecimiento->getDireccion()?> + <?php echo $establecimiento->getCiudad()?> + <?php echo $establecimiento->getCodigoPostal()?> + <?php echo $establecimiento->getTelefono()?> + <br/>BOLETÍN Ciclo Lectivo + <br/><br/><b>Alumno: <?php echo $alumno->getNombre()." ".$alumno->getApellido()?></b> + <b>Curso: <?php echo ($division->getAnio())?$division->getAnio()->getDescripcion():""?> <?php echo $division->getDescripcion()?> </b> + </td> + <td width="33%" align="left"> + <?php echo image_tag('logo.png' ,array('width'=> 100))?> + </td> + </tr> + </table> </div> <table class="notas" cellpadding="2" cellspacing="2" align="center"> <tbody> @@ -58,34 +68,19 @@ <?php endforeach;?> </tbody> </table> - <br/> -<br/> - -<table width="100%"> +<table width="60%" cellspacing="10" align="center" cellpadding="1"> <tr> <td>Observaciones:</td> <td> </td> <td>Pendientes:</td> </tr> - + <tr><td colspan="3"> </td></tr> <tr> - <td> </td> - <td> </td> - <td> </td> + <td align="center" width="33%" nowrap="nowrap"><hr style="border: 1px dotted"/><?php echo $establecimiento->getRector()?>, Rector</td> + <td align="center"><hr style="border: 1px dotted"/>Alumno</td> + <td align="center" nowrap="nowrap" width="33%"><hr style="border: 1px dotted"/>Padre, Madre o Tutor</td> </tr> - - <tr> - <td><hr width="100px"/></td> - <td><hr width="100px"/></td> - <td><hr width="100px"/></td> - </tr> - - <tr> - <td align="center"><?php echo $establecimiento->getRector()?>, Rector</td> - <td align="center">Alumno</td> - <td align="center">Padre, Madre o Tutor</td> - </tr> </table> </div> Modified: prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php =================================================================== --- prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php 2009-10-05 19:19:34 UTC (rev 6283) +++ prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php 2009-10-06 19:47:37 UTC (rev 6284) @@ -24,7 +24,7 @@ $back_color = ImageColorAllocate ($img_handle, 255, 255,255 ); $txt_color = ImageColorAllocate ($img_handle, 0, 0, 0); ImageFill($img_handle,0,0, $back_color); - ImageStringUp ($img_handle, $this->font, 0,$alto - (imagefontwidth($this->font)/2), $texto, $txt_color); + ImageStringUp ($img_handle, $this->font, 0,$alto - (imagefontwidth($this->font)/2),$texto, $txt_color); ImagePng ($img_handle); ImageDestroy($img_handle); return sfView::NONE; Modified: prosistem/alba/trunk/alba/web/css/boletin.css =================================================================== --- prosistem/alba/trunk/alba/web/css/boletin.css 2009-10-05 19:19:34 UTC (rev 6283) +++ prosistem/alba/trunk/alba/web/css/boletin.css 2009-10-06 19:47:37 UTC (rev 6284) @@ -1,26 +1,21 @@ #boletin { text-align:center; -border: 1px solid; +border: 1px solid; padding: 1px; } #boletin .header { -height: 152px; +height: 100px; text-align:center; -font-size: 12px; +font-size: 12px; font-weight: bold; -text-transform: uppercase; -background-image:url(../images/logo.png); -background-repeat: no-repeat; -background-position: right; +text-transform: uppercase; vertical-align: center; -align: center; } #boletin table.notas { -width: 766px; -height: 143px; -border-collapse: collapse; +width: 766px; +border-collapse: collapse; border-left: 2px solid; border-bottom: 1px solid; } Modified: prosistem/alba/trunk/alba/web/css/impresion.css =================================================================== --- prosistem/alba/trunk/alba/web/css/impresion.css 2009-10-05 19:19:34 UTC (rev 6283) +++ prosistem/alba/trunk/alba/web/css/impresion.css 2009-10-06 19:47:37 UTC (rev 6284) @@ -11,5 +11,27 @@ display : none; } +#boletin { +text-align:center; +padding: 5px; +} +#boletin .header { +text-align:center; +font-size: 12px; +font-weight: bold; +text-transform: uppercase; +vertical-align: center; +} +#boletin table.notas{ +width: 600px; +border-collapse: collapse; +border-left: 2px solid; +border-bottom: 1px solid; +} +#boletin table.notas td{ +border-right: 1px solid; +border-top: 1px solid; +border +} Modified: prosistem/alba/trunk/alba/web/images/logo.png =================================================================== (Binary files differ)
participants (1)
-
commits@pressenter.com.ar