batchcreate.html.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * The batchcreate of gapanalysis module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2021 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Fangzhou Hu <hufangzhou@easycorp.ltd>
  8. * @package gapanalysis
  9. * @version $Id: batchcreate.html.php 4903 2021-06-10 15:52:59Z hfz $
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php js::set('roles', $rolePairs);?>
  15. <?php js::set('errorSameAccount', $lang->gapanalysis->errorSameAccount);?>
  16. <style>
  17. #dataform .table-form textarea {height: 32px;}
  18. </style>
  19. <div id="mainContent" class="main-content fade">
  20. <div class="main-header">
  21. <h2><?php echo $lang->gapanalysis->batchCreate;?></h2>
  22. </div>
  23. <form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
  24. <table class="table table-form">
  25. <thead>
  26. <tr>
  27. <th class='w-50px'><?php echo $lang->gapanalysis->id;?></th>
  28. <th class='required'><?php echo $lang->gapanalysis->account;?></th>
  29. <th ><?php echo $lang->gapanalysis->role;?></th>
  30. <th ><?php echo $lang->gapanalysis->analysis;?></th>
  31. <th ><?php echo $lang->gapanalysis->needTrain;?></th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <?php for($i = 1; $i <= 10; $i ++):?>
  36. <tr>
  37. <td><?php echo $i;?></td>
  38. <td><?php echo html::select("account[$i]", $members, '', "class='form-control picker-select'");?></td>
  39. <td><?php echo html::input("role[$i]", '', "class='form-control' readonly");?></td>
  40. <td><?php echo html::textarea("analysis[$i]", '', "row='1' class='form-control'");?></td>
  41. <td><?php echo html::radio("needTrain[$i]", $lang->gapanalysis->needTrainList, 'no');?></td>
  42. </tr>
  43. <?php endfor;?>
  44. <tr>
  45. <td colspan='5' class='form-actions text-center'>
  46. <?php echo html::submitButton() . html::backButton();?>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. </form>
  52. </div>
  53. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>