Conjunto de cambios 4334672 en sipes para 0.3-modules/sipp_pdf/sipp_pdf.module


Ignorar:
Fecha y hora:
26/07/2016 15:14:40 (hace 8 años)
Autor:
lhernandez <lhernandez@…>
Branches:
stable, version-3.0
Children:
1f4d2a5
Parents:
7e2cbfc
Mensaje:

se agrego el border de las tablas

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • 0.3-modules/sipp_pdf/sipp_pdf.module

    r3744773 r4334672  
    10421042function _sipp_pdf_proyecto_campos_pdf($node) {
    10431043  $pdf = _sipp_pdf_pdf_init();
    1044   $html = theme('proyecto_campos_ver_pdf', $node, $_SESSION[$node->nid]['proyectos_operativos_mostrar_campos']);
     1044  $html = '<style>
     1045    table {
     1046      width: 100%;
     1047      border-collapse: collapse;
     1048    }
     1049    tbody {
     1050      border-top: 1px solid #ccc;
     1051    }
     1052    tr td, tr th {
     1053      border: 1px solid #000000;
     1054      padding: 0 5em;
     1055   }
     1056   th {
     1057     text-align: left;
     1058     border: 1px solid #000000;
     1059   }
     1060  </style>';
     1061  $html .= theme('proyecto_campos_ver_pdf', $node, $_SESSION[$node->nid]['proyectos_operativos_mostrar_campos']);
    10451062  if ($pdf) {
    10461063    $title = t('Proyecto Operativo : @title', array('@title' => check_plain($node->title)));
     
    10621079function _sipp_pdf_datosfichaview($node) {
    10631080  $pdf = _sipp_pdf_pdf_init();
    1064   $html = theme('proyectos_operativos_mcti_ficha_proyecto', $node);
     1081  $html = '<style>
     1082    table {
     1083      width: 100%;
     1084      border-collapse: collapse;
     1085    }
     1086    tbody {
     1087      border-top: 1px solid #ccc;
     1088    }
     1089    tr td, tr th {
     1090      border: 1px solid #000000;
     1091      padding: 0 5em;
     1092   }
     1093   th {
     1094     text-align: left;
     1095     border: 1px solid #000000;
     1096   }
     1097  </style>';
     1098  $html .= theme('proyectos_operativos_mcti_ficha_proyecto', $node);
    10651099  if ($pdf) {
    10661100    $title = t('Ficha del Proyecto Operativo : @title', array('@title' => check_plain($node->title)));
     
    10831117function _sipp_pdf_datosaeview($ae) {
    10841118  $pdf = _sipp_pdf_pdf_init();
    1085   $html = node_view($ae);
     1119  $html = '<style>
     1120    table {
     1121      width: 100%;
     1122      border-collapse: collapse;
     1123    }
     1124    tbody {
     1125      border-top: 1px solid #ccc;
     1126    }
     1127    tr td, tr th {
     1128      border: 1px solid #000000;
     1129      padding: 0 5em;
     1130   }
     1131   th {
     1132     text-align: left;
     1133     border: 1px solid #000000;
     1134   }
     1135  </style>';
     1136  $html .= node_view($ae);
    10861137  if ($pdf) {
    10871138    $title = t('Acción Específica : @ae', array('@proyecto' => check_plain($ae->title)));
     
    11031154function _sipp_pdf_datosaelist($node) {
    11041155  $pdf = _sipp_pdf_pdf_init();
    1105   $html = theme('proyectos_operativos_datos_ae_list_pdf', $node);
     1156  $html = '<style>
     1157    table {
     1158      width: 100%;
     1159      border-collapse: collapse;
     1160    }
     1161    tbody {
     1162      border-top: 1px solid #ccc;
     1163    }
     1164    tr td, tr th {
     1165      border: 1px solid #000000;
     1166      padding: 0 5em;
     1167   }
     1168   th {
     1169     text-align: left;
     1170     border: 1px solid #000000;
     1171   }
     1172  </style>';
     1173  $html .= theme('proyectos_operativos_datos_ae_list_pdf', $node);
    11061174  if ($pdf) {
    11071175    $title = t('Acciones Específicas del Proyecto: @proyecto', array('@proyecto' => check_plain($node->title)));
     
    11521220    }
    11531221    tr td, tr th {
    1154       border: 1px solid #bbb;
     1222      border: 1px solid #000000;
    11551223      padding: 0 5em;
    11561224   }
    11571225   th {
    1158      background: #e6e6e6 none repeat scroll 0 0;
    11591226     text-align: left;
    1160    }
    1161    tr {
    1162      background-color: #fcfcfc;
     1227     border: 1px solid #000000;
    11631228   }
    11641229  </style>';
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.