editderivation.html.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <div id="mainContent" class="main-content">
  3. <div class='center-block'>
  4. <div class="main-header">
  5. <h2><?php echo $lang->measurement->editDerivation;?></h2>
  6. </div>
  7. <form class='main-form form-ajax' method='post' enctype='multipart/form-data' id='dataform'>
  8. <table class="table table-form">
  9. <tbody>
  10. <tr>
  11. <th><?php echo $lang->measurement->name;?></th>
  12. <td><?php echo html::input('name', $measurement->name, 'class="form-control"');?></td>
  13. <td></td>
  14. </tr>
  15. <tr>
  16. <th><?php echo $lang->measurement->purpose;?></th>
  17. <td><?php echo html::input('purpose', $measurement->purpose, 'class="form-control"');?></td>
  18. <td></td>
  19. </tr>
  20. <tr>
  21. <th><?php echo $lang->measurement->aim;?></th>
  22. <td><?php echo html::input('aim', $measurement->aim, 'class="form-control"');?></td>
  23. </tr>
  24. <tr>
  25. <th><?php echo $lang->measurement->definition;?></th>
  26. <td><?php echo html::input('definition', '', 'class="form-control" readonly placeholder="'.$lang->measurement->selectFormula.'"');?></td>
  27. <td></td>
  28. </tr>
  29. <tr>
  30. <th><?php echo $lang->measurement->analyst;?></th>
  31. <td><?php echo html::select('analyst', $users, $measurement->analyst, 'class="form-control chosen"');?></td>
  32. <td></td>
  33. </tr>
  34. <tr>
  35. <th><?php echo $lang->measurement->analysisMethod;?></th>
  36. <td><?php echo html::input('analysisMethod', $measurement->analysisMethod, 'class="form-control"');?></td>
  37. <td></td>
  38. </tr>
  39. <?php include './editcollectconf.html.php';?>
  40. <tr>
  41. <th><?php echo $lang->measurement->noticeScope;?></th>
  42. <td><?php echo html::input('scope', $measurement->scope, 'class="form-control"');?></td>
  43. <td></td>
  44. </tr>
  45. </tbody>
  46. <tfoot>
  47. <tr class='form-actions text-center'>
  48. <td colspan='3'><?php echo html::submitButton();echo html::backButton();?></td>
  49. </tr>
  50. </tfoot>
  51. </table>
  52. <?php echo html::hidden('measurementID', $measurement->id);?>
  53. <?php echo html::hidden('definitionMethods', $measurement->definition, 'autocomplete="off"');?>
  54. </form>
  55. <?php include './definition.html.php';?>
  56. </div>
  57. </div>
  58. <script>
  59. $('#subNavbar ul li[data-id="settips"]').removeClass('active');
  60. $('#subNavbar ul li[data-id="template"]').removeClass('active');
  61. </script>
  62. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>