* adjust for dingapi style.

This commit is contained in:
wangyidong
2019-11-20 09:16:25 +08:00
parent 61e0a9d4f1
commit fd436aca6b
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -19,7 +19,7 @@
<tr>
<?php $vars = "orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}";?>
<th class='w-60px'><?php common::printOrderLink('id', $orderBy, $vars, $lang->webhook->id);?></th>
<th class='w-60px'><?php common::printOrderLink('type', $orderBy, $vars, $lang->webhook->type);?></th>
<th class='w-120px'><?php common::printOrderLink('type', $orderBy, $vars, $lang->webhook->type);?></th>
<th class='w-200px text-left'><?php common::printOrderLink('name', $orderBy, $vars, $lang->webhook->name);?></th>
<th><?php common::printOrderLink('url', $orderBy, $vars, $lang->webhook->url);?></th>
<th class='c-actions-4'><?php echo $lang->actions;?></th>
@@ -29,7 +29,7 @@
<?php foreach($webhooks as $id => $webhook):?>
<tr>
<td class='text-center'><?php echo $id;?></td>
<td class='text-center'><?php echo zget($lang->webhook->typeList, $webhook->type);?></td>
<td class='text'><?php echo zget($lang->webhook->typeList, $webhook->type);?></td>
<td class='text' title='<?php echo $webhook->name;?>'><?php echo $webhook->name;?></td>
<td class='text' title='<?php echo $webhook->url;?>'><?php echo $webhook->url;?></td>
<td class='c-actions text-right'>
+3 -3
View File
@@ -41,15 +41,15 @@
</tr>
<tr class='dingapiTR'>
<th><?php echo $lang->webhook->dingAgentId;?></th>
<td><?php echo html::input('agentId', '', "class='form-control'");?></td>
<td class='required'><?php echo html::input('agentId', '', "class='form-control'");?></td>
</tr>
<tr class='dingapiTR'>
<th><?php echo $lang->webhook->dingAppKey;?></th>
<td><?php echo html::input('appKey', '', "class='form-control'");?></td>
<td class='required'><?php echo html::input('appKey', '', "class='form-control'");?></td>
</tr>
<tr class='dingapiTR'>
<th><?php echo $lang->webhook->dingAppSecret;?></th>
<td><?php echo html::input('appSecret', '', "class='form-control'");?></td>
<td class='required'><?php echo html::input('appSecret', '', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->webhook->domain;?></th>
+3 -3
View File
@@ -44,15 +44,15 @@
<?php $secret = json_decode($webhook->secret);?>
<tr class='dingapiTR'>
<th><?php echo $lang->webhook->dingAgentId;?></th>
<td><?php echo html::input('agentId', $secret->agentId, "class='form-control'");?></td>
<td class='required'><?php echo html::input('agentId', $secret->agentId, "class='form-control'");?></td>
</tr>
<tr class='dingapiTR'>
<th><?php echo $lang->webhook->dingAppKey;?></th>
<td><?php echo html::input('appKey', $secret->appKey, "class='form-control'");?></td>
<td class='required'><?php echo html::input('appKey', $secret->appKey, "class='form-control'");?></td>
</tr>
<tr class='dingapiTR'>
<th><?php echo $lang->webhook->dingAppSecret;?></th>
<td><?php echo html::input('appSecret', $secret->appSecret, "class='form-control'");?></td>
<td class='required'><?php echo html::input('appSecret', $secret->appSecret, "class='form-control'");?></td>
</tr>
<?php endif;?>
<tr>