todo.html.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * The view file of company module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2012 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license business(商业软件)
  7. * @author Yangyang Shi <shiyangyang@cnezsoft.com>
  8. * @package company
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php
  14. if($iframe == 'yes')
  15. {
  16. $type = 'todo';
  17. die(include './showdata.html.php');
  18. }
  19. ?>
  20. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  21. <?php include $app->getModuleRoot() . 'common/view/datepicker.html.php';?>
  22. <?php include $app->getModuleRoot() . 'common/view/datatable.html.php';?>
  23. <div id="mainContent" class="main-row fade">
  24. <div class="side-col" id="sidebar">
  25. <div class="sidebar-toggle"><i class="icon icon-angle-left"></i></div>
  26. <div class='cell'>
  27. <form method='post' class='form-condensed' target='hiddenwin' action='<?php echo $this->createLink('company', 'todo');?>'>
  28. <div class='detail'>
  29. <div class='detail-title'><?php echo $lang->company->todoCalendar;?></div>
  30. <div class='detail-content'>
  31. <div class='form-group'>
  32. <div class='input-group'>
  33. <span class='input-group-addon'><?php echo $lang->company->dept;?></span>
  34. <?php if(empty($mainDepts)) $mainDepts = array(0 => '/');?>
  35. <?php echo html::select('dept', $mainDepts, $parent, "class='form-control chosen'");?>
  36. </div>
  37. </div>
  38. <div class='form-group'>
  39. <div class='input-group'>
  40. <span class='input-group-addon'><?php echo $lang->company->beginDate;?></span>
  41. <?php echo html::input('begin', $begin, 'class="form-control form-date"');?>
  42. </div>
  43. </div>
  44. <div class='form-group'>
  45. <div class='input-group'>
  46. <span class='input-group-addon'><?php echo $lang->company->endDate;?></span>
  47. <?php echo html::input('end', $end, 'class="form-control form-date"');?>
  48. </div>
  49. </div>
  50. <div class='form-group'><?php echo html::submitButton($lang->company->effort->view);?></div>
  51. </div>
  52. </div>
  53. </form>
  54. </div>
  55. </div>
  56. <div class="main-col cell">
  57. <div id='showdata' data-url='<?php echo $this->createLink('company', 'todo', "dept=$parent&begin=" . strtotime($begin) . "&end=" . strtotime($end) . "&iframe=yes&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID")?>'>
  58. <div style='padding: 40px;' class='text-center'><i class='icon-spinner icon-spin' style='font-size: 28px'></i></div>
  59. </div>
  60. </div>
  61. </div>
  62. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>