m.execution.html.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * The execution mobile view file of user module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2016 禅道软件(青岛)有限公司(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 user
  9. * @version $Id: index.html.php 3830 2016-05-18 09:34:17Z liugang $
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php
  14. $bodyClass = 'with-menu-top';
  15. include "../../common/view/m.header.html.php";
  16. include "./m.featurebar.html.php";
  17. ?>
  18. <section id='page' class='section list-with-pager'>
  19. <div class='box'>
  20. <table class='table bordered'>
  21. <thead>
  22. <tr>
  23. <th><?php echo $lang->execution->name;?></th>
  24. <th class='text-center w-70px'><?php echo $lang->statusAB;?></th>
  25. <th class='text-center w-100px'><?php echo $lang->execution->end;?></th>
  26. </tr>
  27. </thead>
  28. <?php foreach($executions as $execution):?>
  29. <tr class='text-center' data-url='<?php echo $this->createLink('execution', 'task', "executionID={$execution->id}");?>' data-id='<?php echo $execution->id;?>'>
  30. <td class='text-left'><?php echo $execution->name;?> </td>
  31. <?php if(isset($execution->delay)):?>
  32. <td class='execution-delayed'><?php echo $lang->execution->delayed;?></td>
  33. <?php else:?>
  34. <td class='execution-<?php echo $execution->status;?>'><?php echo zget($lang->execution->statusList, $execution->status);?></td>
  35. <?php endif;?>
  36. <td><?php echo $execution->end;?></td>
  37. </tr>
  38. <?php endforeach;?>
  39. </table>
  40. </div>
  41. </section>
  42. <script>
  43. $('#<?php echo $methodName?>' + 'Tab').addClass('active');
  44. </script>
  45. <?php include "../../common/view/m.footer.html.php"; ?>