2023-12-30 13:47:26 +00:00
|
|
|
<div>
|
2024-06-07 09:01:10 +00:00
|
|
|
<x-slot:title>
|
|
|
|
{{ data_get_str($project, 'name')->limit(10) }} > Edit | Coolify
|
|
|
|
</x-slot>
|
2023-12-30 13:47:26 +00:00
|
|
|
<form wire:submit='submit' class="flex flex-col">
|
|
|
|
<div class="flex items-end gap-2">
|
|
|
|
<h1>Environment: {{ data_get($environment, 'name') }}</h1>
|
|
|
|
<x-forms.button type="submit">Save</x-forms.button>
|
2024-01-31 13:18:59 +00:00
|
|
|
<livewire:project.delete-environment :disabled="!$environment->isEmpty()" :environment_id="$environment->id" />
|
2023-12-30 13:47:26 +00:00
|
|
|
</div>
|
|
|
|
<nav class="flex pt-2 pb-10">
|
2024-06-07 09:01:10 +00:00
|
|
|
<ol class="flex flex-wrap items-center gap-y-1">
|
2023-12-30 13:47:26 +00:00
|
|
|
<li class="inline-flex items-center">
|
|
|
|
<div class="flex items-center">
|
2024-05-05 15:55:58 +00:00
|
|
|
<a class="text-xs truncate lg:text-sm"
|
|
|
|
href="{{ route('project.show', ['project_uuid' => data_get($parameters, 'project_uuid')]) }}">
|
|
|
|
{{ $project->name }}</a>
|
2024-03-25 09:41:44 +00:00
|
|
|
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold dark:text-warning" fill="currentColor"
|
2023-12-30 13:47:26 +00:00
|
|
|
viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path fill-rule="evenodd"
|
|
|
|
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
|
|
|
|
clip-rule="evenodd"></path>
|
|
|
|
</svg>
|
2024-05-05 15:55:58 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="flex items-center">
|
2023-12-30 13:47:26 +00:00
|
|
|
<a class="text-xs truncate lg:text-sm"
|
2024-01-23 16:13:23 +00:00
|
|
|
href="{{ route('project.resource.index', ['environment_name' => data_get($parameters, 'environment_name'), 'project_uuid' => data_get($parameters, 'project_uuid')]) }}">{{ data_get($parameters, 'environment_name') }}</a>
|
2023-12-30 13:47:26 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="flex items-center">
|
2024-03-25 09:41:44 +00:00
|
|
|
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold dark:text-warning" fill="currentColor"
|
2023-12-30 13:47:26 +00:00
|
|
|
viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path fill-rule="evenodd"
|
|
|
|
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
|
|
|
|
clip-rule="evenodd"></path>
|
|
|
|
</svg>
|
|
|
|
Edit
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
|
|
|
<div class="flex gap-2">
|
|
|
|
<x-forms.input label="Name" id="environment.name" />
|
|
|
|
<x-forms.input label="Description" id="environment.description" />
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|