derivation.html.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <div id='mainContent' class='main-row'>
  2. <div class="main-col">
  3. <div class="main-table">
  4. <table class="table table-fixed" id='measList'>
  5. <thead>
  6. <tr class='text-left'>
  7. <th class='c-id text-center'><?php echo $lang->measurement->id;?></th>
  8. <th><?php echo $lang->measurement->name;?></th>
  9. <th class='w-150px'><?php echo $lang->measurement->purpose;?></th>
  10. <th class='w-150px'><?php echo $lang->measurement->aim;?></th>
  11. <th class='w-80px text-center'><?php echo $lang->measurement->collectType;?></th>
  12. <th class='w-120px text-center'><?php echo $lang->measurement->analyst;?></th>
  13. <th class='w-200px'><?php echo $lang->measurement->analysisMethod;?></th>
  14. <th class='w-200px'><?php echo $lang->measurement->noticeScope;?></th>
  15. <th class='w-120px text-center'><?php echo $lang->measurement->options;?></th>
  16. </tr>
  17. </thead>
  18. <tbody id="measurementList">
  19. <?php foreach ($measurementList as $key => $measurement):?>
  20. <tr class='text-left'>
  21. <td class="c-id text-center"><?php echo $measurement->id;?></td>
  22. <td><?php echo $measurement->name;?></td>
  23. <td><?php echo $measurement->purpose;?></td>
  24. <td title="<?php echo $measurement->aim;?>"><?php echo $measurement->aim;?></td>
  25. <td class='text-center'><?php echo zget($lang->measurement->collectTypeList, $measurement->collectType);?></td>
  26. <td class="text-center"><?php echo $measurement->analyst;?></td>
  27. <td title="<?php echo $measurement->analysisMethod;?>"><?php echo $measurement->analysisMethod;?></td>
  28. <td><?php echo $measurement->scope;?></td>
  29. <td class="text-center c-actions">
  30. <?php common::printIcon('measurement', 'editDerivation', "measurementID=$measurement->id", $measurement, 'list', 'edit');?>
  31. <?php
  32. if(common::hasPriv('measurement', 'delete'))
  33. {
  34. $deleteURL = helper::createLink('measurement', 'delete', "type=derivation&measurementID=$measurement->id&confirm=yes");
  35. echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"measList\",confirmDelete)", '<i class="icon-common-delete icon-trash"></i>', '', "title='{$lang->measurement->delete}' class='btn'");
  36. }
  37. ?>
  38. </td>
  39. </tr>
  40. <?php endforeach;?>
  41. </tbody>
  42. </table>
  43. <div class='table-footer'>
  44. <?php $pager->show('right', 'pagerjs');?>
  45. </div>
  46. </div>
  47. </div>
  48. </div>