steps.html.php 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * The steps view file of deploy module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Yang Li <liyang@easycorp.ltd>
  7. * @package deploy
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. include 'nav.html.php';
  12. $steps = initTableData($steps, $config->deploy->dtable->steps->fieldList);
  13. panel
  14. (
  15. div(set::id('deployMenu'), setClass('mb-2'), $headers, hasPriv('deploy', 'manageStep') ? btn(set(array
  16. (
  17. 'type' => 'primary pull-right z-10 deploy manage-btn',
  18. 'text' => $lang->deploy->manageStep,
  19. 'url' => createLink('deploy', 'manageStep', "deployID={$deploy->id}")
  20. ))) : null),
  21. dtable
  22. (
  23. set::userMap($users),
  24. set::cols($config->deploy->dtable->steps->fieldList),
  25. set::data($steps),
  26. set::footPager(usePager())
  27. )
  28. );