fix: Fix status updates, add color to status

This commit is contained in:
ngn
2024-03-22 13:53:32 +03:00
parent 05b909c76e
commit b4df925f8e
3 changed files with 22 additions and 3 deletions

View File

@ -20,7 +20,7 @@
<tr>
<td>Status</td>
<td>
<strong>{{.v.Status}}</strong>
<strong style="color: var(--{{.v.StatusColor}})">{{.v.Status}}</strong>
</br>{{.v.Message}}
</td>
</tr>

View File

@ -50,7 +50,7 @@
</tr>
</table>
<div class="vuln-footer">
<p><strong>Status:</strong> {{.Status}}</p>
<p style="color: var(--{{.StatusColor}})"><strong>Status:</strong> {{.Status}}</p>
<a href="/details/{{.ID}}">View details</a>
</div>
</div>