[Alba-desarrollo] SVN Alba r4150 - in prosistem/alba/trunk/alba:
apps/principal/modules apps/principal/modules/informes
apps/principal/modules/informes/actions
apps/principal/modules/informes/config
apps/principal/modules/informes/templates
apps/principal/modules/informes/validate
apps/principal/modules/usuario/actions
apps/principal/templates data/sql web/css
commits en pressenter.com.ar
commits en pressenter.com.ar
Vie Feb 2 20:27:15 CET 2007
Author: josx
Date: 2007-02-02 16:27:12 -0300 (Fri, 02 Feb 2007)
New Revision: 4150
Added:
prosistem/alba/trunk/alba/apps/principal/modules/informes/
prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/
prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/acti=
ons.class.php
prosistem/alba/trunk/alba/apps/principal/modules/informes/config/
prosistem/alba/trunk/alba/apps/principal/modules/informes/config/secur=
ity.yml
prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/
prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/al=
umnosPorDivisionFormularioSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/al=
umnosPorDivisionListadoSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/
prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/alu=
mnosPorDivisionListado.yml
prosistem/alba/trunk/alba/web/css/impresion.css
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/usuario/actions/actio=
ns.class.php
prosistem/alba/trunk/alba/apps/principal/templates/layout.php
prosistem/alba/trunk/alba/data/sql/actualizacion_1.0b_a_1.0rc.sql
prosistem/alba/trunk/alba/data/sql/datos_desde_cero.sql
Log:
Se sumo un css para la impresion y el modulo informes. Tambien el informe=
de alumnos por division ( ticket # 71 )=20
Added: prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/=
actions.class.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/act=
ions.class.php 2007-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/act=
ions.class.php 2007-02-02 19:27:12 UTC (rev 4150)
@@ -0,0 +1,101 @@
+<?php
+/**
+ * This file is part of Alba.
+ *
+ * Alba is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published =
by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Alba is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Alba; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1=
301 USA
+ */
+
+
+/**
+ * informes actions
+ *
+ * @package alba
+ * @author Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author Fernando Toledo <ftoledo en pressenter.com.ar>
+ * @version SVN: $Id: actions.class.php 4099 2007-01-29 18:59:24Z jos=
x $
+ * @filesource
+ * @license GPL
+ */
+
+class InformesActions extends sfActions
+{
+
+ public function preExecute() {
+ $this->vista =3D $this->getRequestParameter('vista');
+ }
+
+
+/**
+ * Informe: Alumnos por Division=20
+ *
+ */
+
+ public function handleErrorAlumnosPorDivisionListado() {
+ $this->forward('informes','alumnosPorDivisionFormulario');
+ }
+
+ public function executeAlumnosPorDivisionFormulario() {
+ // inicializando variables
+ $optionsDivision =3D array();
+ =20
+ // tomando los datos del formulario
+ $division_id =3D $this->getRequestParameter('division_id');
+
+ // llenando el combo de division segun establecimiento
+ $establecimiento_id =3D $this->getUser()->getAttribute('fk_estab=
lecimiento_id');
+ $criteria =3D new Criteria();
+ $criteria->add(AnioPeer::FK_ESTABLECIMIENTO_ID, $establecimiento=
_id);
+ $divisiones =3D DivisionPeer::doSelectJoinAnio($criteria);
+ $optionsDivision[''] =3D "";
+ foreach($divisiones as $division) {
+ $optionsDivision[$division->getId()] =3D $division->getAnio(=
)->getDescripcion()." ".$division->getDescripcion();
+ }
+ asort($optionsDivision);
+ =20
+ // asignando variables para ser usadas en el template
+ $this->optionsDivision =3D $optionsDivision;
+ $this->division_id =3D $division_id;
+ }
+ =20
+ public function executeAlumnosPorDivisionListado() {
+
+ // inicializando variables
+ $aAlumno =3D array(); =20
+
+ // tomando los datos del formulario
+ $division_id =3D $this->getRequestParameter('division_id');
+
+ // buscando division
+ $division =3D DivisionPeer::retrieveByPK($division_id);
+ =20
+ // buscando alumnos
+ $criteria =3D new Criteria();
+ $criteria->add(DivisionPeer::ID, $division_id);
+ $criteria->addJoin(RelAlumnoDivisionPeer::FK_ALUMNO_ID, AlumnoPe=
er::ID);
+ $criteria->addJoin(RelAlumnoDivisionPeer::FK_DIVISION_ID, Divisi=
onPeer::ID);
+ $criteria->addAscendingOrderByColumn(AlumnoPeer::APELLIDO);
+
+ $alumnos =3D AlumnoPeer::doSelect($criteria);
+
+ // asignando variables para ser usadas en el template =20
+ $this->aAlumno =3D $alumnos;
+ $this->division =3D $division;
+
+ $this->vista =3D "imprimir";
+
+ } =20
+
+}
\ No newline at end of file
Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/inf=
ormes/actions/actions.class.php
___________________________________________________________________
Name: svn:keywords
+ "Id Author URL Date Rev"
Added: prosistem/alba/trunk/alba/apps/principal/modules/informes/config/s=
ecurity.yml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/config/secu=
rity.yml 2007-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/config/secu=
rity.yml 2007-02-02 19:27:12 UTC (rev 4150)
@@ -0,0 +1,4 @@
+all:
+ is_secure: on
+ credentials: informes
+ =20
\ No newline at end of file
Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/inf=
ormes/config/security.yml
___________________________________________________________________
Name: svn:keywords
+ "Id Author URL Date Rev"
Added: prosistem/alba/trunk/alba/apps/principal/modules/informes/template=
s/alumnosPorDivisionFormularioSuccess.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/a=
lumnosPorDivisionFormularioSuccess.php 2007-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/a=
lumnosPorDivisionFormularioSuccess.php 2007-02-02 19:27:12 UTC (rev 4150)
@@ -0,0 +1,30 @@
+<h1>Informe: Alumnos por Divisón </h1>
+
+<?php if ($sf_request->hasErrors()) {?>
+<div class=3D"form-errors">
+<h2><?php echo __('There are some errors that prevent the form to valida=
te') ?></h2>
+<ul>
+<?php foreach ($sf_request->getErrorNames() as $name) { ?>
+ <li><?php echo $sf_request->getError($name) ?></li>
+<?php } ?>
+</ul>
+</div>
+<? } ?>=20
+
+<?php echo form_tag('informes/alumnosPorDivisionListado', 'id=3Dsf_admin=
_edit_form name=3Dsf_admin_edit_form multipart=3Dtrue') ?>
+
+<fieldset id=3D"sf_fieldset_none" class=3D"">
+ <div class=3D"form-row">
+ <?php echo label_for('division', __('Division:')) ?>
+ <?php echo select_tag('division_id', options_for_select($options=
Division, $division_id)) ?>
+ </div>
+</fieldset>
+
+<ul class=3D"sf_admin_actions">
+ <li><?php echo submit_tag(__('Buscar'), array (
+ 'name' =3D> 'Mostrar',
+ 'class' =3D> 'sf_admin_action_save',
+)) ?></li>
+</ul>
+
+</form>
Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/inf=
ormes/templates/alumnosPorDivisionFormularioSuccess.php
___________________________________________________________________
Name: svn:keywords
+ "Id Author URL Date Rev"
Added: prosistem/alba/trunk/alba/apps/principal/modules/informes/template=
s/alumnosPorDivisionListadoSuccess.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/a=
lumnosPorDivisionListadoSuccess.php 2007-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/a=
lumnosPorDivisionListadoSuccess.php 2007-02-02 19:27:12 UTC (rev 4150)
@@ -0,0 +1,40 @@
+<h1>Alumnos de la Divisón <?php echo $division->getAnio()->getDe=
scripcion()." ".$division->getDescripcion()?> </h1>
+
+<? if(count($aAlumno)>0) { ?>
+
+<table cellspacing=3D"0" class=3D"sf_admin_list">
+ <thead>
+ <tr>
+ <th id=3D"sf_admin_list_th_apellido">Apellido</th>
+ <th id=3D"sf_admin_list_th_nombre">Nombre</th>
+ <th id=3D"sf_admin_list_th_nro_documentot">Nro. Documento</th>
+ <th id=3D"sf_admin_list_th_Sexo">Sexo</th>
+ <th id=3D"sf_admin_list_th_provincia">Dirección</th>
+ <th id=3D"sf_admin_list_th_ciudad">Ciudad</th>
+ <th id=3D"sf_admin_list_th_provincia">Provincia</th>
+ <th id=3D"sf_admin_list_th_Telefono">Teléfono</th>
+ </tr>
+ </thead>
+
+ <tbody>
+<?
+ foreach($aAlumno as $alumno) {
+?>
+ <tr class=3D"sf_admin_row_0">
+ <td><?=3D$alumno->getApellido();?></td>
+ <td><?=3D$alumno->getNombre();?></td>
+ <td><?=3D($alumno->getTipoDocumento())?$alumno->getTipoDocumento()->=
getNombre():"";?> <?echo $alumno->getNroDocumento();?></td>
+ <td><?=3D$alumno->getSexo();?></td>
+ <td><?=3D$alumno->getDireccion();?></td>
+ <td><?=3D$alumno->getCiudad();?></td>
+ <td><?=3D($alumno->getProvincia())?$alumno->getProvincia()->getNombr=
eLargo():"";?></td>
+ <td><?=3D$alumno->getTelefono();?></td>
+
+ </tr>
+ <?}?>
+ </tbody>
+</table>
+
+<? } else { ?>
+No hay Alumnos en esa división
+<? } ?>
\ No newline at end of file
Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/inf=
ormes/templates/alumnosPorDivisionListadoSuccess.php
___________________________________________________________________
Name: svn:keywords
+ "Id Author URL Date Rev"
Added: prosistem/alba/trunk/alba/apps/principal/modules/informes/validate=
/alumnosPorDivisionListado.yml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/al=
umnosPorDivisionListado.yml 2007-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/al=
umnosPorDivisionListado.yml 2007-02-02 19:27:12 UTC (rev 4150)
@@ -0,0 +1,11 @@
+methods:
+ post: [ division_id ]
+
+fillin:
+ enabled: on
+ =20
+names:
+ division_id:
+ required: Yes
+ required_msg: El campo División es obligatorio
+eee
\ No newline at end of file
Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/inf=
ormes/validate/alumnosPorDivisionListado.yml
___________________________________________________________________
Name: svn:keywords
+ "Id Author URL Date Rev"
Modified: prosistem/alba/trunk/alba/apps/principal/modules/usuario/action=
s/actions.class.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/usuario/actions/acti=
ons.class.php 2007-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/modules/usuario/actions/acti=
ons.class.php 2007-02-02 19:27:12 UTC (rev 4150)
@@ -23,8 +23,8 @@
* Usuario Acciones
*
* @package alba
- * @author Jos=E9 Luis Di Biase <josx en interorganic.com.ar>
- * @author H=E9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
* @author Fernando Toledo <ftoledo en pressenter.com.ar>
* @version SVN: $Id$
* @filesource
@@ -116,11 +116,13 @@
$c->add(RelUsuarioPermisoPeer::FK_USUARIO_ID, $this->getRequestP=
arameter('id'));
$usuarioPermisos =3D RelUsuarioPermisoPeer::doSelectJoinPermiso(=
$c);
=20
- $this->optionsUsuarioPermisos =3D array();
+ $optionsUsuarioPermisos =3D array();
foreach($usuarioPermisos as $usuarioPermiso) {
- $this->optionsUsuarioPermisos[$usuarioPermiso->getFkPermisoI=
d()] =3D $usuarioPermiso->getPermiso()->getNombre();
+ $optionsUsuarioPermisos[$usuarioPermiso->getFkPermisoId()] =3D=
$usuarioPermiso->getPermiso()->getNombre();
}
+ $this->optionsUsuarioPermisos =3D $optionsUsuarioPermisos;
=20
+
// estos son todos los permisos existentes
$todosLosPermisos =3D array();
if($this->getRequestParameter('rolId')) {
@@ -150,11 +152,11 @@
$c->add(RolPeer::ACTIVO, 1);
$roles =3D RolPeer::doSelect($c);
=20
- $this->optionsRol =3D array( '' =3D> 'Todos'); // muy feo
+ $optionsRol =3D array( '' =3D> 'Todos'); // muy feo
foreach($roles as $rol) {
- $this->optionsRol[$rol->getId()] =3D $rol->getNombre();
+ $optionsRol[$rol->getId()] =3D $rol->getNombre();
}
- =
=20
+ $this->optionsRol =3D $optionsRol;
}
=20
function executeSavePermiso() {
Modified: prosistem/alba/trunk/alba/apps/principal/templates/layout.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/templates/layout.php 2007-02=
-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/apps/principal/templates/layout.php 2007-02=
-02 19:27:12 UTC (rev 4150)
@@ -10,9 +10,7 @@
case 'imprimir': =20
echo include_http_metas();
echo include_metas();
-?><link rel=3D"stylesheet" type=3D"text/css" media=3D"screen" href=3D"/~=
josx/alba/sf/css/sf_web_debug/main.css" />
-<link rel=3D"stylesheet" type=3D"text/css" media=3D"screen" href=3D"/~jo=
sx/alba/sf/css/sf_admin/main.css" />
-<link rel=3D"stylesheet" type=3D"text/css" media=3D"screen" href=3D"/~jo=
sx/alba/css/main.css" /><?
+?><link rel=3D"stylesheet" type=3D"text/css" href=3D"/~josx/alba/css/imp=
resion.css" /><?
echo $content;
break;
default: ?>
Modified: prosistem/alba/trunk/alba/data/sql/actualizacion_1.0b_a_1.0rc.s=
ql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/data/sql/actualizacion_1.0b_a_1.0rc.sql 200=
7-02-02 15:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/data/sql/actualizacion_1.0b_a_1.0rc.sql 200=
7-02-02 19:27:12 UTC (rev 4150)
@@ -3,3 +3,6 @@
ALTER TABLE `responsable` ADD `observacion` VARCHAR( 255 ) NULL AFTER `r=
elacion` ;
=20
ALTER TABLE `adjunto` CHANGE `ruta` `ruta` VARCHAR(255) NOT NULL;
+
+INSERT INTO permiso (id, nombre, descripcion, credencial, fk_modulo_id) =
VALUES (58, 'tipodocumento', 'tipodocumento', 'tipodocumento', 46);
+INSERT INTO permiso (id, nombre, descripcion, credencial, fk_modulo_id) =
VALUES (59, 'informes', 'informes', 'informes', 47);
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/data/sql/datos_desde_cero.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/data/sql/datos_desde_cero.sql 2007-02-02 15=
:09:18 UTC (rev 4149)
+++ prosistem/alba/trunk/alba/data/sql/datos_desde_cero.sql 2007-02-02 19=
:27:12 UTC (rev 4150)
@@ -244,9 +244,9 @@
INSERT INTO `menu` (`id`, `nombre`, `link`, `perm`, `fk_padre_menu_id`, =
`orden`) VALUES (87, 'Locaciones y Espacios', '#', '', 71, 50);
INSERT INTO `menu` (`id`, `nombre`, `link`, `perm`, `fk_padre_menu_id`, =
`orden`) VALUES (88, 'Listar Todos', 'alumno/list', 'alumno', 4, 2);
INSERT INTO `menu` (`id`, `nombre`, `link`, `perm`, `fk_padre_menu_id`, =
`orden`) VALUES (89, 'Tipo Documento', 'tipodocumento', '', 83, 40);
+INSERT INTO `menu` (`id`, `nombre`, `link`, `perm`, `fk_padre_menu_id`, =
`orden`) VALUES (90, 'Alumnos por divsión', 'informes/alumnosPorDi=
visionFormulario', 'informes', 9, 0);
=20
=20
-
--=20
-- Volcar la base de datos para la tabla 'modulo'
--=20
@@ -297,6 +297,7 @@
INSERT INTO modulo (id, nombre, titulo, descripcion, activo) VALUES (44,=
'legajopedagogico', 'legajopdagogico', '', 1);
INSERT INTO modulo (id, nombre, titulo, descripcion, activo) VALUES (45,=
'Boletin', 'Boletin', '', 1);
INSERT INTO modulo (id, nombre, titulo, descripcion, activo) VALUES (46,=
'tipodocumento', 'Tipo Documento', 'Tipo Documento', 1);
+INSERT INTO modulo (id, nombre, titulo, descripcion, activo) VALUES (47,=
'informes', 'informes', 'informes', 1);
=20
--=20
-- Volcar la base de datos para la tabla 'niveltipo'
@@ -386,6 +387,7 @@
INSERT INTO permiso (id, nombre, descripcion, credencial, fk_modulo_id) =
VALUES (56, 'boletinconcepto', 'boletinconcepto', 'boletinconcepto', 45);
INSERT INTO permiso (id, nombre, descripcion, credencial, fk_modulo_id) =
VALUES (57, 'boletinnotas', 'boletinnotas', 'boletinnotas', 45);
INSERT INTO permiso (id, nombre, descripcion, credencial, fk_modulo_id) =
VALUES (58, 'tipodocumento', 'tipodocumento', 'tipodocumento', 46);
+INSERT INTO permiso (id, nombre, descripcion, credencial, fk_modulo_id) =
VALUES (59, 'informes', 'informes', 'informes', 47);
=20
--=20
-- Volcar la base de datos para la tabla 'preferencia'
@@ -517,6 +519,7 @@
INSERT INTO rel_usuario_permiso (id, fk_usuario_id, fk_permiso_id) VALUE=
S (50, 1, 35);
INSERT INTO rel_usuario_permiso (id, fk_usuario_id, fk_permiso_id) VALUE=
S (51, 1, 1);
INSERT INTO rel_usuario_permiso (id, fk_usuario_id, fk_permiso_id) VALUE=
S (52, 1, 58);
+INSERT INTO rel_usuario_permiso (id, fk_usuario_id, fk_permiso_id) VALUE=
S (53, 1, 59);
=20
--=20
-- Volcar la base de datos para la tabla 'rel_usuario_preferencia'
Added: prosistem/alba/trunk/alba/web/css/impresion.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/web/css/impresion.css 2007-02-02 15:09:18 U=
TC (rev 4149)
+++ prosistem/alba/trunk/alba/web/css/impresion.css 2007-02-02 19:27:12 U=
TC (rev 4150)
@@ -0,0 +1,320 @@
+ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,inpu=
t
+{ margin: 0; padding: 0; }
+a img,:link img,:visited img { border: none; }
+
+a:link, a:visited
+{
+ text-decoration: none;
+}
+
+a:hover
+{
+ text-decoration: underline;
+}
+
+body, td
+{
+ margin: 0;
+ padding: 20px;
+ font-family: Arial, sans-serif;
+ font-size: 11px;
+ background-color: #fff;
+}
+
+p
+{
+ margin-bottom: 5px;
+}
+
+#sf_admin_bar
+{
+ margin-top: 8px;
+ position: absolute;
+ right: 20px;
+ width: 250px;
+}
+
+#sf_admin_content
+{
+ margin-right: 270px;
+}
+
+h1
+{
+ margin: 8px 0;
+ padding: 3px;
+ padding-left: 0px;
+ color: #555;
+ font-family: "Trebuchet MS", Arial, Verdana, sans-serif;
+ font-size: 25px;
+}
+
+fieldset h2
+{
+ padding: 3px;
+ color: #333;
+ background-color: #ccf;
+ font-size: 11px;
+}
+
+input, textarea, select
+{
+ padding: 3px;
+ font-family: Arial, sans-serif;
+ font-size: 11px;
+ border: 1px solid #ddd;
+ vertical-align:middle;
+}
+
+label
+{
+ display: block;
+ padding: 0 1em 3px 0;
+ float: left;
+ text-align: left;
+ width: 8em;
+ color: #666;
+ font-weight: normal !important;
+}
+
+label.required
+{
+ color: #333 !important;
+ font-weight: bold !important;
+}
+
+.save-ok
+{
+ margin-bottom: 10px;
+ border: 1px solid #73B65A;
+}
+
+.save-ok h2
+{
+ margin: 0 !important;
+ padding: 5px 20px 5px 25px;
+ font-size: 11px;
+ color: #fff;
+ background: #73B65A url(/sf/images/sf_admin/ok.png) no-repeat 5px 2px;
+}
+
+.form-row
+{
+ clear: both;
+ padding: 10px;
+ border-bottom: 1px solid #ddd;
+}
+
+.form-row .content
+{
+ padding-left: 9em;
+}
+
+.form-errors
+{
+ margin-bottom: 10px;
+ border: 1px solid #f33;
+ background-color: #ffc;
+}
+
+.form-errors h2
+{
+ padding: 5px 20px 5px 25px;
+ font-size: 11px;
+ color: #fff;
+ background: #f33 url(/sf/images/sf_admin/error.png) no-repeat 5px 2px;
+}
+
+.form-errors ul
+{
+ padding: 5px;
+ list-style-type: none;
+}
+
+.form-errors li
+{
+ padding: 5px 20px;
+ background: url(/sf/images/sf_admin/error.png) no-repeat 0 2px;
+}
+
+.form-error
+{
+ color: #f33;
+}
+
+.form-error input, .form-error select, .form-error textarea
+{
+ border: 1px solid #f33;
+}
+
+fieldset
+{
+ margin-bottom: 3px;
+ border: 1px solid #ddd;
+ border-bottom: 0px;
+ background-color: #fff;
+}
+
+fieldset.collapsed * { display:none; }
+fieldset.collapsed h2, fieldset.collapsed { display:block !important; }
+fieldset.collapsed .collapse-toggle { display: inline !important; }
+fieldset.collapse h2 a.collapse-toggle { color:#ffc; }
+fieldset.collapse h2 a.collapse-toggle:hover { text-decoration:underline=
; }
+
+.float-left
+{
+ float: left;
+}
+
+.float-right
+{
+ float: right;
+}
+
+ul.sf_admin_td_actions
+{
+ list-style-type: none;
+}
+
+ul.sf_admin_td_actions li
+{
+ list-style-type: none;
+ display: inline;
+}
+
+ul.sf_admin_actions
+{
+ margin: 10px 0;
+ list-style-type: none;
+ text-align: right;
+}
+
+ul.sf_admin_actions a
+{
+ color: #333;
+}
+
+ul.sf_admin_actions li
+{
+ list-style-type: none;
+ display: inline;
+}
+
+ul.sf_admin_actions input
+{
+ padding: 3px 3px 3px 20px;
+ color: #333;
+ font-size: 11px;
+ font-family: Arial, sans-serif;
+ border: 0px;
+ border-right: 4px solid #999;
+ background-color: #ffc;
+ cursor: hand;
+ cursor: pointer;
+}
+
+.sf_admin_action_create
+{
+ background: url(/sf/images/sf_admin/add.png) no-repeat 3px 2px;
+ border-right: 4px solid #73B65A !important;
+}
+
+.sf_admin_action_save
+{
+ background: url(/sf/images/sf_admin/save.png) no-repeat 3px 2px;
+ border-right: 4px solid #73B65A !important;
+}
+
+.sf_admin_action_save_and_add
+{
+ background: url(/sf/images/sf_admin/save.png) no-repeat 3px 2px;
+ border-right: 4px solid #73B65A !important;
+}
+
+.sf_admin_action_delete
+{
+ background: url(/sf/images/sf_admin/delete.png) no-repeat 3px 2px;
+ border-right: 4px solid #E75C58 !important;
+}
+
+.sf_admin_action_cancel
+{
+ background: url(/sf/images/sf_admin/cancel.png) no-repeat 3px 2px;
+ border-right: 4px solid #E75C58 !important;
+}
+
+.sf_admin_action_filter
+{
+ background: url(/sf/images/sf_admin/filter.png) no-repeat 3px 2px;
+ border-right: 4px solid #66f !important;
+}
+
+.sf_admin_action_reset_filter
+{
+ background: url(/sf/images/sf_admin/reset.png) no-repeat 3px 2px;
+ border-right: 4px solid #E75C58 !important;
+}
+
+.sf_admin_action_list
+{
+ background: url(/sf/images/sf_admin/list.png) no-repeat 3px 2px;
+ border-right: 4px solid #66f !important;
+}
+
+.sf_admin_default_action
+{
+ background-color: #fc6 !important;
+ font-weight: bold !important;
+}
+
+.sf_admin_list
+{
+ width: 100%;
+ border: 1px solid #ddd;
+ border-bottom: 0px;
+ border-right: 0px;
+}
+
+.sf_admin_list th
+{
+ padding: 2px;
+ background-color: #ccf;
+ text-align: left;
+}
+
+.sf_admin_list th a
+{
+ color: #333;
+}
+
+.sf_admin_list td
+{
+ padding: 3px;
+ border-bottom: 1px solid #ddd;
+ border-right: 1px solid #ddd;
+}
+
+.sf_admin_filters li
+{
+ list-style-type: none;
+}
+
+.sf_admin_row_0 td
+{
+ =20
+}
+
+.sf_admin_row_1 td
+{
+ background-color: #eef;
+}
+
+.sf_admin_edit_help
+{
+ color: #aaa;
+}
+
+.mceEditor td
+{
+ padding: 0px;
+}
Property changes on: prosistem/alba/trunk/alba/web/css/impresion.css
___________________________________________________________________
Name: svn:keywords
+ Id Date Author Rev URL
Más información sobre la lista de distribución Alba-desarrollo