phase 5
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<x-app-layout>
|
||||
@php($currentProject = $project)
|
||||
@php
|
||||
$currentProject = $project;
|
||||
@endphp
|
||||
|
||||
<x-slot name="header">
|
||||
<div class="flex items-center justify-between">
|
||||
@@ -41,8 +43,19 @@
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@if($environments->isNotEmpty())
|
||||
<div>
|
||||
<x-input-label for="environment" value="Environment" />
|
||||
<select id="environment" name="environment" class="mt-1 block w-full border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm text-sm">
|
||||
<option value="">All</option>
|
||||
@foreach($environments as $env)
|
||||
<option value="{{ $env }}" {{ $currentEnvironment === $env ? 'selected' : '' }}>{{ ucfirst($env) }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@endif
|
||||
<x-primary-button>Filter</x-primary-button>
|
||||
@if($search || $currentLevel || $currentStatus !== 'unresolved')
|
||||
@if($search || $currentLevel || $currentEnvironment || $currentStatus !== 'unresolved')
|
||||
<a href="{{ route('projects.issues.index', $project) }}" class="text-sm text-gray-500 hover:text-gray-700">Reset</a>
|
||||
@endif
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user