屏蔽规则页面丰富显示
This commit is contained in:
@@ -691,35 +691,39 @@
|
||||
<h4 class="text-sm font-medium text-gray-500">域名例外</h4>
|
||||
<i class="fa fa-check-circle text-green-500"></i>
|
||||
</div>
|
||||
<p class="text-2xl font-bold" id="domain-exceptions-count">0</p>
|
||||
<p class="text-2xl font-bold counter" id="domain-exceptions-count">0</p>
|
||||
</div>
|
||||
<div class="bg-purple-50 p-4 rounded-lg">
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<h4 class="text-sm font-medium text-gray-500">正则规则</h4>
|
||||
<i class="fa fa-code text-purple-500"></i>
|
||||
</div>
|
||||
<p class="text-2xl font-bold" id="regex-rules-count">0</p>
|
||||
<p class="text-2xl font-bold counter" id="regex-rules-count">0</p>
|
||||
</div>
|
||||
<div class="bg-yellow-50 p-4 rounded-lg">
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<h4 class="text-sm font-medium text-gray-500">正则例外</h4>
|
||||
<i class="fa fa-exclamation-circle text-yellow-500"></i>
|
||||
</div>
|
||||
<p class="text-2xl font-bold" id="regex-exceptions-count">0</p>
|
||||
<p class="text-2xl font-bold counter" id="regex-exceptions-count">0</p>
|
||||
</div>
|
||||
<div class="bg-red-50 p-4 rounded-lg">
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<h4 class="text-sm font-medium text-gray-500">Hosts规则</h4>
|
||||
<i class="fa fa-file-text text-red-500"></i>
|
||||
</div>
|
||||
<p class="text-2xl font-bold" id="hosts-rules-count">0</p>
|
||||
<p class="text-2xl font-bold counter" id="hosts-rules-count">0</p>
|
||||
</div>
|
||||
<div class="bg-indigo-50 p-4 rounded-lg">
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<h4 class="text-sm font-medium text-gray-500">黑名单数量</h4>
|
||||
<i class="fa fa-ban text-indigo-500"></i>
|
||||
</div>
|
||||
<p class="text-2xl font-bold" id="blacklist-count">0</p>
|
||||
<p class="text-2xl font-bold counter" id="blacklist-count">0</p>
|
||||
<div class="flex items-center justify-between mt-2">
|
||||
<h5 class="text-xs font-medium text-gray-500">禁用数量</h5>
|
||||
<p class="text-sm font-bold text-red-600 counter" id="blacklist-disabled-count">0</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -771,10 +775,11 @@
|
||||
<label for="blacklist-url" class="block text-sm font-medium text-gray-700 mb-1">URL</label>
|
||||
<input type="text" id="blacklist-url" placeholder="输入黑名单URL" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
|
||||
</div>
|
||||
<div class="flex items-end">
|
||||
<div class="flex items-end space-x-2">
|
||||
<button id="save-blacklist-btn" class="px-4 py-2 bg-success text-white rounded-md hover:bg-success/90 transition-colors">
|
||||
保存
|
||||
</button>
|
||||
<div id="save-blacklist-status" class="flex items-center text-sm"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -787,12 +792,13 @@
|
||||
<th class="text-left py-3 px-4 text-sm font-medium text-gray-500">名称</th>
|
||||
<th class="text-left py-3 px-4 text-sm font-medium text-gray-500">URL</th>
|
||||
<th class="text-center py-3 px-4 text-sm font-medium text-gray-500">状态</th>
|
||||
<th class="text-center py-3 px-4 text-sm font-medium text-gray-500">更新状态</th>
|
||||
<th class="text-right py-3 px-4 text-sm font-medium text-gray-500">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="blacklists-table-body">
|
||||
<tr>
|
||||
<td colspan="4" class="py-4 text-center text-gray-500">暂无黑名单</td>
|
||||
<td colspan="5" class="py-4 text-center text-gray-500">暂无黑名单</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user