Fix IP address text color in IPAM maintenance and logs
- Added color: var(--text-primary) to unlinked allocations IP in ipam_dashboard.html - Added color: var(--text-primary) to IP address column in logs.html - Prevents black text on dark theme
This commit is contained in:
@@ -454,7 +454,7 @@ function renderUnlinked(unlinked) {
|
||||
html += `
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; border-bottom: 1px solid var(--border-color);">
|
||||
<div>
|
||||
<span style="font-family: monospace;">${u.ip_address}</span>
|
||||
<span style="font-family: monospace; color: var(--text-primary);">${u.ip_address}</span>
|
||||
<span style="color: var(--text-secondary); margin-left: 0.5rem;">${u.resource_name}</span>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -674,7 +674,7 @@
|
||||
<td>${log.action}</td>
|
||||
<td class="log-message" title="${escapeHtml(log.message)}">${escapeHtml(log.message)}</td>
|
||||
<td>${log.username || '-'}</td>
|
||||
<td style="font-family: monospace; font-size: 0.8rem;">${log.ip_address || '-'}</td>
|
||||
<td style="font-family: monospace; font-size: 0.8rem; color: var(--text-primary);">${log.ip_address || '-'}</td>
|
||||
<td class="${log.success ? 'log-success' : 'log-failed'}">${log.success ? '✓' : '✗'}</td>
|
||||
</tr>
|
||||
`).join('');
|
||||
|
||||
Reference in New Issue
Block a user