node--jbrowse-instance.tpl.php 954 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * @file
  4. * JBrowse Instance page
  5. *
  6. * Available variables:
  7. * - url_prefix: the URL without parameters for the JBrowse to be embedded.
  8. * - location: the location to display by default
  9. * - tracks: a comma-separated list of tracks to display by default
  10. * - url: the full URL for the JBrowse you would like to embed
  11. */
  12. ?>
  13. <div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
  14. <?php if (!$page): ?>
  15. <h2<?php print $title_attributes; ?>>
  16. <a href="<?php print $node_url; ?>"><?php print $title; ?></a>
  17. </h2>
  18. <?php endif; ?>
  19. <?php print render($title_suffix); ?>
  20. <div class="content clearfix"<?php print $content_attributes; ?>>
  21. <div class="jbrowse" id="GenomeBrowser">
  22. <div id="LoadingScreen" style="padding: 50px;">
  23. <h1>Loading...</h1>
  24. </div>
  25. </div>
  26. <div style="display: none">JBrowseDefaultMainPage</div>
  27. </div>
  28. </div>