* Finish task#43059.

This commit is contained in:
zhujinyong
2021-10-08 08:01:53 +08:00
parent 658ad668c0
commit 83d598745f
12 changed files with 118 additions and 143 deletions
+15 -17
View File
@@ -66,29 +66,27 @@
</tr>
<tr>
<th><?php echo $lang->api->path; ?></th>
<td colspan='2'><?php echo html::input('path', '', "class='form-control'"); ?></td>
</tr>
<tr>
<th><?php echo $lang->api->protocol; ?></th>
<td><?php echo html::radio('protocol', $lang->api->protocalOptions, 'HTTP'); ?></td>
</tr>
<tr>
<th><?php echo $lang->api->method; ?></th>
<td>
<span
id='moduleBox'><?php echo html::select('method', $lang->api->methodOptions, 'GET', "class='form-control chosen'"); ?></span>
<td colspan='2'>
<div class='table-row'>
<div class='table-col col-prefix'>
<?php echo html::select('protocol', $lang->api->protocalOptions, 'HTTP', "class='form-control chosen'"); ?>
</div>
<div class='table-col col-prefix'>
<?php echo html::select('method', $lang->api->methodOptions, 'GET', "class='form-control chosen'"); ?>
</div>
<div class='table-col'>
<?php echo html::input('path', '', "class='form-control'"); ?>
</div>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->api->requestType; ?></th>
<td>
<span
id='moduleBox'><?php echo html::select('requestType', $lang->api->requestTypeOptions, 'application/json', "class='form-control chosen'"); ?></span>
</td>
<td><span id='moduleBox'><?php echo html::select('requestType', $lang->api->requestTypeOptions, 'application/json', "class='form-control chosen'"); ?></span></td>
</tr>
<tr>
<th><?php echo $lang->api->status; ?></th>
<td><?php echo html::radio('status', $lang->api->statusOptions, apiModel::STATUS_DOING); ?></td>
<td><?php echo html::radio('status', $lang->api->statusOptions, apiModel::STATUS_DONE); ?></td>
</tr>
<tr>
<th>
@@ -227,4 +225,4 @@
</div>
</div>
<?php js::set('noticeAcl', $lang->noticeAcl); ?>
<?php include '../../common/view/footer.html.php'; ?>
<?php include '../../common/view/footer.html.php'; ?>