complextemplate.html.php 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <div class='main-table'>
  2. <table class='table'>
  3. <thead>
  4. <tr>
  5. <th class='w-60px'><?php echo $lang->idAB;?></th>
  6. <th><?php echo $lang->meastemplate->name;?></th>
  7. <th class='w-120px'><?php echo $lang->measurement->model;?></th>
  8. <th class='w-120px'><?php echo $lang->meastemplate->createdBy;?></th>
  9. <th class='w-120px'><?php echo $lang->meastemplate->createdDate;?></th>
  10. <th class='c-actions'><?php echo $lang->actions;?></th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <?php foreach($templates as $template):?>
  15. <tr>
  16. <td><?php echo $template->id;?></td>
  17. <td><?php echo $template->name;?></td>
  18. <td><?php echo zget($lang->measurement->modelList, $template->model, '');?></td>
  19. <td><?php echo $template->createdBy;?></td>
  20. <td><?php echo $template->createdDate;?></td>
  21. <td class='c-actions'>
  22. <?php echo common::printIcon('measurement', 'editTemplate', "id=$template->id", $template, '', 'edit', '', '', '', '', $lang->measurement->editTemplate);?>
  23. <?php echo common::printIcon('measurement', 'viewTemplate', "id=$template->id", $template, '', 'eye', '', '', '', $lang->measurement->viewTemplate);?>
  24. </td>
  25. </tr>
  26. <?php endforeach;?>
  27. </tbody>
  28. </table>
  29. <div class='table-footer'>
  30. <?php $pager->show('right', 'pagerjs');?>
  31. </div>
  32. </div>