m.activate.html.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * The activate mobile view file of story 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 story
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <div class='heading divider'>
  14. <span class='title'><strong><?php echo $lang->story->activate ?></strong> #<?php echo $story->id ?></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('story', 'activate', "id=$story->id")?>' id='activateForm' data-form-refresh='#page'>
  20. <div class='control'>
  21. <label for='assignedTo'><?php echo $lang->story->assignedTo;?></label>
  22. <div class='select'><?php echo html::select('assignedTo', $users);?></div>
  23. </div>
  24. <div class='control'>
  25. <label for='comment'><?php echo $lang->story->comment;?></label>
  26. <?php echo html::textarea('comment', '', 'rows=2 class="textarea"');?></td>
  27. </div>
  28. </form>
  29. <div class='footer has-padding'>
  30. <button type='button' id='submitButton' class='btn primary'><?php echo $lang->save ?></button>
  31. </div>
  32. <script>
  33. $(function()
  34. {
  35. $('#submitButton').click(function(){$('#activateForm').submit()});
  36. })
  37. </script>