ui: backup executions
This commit is contained in:
		@@ -7,7 +7,7 @@ return [
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    // The release version of your application
 | 
					    // The release version of your application
 | 
				
			||||||
    // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
 | 
					    // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
 | 
				
			||||||
    'release' => '4.0.0-beta.248',
 | 
					    'release' => '4.0.0-beta.249',
 | 
				
			||||||
    // When left empty or `null` the Laravel environment will be used
 | 
					    // When left empty or `null` the Laravel environment will be used
 | 
				
			||||||
    'environment' => config('app.env'),
 | 
					    'environment' => config('app.env'),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,3 @@
 | 
				
			|||||||
<?php
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return '4.0.0-beta.248';
 | 
					return '4.0.0-beta.249';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
<div class="flex flex-col-reverse gap-2">
 | 
					<div class="flex flex-col-reverse gap-2">
 | 
				
			||||||
    @forelse($executions as $execution)
 | 
					    @forelse($executions as $execution)
 | 
				
			||||||
        <form wire:key="{{ data_get($execution, 'id') }}"
 | 
					        <form wire:key="{{ data_get($execution, 'id') }}"
 | 
				
			||||||
            class="relative flex flex-col p-4 border-dotted border-1 bg-coolgray-100" @class([
 | 
					            class="relative flex flex-col p-4 bg-white box-without-bg dark:bg-coolgray-100" @class([
 | 
				
			||||||
                'border-green-500' => data_get($execution, 'status') === 'success',
 | 
					                'border-green-500' => data_get($execution, 'status') === 'success',
 | 
				
			||||||
                'border-red-500' => data_get($execution, 'status') === 'failed',
 | 
					                'border-red-500' => data_get($execution, 'status') === 'failed',
 | 
				
			||||||
            ])>
 | 
					            ])>
 | 
				
			||||||
@@ -23,7 +23,7 @@
 | 
				
			|||||||
            <div class="flex gap-2">
 | 
					            <div class="flex gap-2">
 | 
				
			||||||
                <div class="flex-1"></div>
 | 
					                <div class="flex-1"></div>
 | 
				
			||||||
                @if (data_get($execution, 'status') === 'success')
 | 
					                @if (data_get($execution, 'status') === 'success')
 | 
				
			||||||
                    <x-forms.button class=" hover:bg-coolgray-400"
 | 
					                    <x-forms.button class=" dark:hover:bg-coolgray-400"
 | 
				
			||||||
                        wire:click="download({{ data_get($execution, 'id') }})">Download</x-forms.button>
 | 
					                        wire:click="download({{ data_get($execution, 'id') }})">Download</x-forms.button>
 | 
				
			||||||
                @endif
 | 
					                @endif
 | 
				
			||||||
                <x-modal-confirmation isErrorButton action="deleteBackup({{ data_get($execution, 'id') }})">
 | 
					                <x-modal-confirmation isErrorButton action="deleteBackup({{ data_get($execution, 'id') }})">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "coolify": {
 | 
					    "coolify": {
 | 
				
			||||||
        "v4": {
 | 
					        "v4": {
 | 
				
			||||||
            "version": "4.0.0-beta.248"
 | 
					            "version": "4.0.0-beta.249"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user