lasthourcloud/resources/views/components/applications/advanced.blade.php

51 lines
3.1 KiB
PHP
Raw Normal View History

2023-06-30 08:49:00 +00:00
<div class="flex items-center gap-2">
2023-06-07 19:44:16 +00:00
<div class="group">
<label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Advanced
2023-08-11 18:19:42 +00:00
<x-chevron-down />
2023-06-05 10:07:55 +00:00
</label>
2023-06-07 19:44:16 +00:00
<div class="absolute hidden group-hover:block ">
2023-06-14 11:37:02 +00:00
<ul tabindex="0"
class="relative text-xs text-white normal-case rounded -ml-44 min-w-max menu bg-coolgray-200">
@if ($application->status === 'running')
2023-06-07 19:44:16 +00:00
<li>
2023-07-13 11:16:24 +00:00
<div class="rounded-none hover:bg-coollabs hover:text-white"
2023-08-11 18:19:42 +00:00
wire:click='force_deploy_without_cache'>
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
2023-06-07 19:44:16 +00:00
<path
2023-08-11 18:19:42 +00:00
d="M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74" />
2023-06-07 19:44:16 +00:00
<path
2023-08-11 18:19:42 +00:00
d="M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6" />
<path d="M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4" />
<path d="M3 3l18 18" />
</svg>
Force deploy (without
2023-06-07 19:44:16 +00:00
cache)
</div>
</li>
2023-06-14 11:37:02 +00:00
@else
2023-06-07 19:44:16 +00:00
<li>
<div class="rounded-none hover:bg-coollabs hover:text-white" wire:click='deploy(true)'>
2023-08-11 18:19:42 +00:00
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
2023-06-07 19:44:16 +00:00
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round">
2023-08-11 18:19:42 +00:00
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
2023-06-07 19:44:16 +00:00
<path
2023-08-11 18:19:42 +00:00
d="M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74" />
2023-06-07 19:44:16 +00:00
<path
2023-08-11 18:19:42 +00:00
d="M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6" />
<path d="M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4" />
<path d="M3 3l18 18" />
</svg>
Force deploy (without
2023-06-07 19:44:16 +00:00
cache)
</div>
</li>
2023-06-14 11:37:02 +00:00
@endif
</ul>
2023-06-07 19:44:16 +00:00
</div>
2023-06-05 10:07:55 +00:00
</div>
</div>