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

22 lines
809 B
PHP
Raw Normal View History

2023-04-19 10:42:15 +00:00
<div>
2023-05-18 11:26:35 +00:00
<h2>Source</h2>
2023-05-17 07:26:50 +00:00
<div class="pb-8">{{ data_get($application, 'source.name') }}
@if (data_get($application, 'source.is_public'))
<span class="text-xs">public</span>
@endif
2023-04-19 10:42:15 +00:00
</div>
2023-05-17 07:26:50 +00:00
<form wire:submit.prevent='submit' class="flex flex-col gap-2 w-max-fit">
2023-05-18 11:26:35 +00:00
<x-inputs.input id="application.git_repository" label="Repository" />
<x-inputs.input id="application.git_branch" label=" Branch" />
2023-05-17 07:26:50 +00:00
<x-inputs.input id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
<div>
2023-05-18 11:26:35 +00:00
<x-inputs.button type="submit">Save</x-inputs.button>
2023-05-17 07:26:50 +00:00
<a target="_blank" href="{{ $application->gitCommits }}">
2023-05-18 11:26:35 +00:00
Commits
<x-external-link />
2023-05-17 07:26:50 +00:00
</a>
</div>
</form>
2023-04-19 10:42:15 +00:00
</div>