fixing responsiveness issues with cleanup and restart buttons
This commit is contained in:
parent
3b6e5853d8
commit
6c065a64fa
@ -85,17 +85,19 @@
|
||||
</script>
|
||||
|
||||
<div class="w-full">
|
||||
<div class="flex items-center">
|
||||
<div class="items-center grid grid-flow-row md:grid-flow-col md:w-96 gap-4">
|
||||
<h1 class="title text-4xl">Hardware Details</h1>
|
||||
<div class="flex space-x-4">
|
||||
<div class="grid gap-4">
|
||||
{#if $appSession.teamId === '0'}
|
||||
<button on:click={manuallyCleanupStorage} class:loading={loading.cleanup} class="btn btn-sm"
|
||||
>Cleanup Storage</button
|
||||
<button
|
||||
on:click={manuallyCleanupStorage}
|
||||
class:loading={loading.cleanup}
|
||||
class="btn btn-sm h-14">Cleanup Storage</button
|
||||
>
|
||||
<button
|
||||
on:click={restartCoolify}
|
||||
class:loading={loading.restart}
|
||||
class="btn btn-sm bg-red-600 hover:bg-red-500">Restart Coolify</button
|
||||
class="btn btn-sm h-14 bg-red-600 hover:bg-red-500">Restart Coolify</button
|
||||
>
|
||||
{/if}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user