customeredreport.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <div id="mainContent" class="main-row fade">
  3. <div class='side-col col-lg' id='sidebar'>
  4. <?php include './blockreportlist.html.php';?>
  5. </div>
  6. <div class="main-col">
  7. <div class="clearfix" id="mainMenu">
  8. <div class="container">
  9. <div class="btn-toolbar pull-left"> <?php echo $title;?></div>
  10. <div class="btn-toolbar pull-right">
  11. <?php echo html::a($this->createLink('measurement', 'viewTemplate', "id={$template->id}&projectID=$projectID", '', true), $this->lang->report->instanceNew, '', "class='btn btn-primary iframe'");?>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="container">
  16. <?php if(empty($reports)):?>
  17. <div class="table-empty-tip">
  18. <p><span class="text-muted"><?php echo $lang->noData;?></span></p>
  19. </div>
  20. <?php else:?>
  21. <div class='main-table'>
  22. <table class='table'>
  23. <thead>
  24. <tr>
  25. <th class='w-60px'><?php echo $lang->idAB;?></th>
  26. <th><?php echo $lang->measurement->report->name;?></th>
  27. <th class='w-120px'><?php echo $lang->measurement->report->createdBy;?></th>
  28. <th class='w-120px'><?php echo $lang->measurement->report->createdDate;?></th>
  29. <th class='c-actions'><?php echo $lang->actions;?></th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <?php foreach($reports as $report):?>
  34. <tr>
  35. <td><?php echo $report->id;?></td>
  36. <td><?php echo $report->name;?></td>
  37. <td><?php echo $report->createdBy;?></td>
  38. <td><?php echo $report->createdDate;?></td>
  39. <td class='c-actions'>
  40. <?php echo common::printIcon('report', 'viewReport', "id=$report->id", $report, '', 'eye', '', '', false, '', $lang->report->customeredReport);?>
  41. </td>
  42. </tr>
  43. <?php endforeach;?>
  44. </tbody>
  45. </table>
  46. <div class='table-footer'></div>
  47. </div>
  48. <?php endif;?>
  49. </div>
  50. </div>
  51. </div>
  52. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>