conversation.html.php 938 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * The conversation view file of aiapp module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(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 Hao Sun<sunhao@easycorp.ltd>
  7. * @package aiapp
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. div
  12. (
  13. setClass('ai-conversations'),
  14. div
  15. (
  16. setID('noZaiConfigTip'),
  17. setClass('center hidden'),
  18. setStyle('height', 'calc(100vh - 80px)'),
  19. div
  20. (
  21. setClass('row items-center gap-2'),
  22. icon('lightbulb text-warning'),
  23. div(html(str_replace('{zaiConfigUrl}', createLink('zai', 'setting'), $lang->aiapp->langData->zaiConfigNotValid)))
  24. )
  25. ),
  26. on::init()->call('window.initAIConversations', $currentChatID, $params)
  27. );