Add icon on http function list view to denote public status
This commit is contained in:
@@ -22,12 +22,23 @@
|
||||
<tbody class="[&_tr:last-child]:border-0" data-id="62">
|
||||
{% for function in http_functions %}
|
||||
<tr class="border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted" data-id="63">
|
||||
<td class="p-4 align-middle [&:has([role=checkbox])]:pr-0 font-medium cursor-pointer"
|
||||
data-id="66">{{ function.name }}
|
||||
<td class="p-4 align-middle [&:has([role=checkbox])]:pr-0 font-medium flex items-center">
|
||||
<span class="text-lg">{{ function.name }}</span>
|
||||
<span
|
||||
class="inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-blue-800 bg-blue-200 rounded-full">
|
||||
class="inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-blue-800 bg-blue-200 rounded-full ml-1">
|
||||
{{ function.invoked_count }}
|
||||
</span>
|
||||
{% if function.is_public %}
|
||||
<span class="ml-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||
stroke="currentColor" data-slot="icon" class="w-5 h-5">
|
||||
<path stroke-linecap="round" stroke-linejoin="round"
|
||||
d="M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z" />
|
||||
</svg>
|
||||
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
</td>
|
||||
<td class="p-4 align-middle [&:has([role=checkbox])]:pr-0 hidden md:table-cell" data-id="67">
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user