m.activate.html.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * The activate mobile view file of task 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 Fei Chen <chenfei@cnezsoft.com>
  8. * @package task
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <div class='heading divider'>
  14. <span class='title'><strong><?php echo $lang->task->activate ?></strong> #<?php echo $task->id . ' ' .$task->name;?></span>
  15. <nav class='nav'>
  16. <a data-dismiss='display'><i class='icon-remove muted'></i></a>
  17. </nav>
  18. </div>
  19. <form class='has-padding content' method='post' target='hiddenwin' action='<?php echo $this->createLink('task', 'activate', "id=$task->id")?>' id='activateForm' data-form-refresh='#page'>
  20. <div class='control'>
  21. <label for='assignedTo'><?php echo $lang->task->assignedTo;?></label>
  22. <div class='select'><?php echo html::select('assignedTo', $members, $task->finishedBy);?></div>
  23. </div>
  24. <div class='control'>
  25. <label for='left'><?php echo $lang->task->left;?></label>
  26. <?php echo html::input('left', '', "class='input'");?></div>
  27. </div>
  28. <div class='control'>
  29. <label for='comment'><?php echo $lang->comment;?></label>
  30. <?php echo html::textarea('comment', '', 'rows=2 class="textarea"');?></td>
  31. </div>
  32. </form>
  33. <div class='footer has-padding'>
  34. <button type='button' id='submitButton' class='btn primary'><?php echo $lang->save ?></button>
  35. </div>
  36. <script>
  37. $(function()
  38. {
  39. $('#submitButton').click(function(){$('#activateForm').submit()});
  40. })
  41. </script>