confirm.html.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * The confirm view file of upgrade 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 Tingting Dai <daitingting@easycorp.ltd>
  7. * @package upgrade
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. set::zui(true);
  12. div
  13. (
  14. setStyle(['padding' => '3rem 4rem', 'height' => '100vh', 'overflow' => 'hidden']),
  15. col
  16. (
  17. setClass('container rounded-md bg-white h-full gap-5'),
  18. setStyle(['padding' => '1.5rem 2rem']),
  19. div
  20. (
  21. setClass('text-xl font-medium'),
  22. $lang->upgrade->confirm
  23. ),
  24. div
  25. (
  26. setClass('pre rounded-md bg-gray-100 overflow-x-hidden overflow-y-auto px-8 py-6'),
  27. setStyle(['max-height' => 'calc(100% - 5rem)']),
  28. $confirm
  29. ),
  30. div
  31. (
  32. setClass('center'),
  33. a
  34. (
  35. setClass('btn primary w-24'),
  36. set::href(inlink('execute', "fromVersion=$fromVersion")),
  37. $lang->upgrade->sureExecute
  38. )
  39. )
  40. )
  41. );
  42. render('pagebase');