Document create continue

This commit is contained in:
Александр Бабкин
2022-07-01 21:45:15 +03:00
parent 17b364b1e3
commit 6bafca0eb6
6 changed files with 112 additions and 108 deletions

View File

@@ -15,30 +15,22 @@
</button>
</a>
{{-- <div align="center" class="pt-4">
<div align="center" class="pt-4">
<table class="table table-sm border-b border-gray-200">
<tr class="border border-gray-200">
<th class="p-2 border border-gray-200">
{{ __('Title')}}
</th>
<th class="p-2 border border-gray-200">
{{ __('Comment')}}
</th>
<th class="p-2 border border-gray-200">
{{ __('MMC Path')}}
</th>
<th class="p-2 border border-gray-200">
{{ __('Actions')}}
</th>
</tr>
@forelse ( $projects as $project)
@forelse ( $documents as $document)
<tr class="border border-gray-200">
<td class="p-2 border border-gray-200">{{ $project->name }}</td>
<td class="p-2 border border-gray-200">{{ $project->description }}</td>
<td class="p-2 border border-gray-200">{{ $project->mmc_path }}</td>
<td class="p-2 border border-gray-200">{{ $document->name }}</td>
<td class="p-2 border border-gray-200">
<div class="text-center">
<a href="{{ route('projects.show',$project->id) }}">
{{-- <a href="{{ route('projects.show',$project->id) }}">
<i class="fa fa-eye text-green-500 hover:text-green-700 px-2 text-lg"></i>
</a>
<a href="{{ route('projects.edit',$project->id) }}">
@@ -50,17 +42,17 @@
<button type="submit">
<i class="fa fa-trash text-red-500 hover:text-red-700 px-2 text-lg"></i>
</button>
</form>
</form> --}}
</div>
</td>
</tr>
@empty
<tr>
<td colspan="4" class="p-2 border border-gray-200 text-center">No Projects!</td>
<td colspan="2" class="p-2 border border-gray-200 text-center">No Documents!</td>
</tr>
@endforelse
</table>
</div> --}}
</div>
</div>
</div>
</div>