Project

General

Profile

« Previous | Next » 

Revision ade2b1f0

Added by Katja Luther about 5 years ago

fix css for specimens

View differences:

modules/cdm_dataportal/cdm_dataportal.css
26 26
dl  {
27 27
    margin: 0 0 0 2em;
28 28
}
29

  
30

  
29 31
dd.sublist-container div {
30 32
    /* background-color: #ebffff; */
31 33
    border: #444444 1px dotted;
......
724 726
    padding: 0;
725 727
}
726 728

  
727
#specimens ul {
729
.specimens ul {
728 730
    list-style-type: none;
729 731
    list-style-image: none;
730

  
731 732
}
732
#specimens .item-list li{
733 733

  
734
#specimens .item-list li{
734 735
    padding: 0 ;
735 736
}
736 737

  
modules/cdm_dataportal/includes/occurrences.inc
700 700

  
701 701
        $derivatives[] = drupal_render($occurrence_elements);
702 702
        // all footnotes which has been assembled so far (e.g. from typeDesignations) to here
703
        $foonote_li_elements = theme('cdm_footnotes', array('footnoteListKey' => RenderHints::getFootnoteListKey(), 'enclosingTag' => 'span'));
704
        if (!empty($foonote_li_elements)) {
705
            $derivatives[] =  array(
706
                '#markup' =>  '<div class="footnotes">' . $foonote_li_elements . '</div>',
707
            );
708
        }
703
//       $foonote_li_elements = theme('cdm_footnotes', array('footnoteListKey' => RenderHints::getFootnoteListKey(), 'enclosingTag' => 'span'));
704
//        if (!empty($foonote_li_elements)) {
705
//            $derivatives[] =  array(
706
//                '#markup' =>  '<div class="footnotes">' . $foonote_li_elements . '</div>',
707
//            );
708
//        }
709 709

  
710 710
        // --- recurse into originals
711 711
        if (!isset($derivedFrom)  && !$isSpecimen_page) {
modules/cdm_dataportal/includes/pages.inc
1279 1279

  
1280 1280

  
1281 1281
 // $detail_html = compose_cdm_specimen_or_observation($specimen_uuid, true);
1282
    $render_array['markup'] = array(
1283
        '#prefix' => '<div id="specimens" class="page">',
1284
        'content' => $specimen_table,
1285
        '#suffix' => '</div>',
1286
    );
1282
//    $render_array['markup'] = array(
1283
//        '#prefix' => '<div id="specimens" class="page">',
1284
//        'content' => $specimen_table,
1285
//        '#suffix' => '</div>',
1286
//    );
1287
    $render_array['markup'] =  $specimen_table;
1287 1288

  
1288 1289
  RenderHints::popFromRenderStack();
1289 1290
  return $render_array;

Also available in: Unified diff