* Adjust the code.

This commit is contained in:
hufangzhou
2021-07-15 15:54:08 +08:00
parent f2fdd0b433
commit d9f5c53e0b
8 changed files with 57 additions and 58 deletions
+8 -8
View File
@@ -10,7 +10,7 @@
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php'; ?>
<?php include '../../common/view/header.html.php';?>
<?php js::import($jsRoot . 'misc/base64.js');?>
<div id='mainContent' class='main-row'>
<div class='main-col main-content'>
@@ -21,13 +21,13 @@
<form id='gitlabForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<th><?php echo $lang->gitlab->name; ?></th>
<td class='required'><?php echo html::input('name', '', "class='form-control' placeholder='{$lang->gitlab->placeholder->name}'"); ?></td>
<th><?php echo $lang->gitlab->name;?></th>
<td class='required'><?php echo html::input('name', '', "class='form-control' placeholder='{$lang->gitlab->placeholder->name}'");?></td>
<td class="tips-git"></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->url; ?></th>
<td class='required'><?php echo html::input('url', '', "class='form-control' placeholder='{$lang->gitlab->placeholder->url}'"); ?></td>
<th><?php echo $lang->gitlab->url;?></th>
<td class='required'><?php echo html::input('url', '', "class='form-control' placeholder='{$lang->gitlab->placeholder->url}'");?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->token;?></th>
@@ -36,8 +36,8 @@
<tr>
<th></th>
<td class='text-center form-actions'>
<?php echo html::submitButton(); ?>
<?php if(!isonlybody()) echo html::a(inlink('browse', ""), $lang->goback, '', 'class="btn btn-wide"'); ?>
<?php echo html::submitButton();?>
<?php if(!isonlybody()) echo html::a(inlink('browse', ""), $lang->goback, '', 'class="btn btn-wide"');?>
</td>
</tr>
</table>
@@ -45,4 +45,4 @@
</div>
</div>
</div>
<?php include '../../common/view/footer.html.php'; ?>
<?php include '../../common/view/footer.html.php';?>