assignto.html.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * The activate step 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/kindeditor.html.php';?>
  16. <div id='mainContent' class='main-content'>
  17. <div class='main-header'>
  18. <h2><?php echo $step->title . $lang->hyphen . $lang->deploy->assignTo;?></h2>
  19. </div>
  20. <form method='post' target='hiddenwin'>
  21. <table class='table table-form'>
  22. <tr>
  23. <th class='w-80px'><?php echo $lang->deploy->lblBeginEnd;?></th>
  24. <td class='w-p40'>
  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><td></td>
  31. </tr>
  32. <tr>
  33. <th><?php echo $lang->deploy->assignedTo?></th>
  34. <td><?php echo html::select('assignedTo', $users, $step->finishedBy, "class='form-control chosen'")?></td>
  35. </tr>
  36. <tr>
  37. <th><?php echo $lang->comment?></th>
  38. <td colspan='2'><?php echo html::textarea('comment', '', "class='form-control'")?></td>
  39. </tr>
  40. <tr>
  41. <td colspan='3' class='text-center form-actions'>
  42. <?php echo html::submitButton();?>
  43. </td>
  44. </tr>
  45. </table>
  46. </form>
  47. </div>
  48. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>