Files
EasySoft-ZenTaoPMS/module/ci/view/createjenkins.html.php
T

62 lines
2.5 KiB
PHP

<?php
/**
* The create view file of jenkins module of ZenTaoPMS.
*
* @copyright Copyright 2009-2017 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Gang Liu <liugang@cnezsoft.com>
* @package jenkins
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include 'header.html.php'; ?>
<?php include '../../common/view/form.html.php'; ?>
<div id='mainContent' class='main-row'>
<div class='side-col' id='sidebar'>
<?php include 'menu.html.php'; ?>
</div>
<div class='main-col main-content'>
<div class='center-block'>
<div class='main-header'>
<h2><?php echo $lang->jenkins->create; ?></h2>
</div>
<form id='jenkinsForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<th><?php echo $lang->jenkins->name; ?></th>
<td class='required'><?php echo html::input('name', '', "class='form-control'"); ?></td>
<td></td>
</tr>
<tr>
<th><?php echo $lang->jenkins->serviceUrl; ?></th>
<td class='required'><?php echo html::input('serviceUrl', '', "class='form-control'"); ?></td>
<td></td>
</tr>
<tr id="credential-field">
<th class='thWidth'><?php echo $lang->credential->common; ?></th>
<td style="width:550px"><?php echo html::select('credential', $credentialList, '', "class='form-control chosen'"); ?></td>
<td><?php echo $lang->jenkins->tips; ?></td>
</tr>
<tr>
<th><?php echo $lang->jenkins->desc; ?></th>
<td><?php echo html::textarea('desc', '', "rows='3' class='form-control'"); ?></td>
<td></td>
</tr>
<tr>
<th></th>
<td class='text-center form-actions'>
<?php echo html::submitButton(); ?>
<?php echo html::backButton(); ?>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<?php include '../../common/view/footer.html.php'; ?>