createtemplate.html.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  3. <div id="mainContent" class="main-content fade">
  4. <div class="center-block">
  5. <div class="main-header">
  6. <h2>
  7. <?php echo $lang->measurement->createTemplate;?>
  8. </h2>
  9. </div>
  10. <form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
  11. <table class="table table-form">
  12. <tr>
  13. <th><?php echo $lang->meastemplate->name;?></th>
  14. <td><?php echo html::input('name', '', "class='form-control'");?></td>
  15. </tr>
  16. <?php if(helper::hasFeature('scrum_measrecord') or helper::hasFeature('agileplus_measrecord')):?>
  17. <tr>
  18. <th><?php echo $lang->measurement->model;?></th>
  19. <td><?php echo html::radio('model', $lang->measurement->modelList, 'waterfall');?></td>
  20. </tr>
  21. <?php else:?>
  22. <?php echo html::hidden('model', 'waterfall');?>
  23. <?php endif?>
  24. <tr>
  25. <th><?php echo $lang->meastemplate->content;?></th>
  26. <td colspan='2' class='tips'>
  27. <?php echo html::textarea('content', '', "class='form-control'");?>
  28. <i class="icon icon-exclamation-sign icon-rotate-180"></i>
  29. <?php echo $lang->measurement->tips->click2InsertData;?>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td colspan='3' class='form-actions text-center'><?php echo html::submitButton() . html::backButton();?></td>
  34. </tr>
  35. </table>
  36. </form>
  37. </div>
  38. </div>
  39. <?php include './holdermodal.html.php';?>
  40. <script>
  41. $('#subNavbar ul li[data-id="settips"]').removeClass('active');
  42. $('#subNavbar ul li[data-id="define"]').removeClass('active');
  43. </script>
  44. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>