move files around
This commit is contained in:
@@ -21,7 +21,7 @@ class ApplicationController extends Controller
|
||||
if (!$application) {
|
||||
return redirect()->route('home');
|
||||
}
|
||||
return view('project.applications.configuration', ['application' => $application]);
|
||||
return view('project.application.configuration', ['application' => $application]);
|
||||
}
|
||||
public function deployments()
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ApplicationController extends Controller
|
||||
if (!$application) {
|
||||
return redirect()->route('home');
|
||||
}
|
||||
return view('project.applications.deployments', ['application' => $application, 'deployments' => $application->deployments()]);
|
||||
return view('project.application.deployments', ['application' => $application, 'deployments' => $application->deployments()]);
|
||||
}
|
||||
|
||||
public function deployment()
|
||||
@@ -58,7 +58,7 @@ class ApplicationController extends Controller
|
||||
}
|
||||
$activity = Activity::where('properties->deployment_uuid', '=', $deployment_uuid)->first();
|
||||
|
||||
return view('project.applications.deployment', [
|
||||
return view('project.application.deployment', [
|
||||
'application' => $application,
|
||||
'activity' => $activity,
|
||||
'deployment_uuid' => $deployment_uuid,
|
||||
|
||||
@@ -46,7 +46,7 @@ class ProjectController extends Controller
|
||||
if (!$application) {
|
||||
return redirect()->route('home');
|
||||
}
|
||||
return view('project.applications.configuration', ['application' => $application]);
|
||||
return view('project.application.configuration', ['application' => $application]);
|
||||
}
|
||||
public function application_deployments()
|
||||
{
|
||||
@@ -62,7 +62,7 @@ class ProjectController extends Controller
|
||||
if (!$application) {
|
||||
return redirect()->route('home');
|
||||
}
|
||||
return view('project.applications.deployments', ['application' => $application, 'deployments' => $application->deployments()]);
|
||||
return view('project.application.deployments', ['application' => $application, 'deployments' => $application->deployments()]);
|
||||
}
|
||||
|
||||
public function application_deployment()
|
||||
@@ -83,7 +83,7 @@ class ProjectController extends Controller
|
||||
}
|
||||
$activity = Activity::where('properties->deployment_uuid', '=', $deployment_uuid)->first();
|
||||
|
||||
return view('project.applications.deployment', [
|
||||
return view('project.application.deployment', [
|
||||
'application' => $application,
|
||||
'activity' => $activity,
|
||||
'deployment_uuid' => $deployment_uuid,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use App\Jobs\DeployApplicationJob;
|
||||
use App\Models\Application;
|
||||
@@ -8,7 +8,7 @@ use Illuminate\Support\Facades\Route;
|
||||
use Livewire\Component;
|
||||
use Visus\Cuid2\Cuid2;
|
||||
|
||||
class DeployApplication extends Component
|
||||
class Deploy extends Component
|
||||
{
|
||||
public string $applicationId;
|
||||
public $activity;
|
||||
@@ -35,7 +35,7 @@ class DeployApplication extends Component
|
||||
}
|
||||
protected function redirectToDeployment()
|
||||
{
|
||||
return redirect()->route('project.applications.deployment', $this->parameters);
|
||||
return redirect()->route('project.application.deployment', $this->parameters);
|
||||
}
|
||||
public function start()
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Application;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Application;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Application;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use App\Models\Application;
|
||||
use Livewire\Component;
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use Livewire\Component;
|
||||
use Spatie\Activitylog\Models\Activity;
|
||||
|
||||
class PollDeployment extends Component
|
||||
class GetDeployments extends Component
|
||||
{
|
||||
public string $deployment_uuid;
|
||||
public string $created_at;
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use Livewire\Component;
|
||||
use Spatie\Activitylog\Models\Activity;
|
||||
|
||||
class PollActivity extends Component
|
||||
class PollDeployment extends Component
|
||||
{
|
||||
public $activity;
|
||||
public $isKeepAliveOn = true;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Application;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use App\Models\Application;
|
||||
use Livewire\Component;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Application;
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Livewire\Component;
|
||||
10
app/Http/Livewire/Project/NewProject.php
Normal file
10
app/Http/Livewire/Project/NewProject.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Project;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class NewProject extends Component
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user