static hosting

This commit is contained in:
Andras Bacsai
2023-04-26 13:01:09 +02:00
parent cc1c08786f
commit f4210e39f2
14 changed files with 90 additions and 28 deletions

View File

@@ -1,4 +1,6 @@
<x-applications.layout :applicationId="$application->id" title="Configurations">
<x-layout>
<h1>Configuration</h1>
<x-applications.navbar :applicationId="$application->id" />
<div x-data="{ tab: window.location.hash ? window.location.hash.substring(1) : 'general' }">
<div class="flex gap-4">
<a @click.prevent="tab = 'general'; window.location.hash = 'general'" href="#">General</a>
@@ -25,4 +27,4 @@
<livewire:project.application.storages :storages="$application->persistentStorages" />
</div>
</div>
</x-applications.layout>
</x-layout>

View File

@@ -1,3 +1,5 @@
<x-applications.layout :applicationId="$application->id" title="Deployment">
<x-layout>
<h1>Deployment</h1>
<x-applications.navbar :applicationId="$application->id" />
<livewire:project.application.poll-deployment :activity="$activity" :deployment_uuid="$deployment_uuid" />
</x-applications.layout>
</x-layout>

View File

@@ -1,4 +1,6 @@
<x-applications.layout :applicationId="$application->id" title="Deployments">
<x-layout>
<h1>Deployments</h1>
<x-applications.navbar :applicationId="$application->id" />
<div class="pt-2">
@forelse ($deployments as $deployment)
<livewire:project.application.get-deployments :deployment_uuid="data_get($deployment->properties, 'deployment_uuid')" :created_at="data_get($deployment, 'created_at')" :status="data_get($deployment->properties, 'status')" />
@@ -6,4 +8,4 @@
<p>No deployments found.</p>
@endforelse
</div>
</x-applications.layout>
</x-layout>