45 lines
2.4 KiB
PHP
45 lines
2.4 KiB
PHP
|
<div>
|
||
|
<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>
|
||
|
</div>
|
||
|
<nav class="flex pt-2 pb-10">
|
||
|
<ol class="flex items-center">
|
||
|
<li class="inline-flex items-center">
|
||
|
<a class="text-xs truncate lg:text-sm"
|
||
|
href="{{ route('project.show', ['project_uuid' => request()->route('project_uuid')]) }}">
|
||
|
{{ $project->name }}</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<div class="flex items-center">
|
||
|
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
|
||
|
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>
|
||
|
<a class="text-xs truncate lg:text-sm"
|
||
|
href="{{ route('project.resources', ['environment_name' => request()->route('environment_name'), 'project_uuid' => request()->route('project_uuid')]) }}">{{ request()->route('environment_name') }}</a>
|
||
|
</div>
|
||
|
</li>
|
||
|
<li>
|
||
|
<div class="flex items-center">
|
||
|
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
|
||
|
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>
|