lasthourcloud/resources/views/livewire/project/application/source.blade.php

33 lines
1.7 KiB
PHP
Raw Normal View History

2023-04-19 10:42:15 +00:00
<div>
2023-06-05 10:07:55 +00:00
<form wire:submit.prevent='submit' class="flex flex-col w-96">
2023-05-31 08:19:29 +00:00
<div class="flex items-center gap-2">
2023-06-02 10:34:45 +00:00
<h2>Source</h2>
2023-05-25 12:05:44 +00:00
<x-forms.button type="submit">Save</x-forms.button>
2023-06-05 10:07:55 +00:00
<a target="_blank" class="hover:no-underline" href="{{ $application->gitBranchLocation }}">
<x-forms.button>
<x-git-icon git="{{ $application->source->getMorphClass() }}" />Open Repository on Git
2023-05-31 08:19:29 +00:00
<x-external-link />
</x-forms.button>
2023-05-17 07:26:50 +00:00
</a>
2023-06-05 10:07:55 +00:00
</div>
<div class="text-sm">Code source of your application.</div>
<x-forms.input placeholder="coollabsio/coolify-example" id="application.git_repository" label="Repository" />
<x-forms.input placeholder="main" id="application.git_branch" label="Branch" />
<div class="flex items-end gap-2 w-96">
<x-forms.input placeholder="HEAD" id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
<a target="_blank" class="flex hover:no-underline" href="{{ $application->gitCommits }}">
<x-forms.button><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" />
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
<path d="M12 3l0 6" />
<path d="M12 15l0 6" />
</svg>Open Commits on Git
2023-05-31 08:19:29 +00:00
<x-external-link />
</x-forms.button>
2023-05-26 08:20:09 +00:00
</a>
2023-05-17 07:26:50 +00:00
</div>
</form>
2023-04-19 10:42:15 +00:00
</div>