fix: 完全修复内存图标 - ri-database-2-line

This commit is contained in:
2026-04-24 10:48:30 +08:00
parent cd5bdb5938
commit 1420b08a43
2 changed files with 177 additions and 1 deletions

2
app.py
View File

@@ -1380,7 +1380,7 @@ HTML_TEMPLATE = '''<!DOCTYPE html>
</div>
<div class="card rounded-xl p-6">
<div class="flex items-center justify-between mb-4">
<h3 class="font-bold text-lg flex items-center gap-2"><i class="ri-memory-card-line text-green-400"></i> 内存使用</h3>
<h3 class="font-bold text-lg flex items-center gap-2"><i class="ri-database-2-line text-green-400"></i> 内存使用</h3>
<span id="memPercent" class="text-2xl font-bold text-green-400">-</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-4 mb-2">

View File

@@ -30095,3 +30095,179 @@ Press CTRL+C to quit
192.168.2.8 - - [24/Apr/2026 10:42:22] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:24] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:42:26] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:29] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:42:30] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:34] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:42:36] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:39] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:42:40] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:44] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:42:46] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:49] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:50] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:42:51] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:42:52] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:54] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:42:56] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:42:59] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:00] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:04] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:43:06] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:09] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:11] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:14] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:43:15] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:19] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:20] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:21] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:22] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:24] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:43:26] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:29] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:30] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:34] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:43:36] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:39] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:40] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:44] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:43:46] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:49] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:50] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:50] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:43:52] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:43:54] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:43:56] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:00] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:01] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:04] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:44:06] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:10] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:11] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:14] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:44:16] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:20] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:21] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:21] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:22] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:24] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:44:26] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:30] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:32] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:34] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:44:36] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:40] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:42] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:44] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:44:46] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:50] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:51] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:52] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:44:53] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:44:54] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:44:56] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:01] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:02] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:04] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:06] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:11] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:12] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:14] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:16] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:17] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:22] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:22] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:22] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:23] "GET /api/system/stats HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:23] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:24] "GET /api/system/stats HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:31] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:31] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:32] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:32] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:41] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:41] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:42] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:42] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:51] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:51] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:45:52] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:45:52] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:52] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:45:53] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:01] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:01] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:46:02] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:02] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:11] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:11] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:46:12] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:12] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:22] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:46:22] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:22] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:23] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:31] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:31] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:46:32] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:32] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:41] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:41] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:46:42] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:42] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:51] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:51] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:46:52] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:52] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:46:52] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:46:53] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:01] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:01] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:02] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:02] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:11] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:11] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:12] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:12] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:22] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:22] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:22] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:23] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:31] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:31] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:32] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:33] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:34] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:36] "GET /api/system/stats HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:37] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:38] "GET /api/projects HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:39] "GET /api/system/stats HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:41] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:43] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:47] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:48] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:51] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:52] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:53] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:47:54] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:47:57] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:47:58] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:02] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:48:03] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:07] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:48:08] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:12] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:48:13] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:17] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:48:18] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:22] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:23] "GET / HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:48:24] "GET /api/projects HTTP/1.1" 200 -
192.168.2.8 - - [24/Apr/2026 10:48:24] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [24/Apr/2026 10:48:27] "GET / HTTP/1.1" 200 -
192.168.2.14 - - [24/Apr/2026 10:48:28] "GET /api/projects HTTP/1.1" 200 -