ui
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
@auth
 | 
					@auth
 | 
				
			||||||
    <nav class="bg-coolgray-200/75">
 | 
					    <nav>
 | 
				
			||||||
        <div class="flex px-2 py-1">
 | 
					        <div class="flex px-2 py-1">
 | 
				
			||||||
            <div class="flex gap-2">
 | 
					            <div class="flex gap-2 text-sm">
 | 
				
			||||||
                <a href="/">
 | 
					                <a href="/">
 | 
				
			||||||
                    <x-inputs.button>Home</x-inputs.button>
 | 
					                    <x-inputs.button>Home</x-inputs.button>
 | 
				
			||||||
                </a>
 | 
					                </a>
 | 
				
			||||||
@@ -20,7 +20,7 @@
 | 
				
			|||||||
            <div class="flex-1"></div>
 | 
					            <div class="flex-1"></div>
 | 
				
			||||||
            <x-magic-bar />
 | 
					            <x-magic-bar />
 | 
				
			||||||
            <div class="flex-1"></div>
 | 
					            <div class="flex-1"></div>
 | 
				
			||||||
            <div class="flex gap-2">
 | 
					            <div class="flex gap-2 text-sm">
 | 
				
			||||||
                {{-- <livewire:check-update /> --}}
 | 
					                {{-- <livewire:check-update /> --}}
 | 
				
			||||||
                <livewire:force-upgrade />
 | 
					                <livewire:force-upgrade />
 | 
				
			||||||
                <form action="/logout" method="POST">
 | 
					                <form action="/logout" method="POST">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,22 +1,17 @@
 | 
				
			|||||||
<x-layout>
 | 
					<x-layout>
 | 
				
			||||||
    <div class="flex items-center gap-2">
 | 
					    <div class="flex items-center gap-2">
 | 
				
			||||||
        <h1>Resources</h1>
 | 
					        <h1>Resources</h1>
 | 
				
			||||||
        <a href="{{ route('project.resources.new', Route::current()->parameters()) }}">
 | 
					 | 
				
			||||||
            <x-inputs.button>New</x-inputs.button>
 | 
					 | 
				
			||||||
        </a>
 | 
					 | 
				
			||||||
        <livewire:project.delete :project_id="$project->id" :resource_count="$project->applications->count()" />
 | 
					        <livewire:project.delete :project_id="$project->id" :resource_count="$project->applications->count()" />
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    @if ($environment->applications->count() === 0)
 | 
					    @if ($environment->applications->count() === 0)
 | 
				
			||||||
        <p>No resources yet.</p>
 | 
					        <p>No resources yet.</p>
 | 
				
			||||||
    @endif
 | 
					    @endif
 | 
				
			||||||
    <div>
 | 
					    <div class="flex">
 | 
				
			||||||
        @foreach ($environment->applications as $application)
 | 
					        @foreach ($environment->applications as $application)
 | 
				
			||||||
            <p>
 | 
					            <a class="box"
 | 
				
			||||||
                <a
 | 
					                href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
 | 
				
			||||||
                    href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
 | 
					                {{ $application->name }}
 | 
				
			||||||
                    {{ $application->name }}
 | 
					            </a>
 | 
				
			||||||
                </a>
 | 
					 | 
				
			||||||
            </p>
 | 
					 | 
				
			||||||
        @endforeach
 | 
					        @endforeach
 | 
				
			||||||
        {{-- @foreach ($environment->databases as $database)
 | 
					        {{-- @foreach ($environment->databases as $database)
 | 
				
			||||||
            <p>
 | 
					            <p>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user