editstep.html.php 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. /**
  3. * The create view file of deploy module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(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 Yidong Wang <yidong@cnezsoft.com>
  8. * @package deploy
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php include $app->getModuleRoot() . 'common/view/datepicker.html.php';?>
  15. <?php include $app->getModuleRoot() . 'common/view/chosen.html.php';?>
  16. <div id='mainContent' class='main-content'>
  17. <div class='main-header'>
  18. <h2><?php echo $lang->deploy->editStep;?></h2>
  19. </div>
  20. <form method='post' target='hiddenwin'>
  21. <table class='table table-form'>
  22. <tr>
  23. <th class='w-100px'><?php echo $lang->deploy->lblBeginEnd;?></th>
  24. <td class='w-p30'>
  25. <div class='input-group'>
  26. <?php echo html::input('begin', substr($step->begin, 0, 16), "class='form-control form-datetime' placeholder='{$lang->deploy->begin}'");?>
  27. <span class='input-group-addon fix-border'>~</span>
  28. <?php echo html::input('end', substr($step->end, 0, 16), "class='form-control form-datetime' placeholder='{$lang->deploy->end}'");?>
  29. </div>
  30. </td>
  31. </tr>
  32. <tr>
  33. <th><?php echo $lang->deploy->assignedTo;?></th>
  34. <td><?php echo html::select('assignedTo', $users, $step->assignedTo, "class='form-control chosen'");?></td><td></td>
  35. </tr>
  36. <tr>
  37. <th><?php echo $lang->deploy->stage;?></th>
  38. <td><?php echo html::select('stage', $lang->deploy->stageList, $step->stage, "class='form-control chosen'");?></td>
  39. </tr>
  40. <tr>
  41. <th><?php echo $lang->deploy->status;?></th>
  42. <td>
  43. <?php echo html::select('status', $lang->deploy->statusList, $step->status, "class='form-control'");?>
  44. </div>
  45. </td>
  46. </tr>
  47. <tr>
  48. <th><?php echo $lang->deploy->finishedBy;?></th>
  49. <td>
  50. <?php echo html::select('finishedBy', $users, $step->finishedBy, "class='form-control chosen'");?>
  51. </div>
  52. </td>
  53. </tr>
  54. <tr>
  55. <th><?php echo $lang->deploy->title;?></th>
  56. <td colspan='2'><?php echo html::input('title', $step->title, "class='form-control' autocomplete='off'");?></td>
  57. </tr>
  58. <tr>
  59. <th><?php echo $lang->deploy->content;?></th>
  60. <td colspan='2'><?php echo html::textarea('content', str_replace(array('<br>', '<br />'), '', $step->content), "rows='10' style='height:100px;' class='form-control'");?></td>
  61. </tr>
  62. <tr>
  63. <td colspan='3' class='text-center form-actions'>
  64. <?php echo html::submitButton();?>
  65. <?php echo html::backButton();?>
  66. </td>
  67. </tr>
  68. </table>
  69. </form>
  70. </div>
  71. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>