Ver Fonte

Fixed some little bugs from a pre-mature commit...

root há 10 anos atrás
pai
commit
63075d1d4c

+ 0 - 70
theme/blast_report.css~

@@ -1,70 +0,0 @@
-#report h4 { 
-  margin: 0px; 
-  padding: 0px;
-}
-#report img { 
-  float:right;
-}
-#report ul { 
-  margin:10px 0 10px 10px; 
-  padding: 0px; 
-}
-#report th { 
-/**
-  background: #7CB8E2 url(header_bkg.png) repeat-x scroll center left; 
-  color: #fff;
-  padding: 7px 50px; */
-  text-align: left;
-}
-#report td { 
-/**
-  background:#C7DDEE none repeat-x scroll center left; 
-  color:#000;
-  padding:7px 50px; 
-*/
-}
-#report tr.odd td { 
-/** 
-  background:#fff url(row_bkg.png) repeat-x scroll center left; */
-  cursor:pointer; 
-}
-#report div.arrow { 
-  background:transparent url(arrows.png) no-repeat scroll 0px -16px; 
-  width:16px; 
-  height:16px; 
-  display:block;
-}
-#report div.up { 
-  background-position:0px 0px;
-}
-#alignmentContent{
-/**
-  width: 600px; 
-  height:130px; 
-*/
-/**
-  border-style: solid; 
-  border-width: 0.5px; 
-  border-color:#C7DDEE; 
-*/
-  box-sizing:border-box; 
-  overflow-x:scroll; 
-  overflow-y: hidden; 
-  white-space: nowrap;
-}
-#report td.number, #report th.number {
-  width: 10px;
-}
-#report td.arrow-col, #report th.arrow-col {
-  width: 10px;
-}
-
-/**
- * Alignment
- */
-#report .alignment {
-  font-family: monospace;
-}
-#report .alignment-title {
-  font-weight: bold;
-}

+ 1 - 1
theme/blast_report.tpl.php

@@ -53,7 +53,7 @@ foreach($xml->{'BlastOutput_iterations'}->children() as $iteration) {
         'data' => array(
         'data' => array(
           'number' => array('data' => $count, 'class' => array('number')),
           'number' => array('data' => $count, 'class' => array('number')),
           'query' => array('data' => $query_name, 'class' => array('query')),
           'query' => array('data' => $query_name, 'class' => array('query')),
-          'hit' => array('data' => l($hit_name,''), 'class' => array('hit')),
+          'hit' => array('data' => $hit_name, 'class' => array('hit')),
           'evalue' => array('data' => $evalue, 'class' => array('evalue')),
           'evalue' => array('data' => $evalue, 'class' => array('evalue')),
           'arrow-col' => array('data' => '<div class="arrow"></div>', 'class' => array('arrow-col'))
           'arrow-col' => array('data' => '<div class="arrow"></div>', 'class' => array('arrow-col'))
         ),
         ),

+ 0 - 1
theme/blast_report_alignment_row.tpl.php

@@ -2,7 +2,6 @@
 /**
 /**
  * This Template generates the HTML for a single Alignment row in a BLAST report
  * This Template generates the HTML for a single Alignment row in a BLAST report
  */
  */
-dpm($HSPs, 'HPSPs');
 ?>
 ?>
 
 
 <div class="title">Alignment</div>
 <div class="title">Alignment</div>

+ 0 - 14
theme/blast_ui.theme.inc~

@@ -1,14 +0,0 @@
-<?php
-
-function blast_ui_preprocess_blast_show_report(&$vars) {
-
-dpm('in preprocess');
-   $path = drupal_get_path('module', 'blast_ui');
- 
-   drupal_add_css($path . '/theme/blast_report.css');
-   drupal_add_js('http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js');
-
-}
-
-
-?>