createbasic.html.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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->create;?></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->code;?></th>
  17. <td><?php echo html::input('code', '', 'class="form-control"');?></td>
  18. <td></td>
  19. </tr>
  20. <tr>
  21. <th><?php echo $lang->measurement->scope;?></th>
  22. <td><?php echo html::select('scope', $lang->measurement->scopeList, 'program', 'class="form-control"');?></td>
  23. <td></td>
  24. </tr>
  25. <tr>
  26. <th><?php echo $lang->measurement->object;?></th>
  27. <td><?php echo html::select('object', $lang->measurement->objectList, 'program', 'class="form-control"');?></td>
  28. <td></td>
  29. </tr>
  30. <tr>
  31. <th><?php echo $lang->measurement->purpose;?></th>
  32. <td><?php echo html::select('purpose', $lang->measurement->purposeList, 'program', 'class="form-control"');?></td>
  33. <td></td>
  34. </tr>
  35. <tr>
  36. <th><?php echo $lang->measurement->unit;?></th>
  37. <td><?php echo html::input('unit', '', 'class="form-control"');?></td>
  38. <td></td>
  39. </tr>
  40. <tr>
  41. <th><?php echo $lang->measurement->definition;?></th>
  42. <td><?php echo html::textarea('definition', '', 'class="form-control"');?></td>
  43. <td></td>
  44. </tr>
  45. <?php include './createcollectconf.html.php';?>
  46. </tbody>
  47. <tfoot>
  48. <tr class='form-actions text-center'>
  49. <td colspan='3'><?php echo html::submitButton(); echo html::backButton();?></td>
  50. </tr>
  51. </tfoot>
  52. </table>
  53. </form>
  54. </div>
  55. </div>
  56. <script>
  57. $('#subNavbar ul li[data-id="settips"]').removeClass('active');
  58. $('#subNavbar ul li[data-id="template"]').removeClass('active');
  59. </script>
  60. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>