m.execution.html.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * The execution browse mobile view file of my 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 my
  9. * @version $Id: index.html.php 3830 2016-05-18 09:34:17Z liugang $
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include "../../common/view/m.header.html.php";?>
  14. <section id='page' class='section list-with-pager'>
  15. <div class='box'>
  16. <table class='table bordered'>
  17. <thead>
  18. <tr>
  19. <th><?php echo $lang->execution->name;?></th>
  20. <th class='text-center w-70px'><?php echo $lang->statusAB;?></th>
  21. <th class='text-center w-100px'><?php echo $lang->execution->end;?></th>
  22. </tr>
  23. </thead>
  24. <?php foreach($executions as $execution):?>
  25. <tr class='text-center' data-url='<?php echo $this->createLink('execution', 'task', "executionID={$execution->id}");?>' data-id='<?php echo $execution->id;?>'>
  26. <td class='text-left'><?php echo $execution->name;?> </td>
  27. <?php if(isset($execution->delay)):?>
  28. <td class='execution-delayed'><?php echo $lang->execution->delayed;?></td>
  29. <?php else:?>
  30. <td class='execution-<?php echo $execution->status;?>'><?php echo zget($lang->execution->statusList, $execution->status);?></td>
  31. <?php endif;?>
  32. <td><?php echo $execution->end;?></td>
  33. </tr>
  34. <?php endforeach;?>
  35. </table>
  36. </div>
  37. </section>
  38. <?php include "../../common/view/m.footer.html.php"; ?>