terminal.html.php 673 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * The terminal view file of instance 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 instance
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. set::zui(true);
  12. jsVar('webSocketURL', $webSocketURL);
  13. jsVar('instanceLang', $this->lang->instance);
  14. div(h::importCss($app->getWebRoot() . 'js/xterm/xterm.css'), setID('terminal'), setClass('px-1 mt-2 w-full h-full'));
  15. render('pagebase');