wip: migrate to livewire 3

This commit is contained in:
Andras Bacsai
2023-12-07 19:06:32 +01:00
parent 2f286a6595
commit 718603e37e
254 changed files with 930 additions and 936 deletions

View File

@@ -5,12 +5,12 @@
</x-slot:modalBody>
</x-modal>
@if (data_get($github_app, 'app_id'))
<form wire:submit.prevent='submit'>
<form wire:submit='submit'>
<div class="flex items-center gap-2">
<h1>GitHub App</h1>
<div class="flex gap-2">
@if (data_get($github_app, 'installation_id'))
<x-forms.button type="submit">Save</x-forms.button>
<x-forms.button type="submit">Save</x-forms.button>
<a href="{{ get_installation_path($github_app) }}">
<x-forms.button>
Update Repositories
@@ -91,8 +91,8 @@
<span>You must complete this step before you can use this source!</span>
</div>
<div class="flex flex-col">
<h2 >Register a GitHub App</h2>
<div >You need to register a GitHub App before using this source.</div>
<h2>Register a GitHub App</h2>
<div>You need to register a GitHub App before using this source.</div>
<div class="py-10">
@if (!isCloud() || isDev())
<div class="flex items-end gap-2">

View File

@@ -1,5 +1,5 @@
<div>
<form wire:submit.prevent='createGitHubApp' class="flex flex-col">
<form wire:submit='createGitHubApp' class="flex flex-col">
<h2>GitHub App</h2>
<div class="flex gap-2">
<x-forms.input id="name" label="Name" required />