Spaces:
Sleeping
Sleeping
Fix encryption: support direct RSA-OAEP and hybrid RSA+AES-GCM modes
Browse files- templates/index.html +6 -2
templates/index.html
CHANGED
|
@@ -233,13 +233,15 @@
|
|
| 233 |
<th>User ID</th>
|
| 234 |
<th>Refer URL</th>
|
| 235 |
<th>IP Address</th>
|
|
|
|
|
|
|
| 236 |
<th>JSON Data</th>
|
| 237 |
<th>Created At</th>
|
| 238 |
</tr>
|
| 239 |
</thead>
|
| 240 |
<tbody id="tableBody">
|
| 241 |
<tr>
|
| 242 |
-
<td colspan="
|
| 243 |
<div class="loading">
|
| 244 |
<div class="spinner"></div>
|
| 245 |
Loading data...
|
|
@@ -278,7 +280,7 @@
|
|
| 278 |
if (items.length === 0) {
|
| 279 |
tbody.innerHTML = `
|
| 280 |
<tr>
|
| 281 |
-
<td colspan="
|
| 282 |
<div class="empty-state">
|
| 283 |
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 284 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" />
|
|
@@ -297,6 +299,8 @@
|
|
| 297 |
<td class="user-id">${item.user_id}</td>
|
| 298 |
<td class="refer-url" title="${item.refer_url || ''}">${item.refer_url || '-'}</td>
|
| 299 |
<td class="ip-address">${item.ip_address || '-'}</td>
|
|
|
|
|
|
|
| 300 |
<td><pre class="json-data">${JSON.stringify(item.json_data, null, 2)}</pre></td>
|
| 301 |
<td class="timestamp">${new Date(item.created_at).toLocaleString()}</td>
|
| 302 |
</tr>
|
|
|
|
| 233 |
<th>User ID</th>
|
| 234 |
<th>Refer URL</th>
|
| 235 |
<th>IP Address</th>
|
| 236 |
+
<th>Country</th>
|
| 237 |
+
<th>Region</th>
|
| 238 |
<th>JSON Data</th>
|
| 239 |
<th>Created At</th>
|
| 240 |
</tr>
|
| 241 |
</thead>
|
| 242 |
<tbody id="tableBody">
|
| 243 |
<tr>
|
| 244 |
+
<td colspan="8">
|
| 245 |
<div class="loading">
|
| 246 |
<div class="spinner"></div>
|
| 247 |
Loading data...
|
|
|
|
| 280 |
if (items.length === 0) {
|
| 281 |
tbody.innerHTML = `
|
| 282 |
<tr>
|
| 283 |
+
<td colspan="8">
|
| 284 |
<div class="empty-state">
|
| 285 |
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 286 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" />
|
|
|
|
| 299 |
<td class="user-id">${item.user_id}</td>
|
| 300 |
<td class="refer-url" title="${item.refer_url || ''}">${item.refer_url || '-'}</td>
|
| 301 |
<td class="ip-address">${item.ip_address || '-'}</td>
|
| 302 |
+
<td>${item.country || '-'}</td>
|
| 303 |
+
<td>${item.region || '-'}</td>
|
| 304 |
<td><pre class="json-data">${JSON.stringify(item.json_data, null, 2)}</pre></td>
|
| 305 |
<td class="timestamp">${new Date(item.created_at).toLocaleString()}</td>
|
| 306 |
</tr>
|