create.html.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * The create view file of jenkins module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Gang Liu <liugang@cnezsoft.com>
  8. * @package jenkins
  9. * @version $Id$
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include '../../common/view/header.html.php'; ?>
  14. <div id='mainContent' class='main-row'>
  15. <div class='main-col main-content'>
  16. <div class='center-block'>
  17. <div class='main-header'>
  18. <h2><?php echo $lang->jenkins->lblCreate;?></h2>
  19. </div>
  20. <form id='jenkinsForm' method='post' class='form-ajax'>
  21. <table class='table table-form'>
  22. <tr>
  23. <th><?php echo $lang->jenkins->name; ?></th>
  24. <td class='required'><?php echo html::input('name', '', "class='form-control'"); ?></td>
  25. </tr>
  26. <tr>
  27. <th><?php echo $lang->jenkins->url; ?></th>
  28. <td class='required'><?php echo html::input('url', '', "class='form-control'"); ?></td>
  29. </tr>
  30. <tr>
  31. <th><?php echo $lang->jenkins->account;?></th>
  32. <td><?php echo html::input('account', '', "class='form-control'");?></td>
  33. </tr>
  34. <tr>
  35. <th><?php echo $lang->jenkins->token;?></th>
  36. <td><?php echo html::input('token', '', "class='form-control' placeholder='{$lang->jenkins->tokenFirst}'");?></td>
  37. </tr>
  38. <tr>
  39. <th><?php echo $lang->jenkins->password;?></th>
  40. <td><?php echo html::password('password', '', "class='form-control' placeholder='{$lang->jenkins->tips}'");?></td>
  41. </tr>
  42. <tr>
  43. <td colspan='2' class='text-center form-actions'>
  44. <?php echo html::submitButton(); ?>
  45. <?php if(!isonlybody()) echo html::a(inlink('browse', ""), $lang->goback, '', 'class="btn btn-wide"');?>
  46. </td>
  47. </tr>
  48. </table>
  49. </form>
  50. </div>
  51. </div>
  52. </div>
  53. <?php include '../../common/view/footer.html.php'; ?>