lasthourcloud/resources/views/livewire/source/github/create.blade.php

25 lines
1.0 KiB
PHP
Raw Normal View History

2023-05-08 11:36:49 +00:00
<div>
2023-12-07 18:06:32 +00:00
<form wire:submit='createGitHubApp' class="flex flex-col">
2023-06-12 20:02:10 +00:00
<h2>GitHub App</h2>
<div class="flex gap-2">
2023-08-11 18:19:42 +00:00
<x-forms.input id="name" label="Name" required />
<x-forms.input helper="If empty, your GitHub user will be used." id="organization" label="Organization" />
2023-06-12 20:02:10 +00:00
</div>
<h3 class="py-4">Advanced</h3>
<div class="flex gap-2">
2023-08-11 18:19:42 +00:00
<x-forms.input id="html_url" label="HTML Url" required />
<x-forms.input id="api_url" label="API Url" required />
2023-06-12 20:02:10 +00:00
</div>
<div class="flex gap-2">
2023-08-11 18:19:42 +00:00
<x-forms.input id="custom_user" label="Custom Git User" required />
2023-11-06 09:58:00 +00:00
<x-forms.input id="custom_port" type="number" label="Custom Git Port" required />
2023-05-31 20:23:17 +00:00
</div>
@if (!isCloud())
<x-forms.checkbox class="pt-2" id="is_system_wide" label="System Wide" />
@endif
<x-forms.button class="mt-4" type="submit">
2023-06-13 08:02:58 +00:00
Save New Source
2023-06-12 20:02:10 +00:00
</x-forms.button>
2023-05-08 11:36:49 +00:00
</form>
</div>