node-tripal_bulk_loader.tpl.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <div id="tripal_bulk_loader-base-box" class="tripal_bulk_loader-info-box tripal-info-box">
  2. <div class="tripal_bulk_loader-info-box-title tripal-info-box-title">
  3. <?php if ($teaser) { print l($node->title, 'node/'.$node->nid); } ?>
  4. </div>
  5. <div class="tripal_bulk_loader-info-box-desc tripal-info-box-desc"></div>
  6. <table id="tripal_bulk_loader-base-table" class="tripal_bulk_loader-table tripal-table tripal-table-vert">
  7. <tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">
  8. <th>Job Name</th>
  9. <td><?php print $node->loader_name;?></td>
  10. </tr>
  11. <tr class="tripal_bulk_loader-table-even-row tripal-table-even-row">
  12. <th>Submitted By</th>
  13. <td><span class="author"><?php print theme('username', $node); ?></span></td>
  14. </tr>
  15. <tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">
  16. <th>Job Creation Date</th>
  17. <td><?php print format_date($node->created, 'custom', "F j, Y, g:i a"); ?></td>
  18. </tr>
  19. <tr class="tripal_bulk_loader-table-even-row tripal-table-even-row">
  20. <th>Last Updated</th>
  21. <td><?php print format_date($node->changed, 'custom', "F j, Y, g:i a"); ?></td>
  22. </tr>
  23. <tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">
  24. <th>Template Name</th>
  25. <td><?php print $node->template->name; ?></td>
  26. </tr>
  27. <tr class="tripal_bulk_loader-table-even-row tripal-table-even-row">
  28. <th>Data File</th>
  29. <td><?php print $node->file;?></td>
  30. </tr>
  31. <tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">
  32. <th>Job Status</th>
  33. <td><?php print $node->job_status;?></td>
  34. </tr>
  35. </table>
  36. </div>
  37. <?php if (!$teaser) { ?>
  38. <?php print drupal_get_form('tripal_bulk_loader_add_loader_job_form', $node); ?>
  39. <?php print theme('tripal_bulk_loader_template', $node->template->template_id); ?>
  40. <?php } ?>