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

21 lines
876 B
PHP
Raw Normal View History

2023-04-19 10:42:15 +00:00
<div>
2023-05-16 11:11:05 +00:00
<h3>Source</h3>
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">
<x-inputs.input id="application.git_repository" label="Repository" readonly />
<x-inputs.input id="application.git_branch" label=" Branch" readonly />
<x-inputs.input id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
<div>
2023-05-17 10:14:18 +00:00
<x-inputs.button isBold type="submit">Save</x-inputs.button>
2023-05-17 07:26:50 +00:00
<a target="_blank" href="{{ $application->gitCommits }}">
2023-05-17 08:00:50 +00:00
Commits <img class="inline-flex w-4 h-4" src="{{ asset('svgs/external-link.svg') }}">
2023-05-17 07:26:50 +00:00
</a>
</div>
</form>
2023-04-19 10:42:15 +00:00
</div>