mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -202,21 +202,23 @@
|
||||
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500">
|
||||
|
||||
<span class="text-xs text-gray-600">Received at: @{ currentLog.performed_at }</span>
|
||||
<span
|
||||
v-if="currentLog.response?.status >= 200 && currentLog.response?.status < 300"
|
||||
class="inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium leading-5 bg-green-100 text-green-800">
|
||||
@{ currentLog.response?.status } - @{ currentLog.response?.reason }
|
||||
</span>
|
||||
<span
|
||||
v-if="currentLog.response?.status >= 400 && currentLog.response?.status < 500"
|
||||
class="inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium leading-5 bg-yellow-100 text-yellow-800">
|
||||
@{ currentLog.response?.status } - @{ currentLog.response?.reason }
|
||||
</span>
|
||||
<span
|
||||
v-if="currentLog.response?.status >= 500"
|
||||
class="inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium leading-5 bg-red-100 text-red-800">
|
||||
@{ currentLog.response?.status } - @{ currentLog.response?.reason }
|
||||
</span>
|
||||
<div v-if="currentLog.response">
|
||||
<span
|
||||
v-if="currentLog.response.status >= 200 && currentLog.response.status < 300"
|
||||
class="inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium leading-5 bg-green-100 text-green-800">
|
||||
@{ currentLog.response.status } - @{ currentLog.response.reason }
|
||||
</span>
|
||||
<span
|
||||
v-if="currentLog.response.status >= 400 && currentLog.response.status < 500"
|
||||
class="inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium leading-5 bg-yellow-100 text-yellow-800">
|
||||
@{ currentLog.response.status } - @{ currentLog.response.reason }
|
||||
</span>
|
||||
<span
|
||||
v-if="currentLog.response.status >= 500"
|
||||
class="inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium leading-5 bg-red-100 text-red-800">
|
||||
@{ currentLog.response.status } - @{ currentLog.response.reason }
|
||||
</span>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user