|
@@ -0,0 +1,156 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+?>
|
|
|
+
|
|
|
+<?php
|
|
|
+
|
|
|
+
|
|
|
+$feature = $variables['node']->feature;
|
|
|
+?>
|
|
|
+<script type="text/javascript">
|
|
|
+if (Drupal.jsEnabled) {
|
|
|
+ $(document).ready(function() {
|
|
|
+
|
|
|
+ $(".tripal-info-box").hide();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ $(".tripal-info-box-title").each(function(){
|
|
|
+ var parent = $(this).parent();
|
|
|
+ var id = $(parent).attr('id');
|
|
|
+ var title = $(this).text();
|
|
|
+ $('#tripal_feature_toc_list').append('<li><a href="#'+id+'" class="tripal_feature_toc_item">'+title+'</a></li>');
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ $(".tripal_feature_toc_item").click(function(){
|
|
|
+ $(".tripal-info-box").hide();
|
|
|
+ href = $(this).attr('href');
|
|
|
+ $(href).fadeIn('slow');
|
|
|
+
|
|
|
+
|
|
|
+ $("#tripal_feature_toc").height($(href).parent().height());
|
|
|
+ return false;
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ $("#tripal_feature-base-box").show();
|
|
|
+ $("#tripal_organism_toc").height($("#tripal_feature-base-box").parent().height());
|
|
|
+ });
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style type="text/css">
|
|
|
+
|
|
|
+ in the main CSS files for the theme as it is anticipated that the
|
|
|
+ elements on this page may not be used for other customizations */
|
|
|
+
|
|
|
+ float: left;
|
|
|
+ width: 350px;
|
|
|
+ background-color:
|
|
|
+ -moz-border-radius: 15px;
|
|
|
+ border-radius: 15px;
|
|
|
+ -moz-box-shadow: 3px 3px 4px
|
|
|
+ -webkit-box-shadow: 3px 3px 4px
|
|
|
+ box-shadow: 3px 3px 4px
|
|
|
+ padding: 20px;
|
|
|
+ min-height: 500px;
|
|
|
+ border-style:solid;
|
|
|
+ border-width:1px;
|
|
|
+ }
|
|
|
+
|
|
|
+ margin-left: 0px;
|
|
|
+ margin-top: 5px;
|
|
|
+ padding-left: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ font-size: 1.5em;
|
|
|
+ }
|
|
|
+
|
|
|
+ font-style: italic;
|
|
|
+ }
|
|
|
+
|
|
|
+ float: left;
|
|
|
+ width: 650px;
|
|
|
+ background-color:
|
|
|
+ -moz-border-radius: 15px;
|
|
|
+ border-radius: 15px;
|
|
|
+ -moz-box-shadow: 3px 3px 4px
|
|
|
+ -webkit-box-shadow: 3px 3px 4px
|
|
|
+ box-shadow: 3px 3px 4px
|
|
|
+ padding: 20px;
|
|
|
+ min-height: 500px;
|
|
|
+ margin-right: 10px;
|
|
|
+ border-style:solid;
|
|
|
+ border-width:1px;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+
|
|
|
+
|
|
|
+<div id="tripal_feature_details">
|
|
|
+
|
|
|
+ <!-- Basic Details Theme -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_base.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Database References -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_references.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Properties -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_properties.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Synonyms -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_synonyms.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Sequence -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_sequence.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Formatted Sequences -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_featureloc_sequences.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Object Relationships -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_relationships_as_object.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Subject Relationships -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_relationships_as_subject.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Feature locations as Child -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_featurelocs_as_child.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Subject Relationships -->
|
|
|
+ <?php include('tripal_feature/tripal_feature_featurelocs_as_parent.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- Blast Results -->
|
|
|
+ <?php include('tripal_analysis_blast/tripal_analysis_blast_results.tpl.php'); ?>
|
|
|
+
|
|
|
+ <!-- InterProScan Results -->
|
|
|
+ <?php include('tripal_analysis_interpro/tripal_analysis_interpro_results.tpl.php'); ?>
|
|
|
+</div>
|
|
|
+
|
|
|
+<!-- Table of contents -->
|
|
|
+<div id="tripal_feature_toc">
|
|
|
+ <div id="tripal_feature_toc_title"><?php print $feature->featurename ?> Resources</div>
|
|
|
+ <span id="tripal_feature_toc_desc">Select a link below for more information</span>
|
|
|
+ <ul id="tripal_feature_toc_list">
|
|
|
+
|
|
|
+ </ul>
|
|
|
+</div>
|