editslb.html.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * The edit SLB view file of system module of chandao.net.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Jianhua Wang <wangjianhua@easycorp.ltd>
  8. * @package system
  9. * @version $Id$
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $this->app->getModuleRoot() . '/common/view/header.html.php';?>
  14. <?php $ldapLinked = false;?>
  15. <?php js::set('errors', $lang->system->errors);?>
  16. <?php js::set('notices', $lang->system->notices);?>
  17. <div id='mainMenu' class='clearfix'>
  18. <div class='btn-toolbar pull-left'>
  19. <?php echo html::a($this->createLink('system', 'index'), "<i class='icon icon-back icon-sm'></i>" . $lang->goback, '', "class='btn btn-secondary'");?>
  20. </div>
  21. </div>
  22. <div id='mainContent' class='main-row'>
  23. <div class='main-col main-content'>
  24. <div class='main-header'>
  25. <h2><?php echo $lang->system->SLB->config;?></h2>
  26. </div>
  27. <form id='SLBForm' class='cell not-watch main-form'>
  28. <table class="table table-form">
  29. <tbody>
  30. <tr>
  31. <th><?php echo $lang->system->SLB->ipPool;?></th>
  32. <td class='required w-400px'>
  33. <?php echo html::input('ippool', zget($SLBSettings, 'ippool', ''), "class='form-control' placeholder='{$lang->system->SLB->ipPoolExample}'");?>
  34. </td>
  35. <td></td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. <div class='text-center'><?php echo html::commonButton($lang->save, "id='submitBtn'", 'btn btn-wide btn-primary');?></div>
  40. </form>
  41. </div>
  42. </div>
  43. <div class="modal fade" id="waiting" tabindex="-1" role="dialog" aria-hidden="true">
  44. <div class="modal-dialog w-400px">
  45. <div class="modal-content">
  46. <div class="modal-body">
  47. <h4><?php echo $lang->system->SLB->installing;?></h4>
  48. <div>
  49. <span id='message'><?php echo $lang->system->SLB->leftSeconds;?></span>
  50. <span id='timer'></span>
  51. <span><?php echo $lang->system->SLB->second;?></span>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <?php include $this->app->getModuleRoot() . '/common/view/footer.html.php';?>