flow.html.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /**
  3. * The flow view file of custom 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 Shujie Tian<tianshujie@easycorp.ltd>
  7. * @package custom
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. setID('flowForm'),
  14. set::actions(array('submit')),
  15. set::actionsClass('w-1/3'),
  16. span
  17. (
  18. setClass('text-md font-bold'),
  19. $lang->custom->flow
  20. ),
  21. formGroup
  22. (
  23. set::label('1.'),
  24. setClass('items-center'),
  25. span($lang->custom->conceptQuestions['overview'])
  26. ),
  27. formGroup
  28. (
  29. set::label(''),
  30. radioList
  31. (
  32. set::name('sprintConcept'),
  33. set::items($lang->custom->sprintConceptList),
  34. set::value(zget($this->config->custom, 'sprintConcept', '0')),
  35. set::inline(true)
  36. )
  37. ),
  38. formGroup
  39. (
  40. set::label('2.'),
  41. setClass('items-center'),
  42. span($lang->custom->conceptQuestions['storypoint'])
  43. ),
  44. formGroup
  45. (
  46. set::label(''),
  47. radioList
  48. (
  49. set::name('hourPoint'),
  50. set::items($lang->custom->conceptOptions->hourPoint),
  51. set::value(zget($this->config->custom, 'hourPoint')),
  52. set::inline(true)
  53. )
  54. )
  55. );
  56. /* ====== Render page ====== */
  57. render();