createderivation.html.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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->createDerivation;?></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', '', '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', '', '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', '', '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, '', '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', '', 'class="form-control"');?></td>
  37. <td></td>
  38. </tr>
  39. <?php include './createcollectconf.html.php';?>
  40. <tr>
  41. <th><?php echo $lang->measurement->noticeScope;?></th>
  42. <td><?php echo html::input('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('definitionMethods', '', 'autocomplete="off"');?>
  53. </form>
  54. <?php include './definition.html.php';?>
  55. </div>
  56. </div>
  57. <script>
  58. $('#subNavbar ul li[data-id="settips"]').removeClass('active');
  59. $('#subNavbar ul li[data-id="template"]').removeClass('active');
  60. </script>
  61. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>