fix: adds status badges
This commit is contained in:
@@ -43,17 +43,11 @@
|
||||
</td>
|
||||
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">
|
||||
{% if monitor.status == "New" %}
|
||||
<span class="p-1.5 bg-orange-500 rounded-full">
|
||||
<span class="w-4 inline-block text-center text-gray-50">{{ monitor.status }}</span>
|
||||
</span>
|
||||
<twig:StatusBadge color="orange" status="{{ monitor.status }}" />
|
||||
{% elseif monitor.status == "In Progress" or monitor.status == "Active" %}
|
||||
<span class="p-1.5 bg-purple-600 rounded-full">
|
||||
<span class="inline-block text-center text-gray-50">{{ monitor.status }}</span>
|
||||
</span>
|
||||
<twig:StatusBadge color="purple" status="{{ monitor.status }}" />
|
||||
{% else %}
|
||||
<span class="p-1.5 bg-green-600 rounded-full">
|
||||
<span class="inline-block text-center text-gray-50">{{ monitor.status }}</span>
|
||||
</span>
|
||||
<twig:StatusBadge color="green" status="{{ monitor.status }}" />
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user