* finish task #4222.

This commit is contained in:
wangyidong
2018-05-23 15:34:46 +08:00
parent 8a9aa521e2
commit e54b7946fc
3 changed files with 5 additions and 4 deletions

View File

@@ -0,0 +1 @@
.alert{margin-bottom:0px;}

View File

@@ -11,7 +11,7 @@
?>
<?php include '../../common/view/header.html.php'; ?>
<div class="alert with-icon" id="scoreStart">
<i class="icon-inbox"></i>
<i class="icon-cube"></i>
<div class="content">
<p><?php echo $lang->score->resetTips; ?></p>
<p><button class="btn btn-primary" id="scoreReset"><?php echo $lang->score->resetStart; ?></button></p>

View File

@@ -12,7 +12,7 @@
?>
<?php include 'header.html.php';?>
<?php js::set('confirmDelete', $lang->webhook->confirmDelete);?>
<div id='mainContent' class='main-content'>
<div id='mainContent'>
<form class='main-table' id='ajaxForm' method='post'>
<table id='webhookList' class='table has-sort-head table-fixed'>
<thead>
@@ -34,12 +34,12 @@
<td class='text' title='<?php echo $webhook->url;?>'><?php echo $webhook->url;?></td>
<td class='c-actions'>
<?php
common::printIcon('webhook', 'log', "webhookID=$id", '', 'list', 'file-text');
common::printIcon('webhook', 'log', "webhookID=$id", '', 'list', 'file-text2');
common::printIcon('webhook', 'edit', "webhookID=$id", '', 'list');
if(common::hasPriv('webhook', 'delete'))
{
$deleteURL = $this->createLink('webhook', 'delete', "webhookID=$id&confirm=yes");
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"webhookList\",confirmDelete)", '<i class="icon-trash"></i>', '', "title='{$lang->webhook->delete}' class='btn btn-link'");
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"webhookList\",confirmDelete)", '<i class="icon-trash"></i>', '', "title='{$lang->webhook->delete}' class='btn'");
}
?>
</td>