better frontend with dataset files

This commit is contained in:
Arno Kaimbacher 2018-11-05 16:44:25 +01:00
parent d788410cb5
commit 3b005f4555
13 changed files with 399 additions and 89 deletions

View file

@ -2,7 +2,7 @@
@section('content')
<h1 class="title">Documents</h1>
<h1 class="title">Datasets</h1>
<br><br>
@ -10,7 +10,7 @@
<thead>
<th>id</th>
<th>document type</th>
<th>dataset type</th>
<!-- <th>Category</th>
<th>Shelf</th> -->
@ -18,11 +18,13 @@
<tbody>
@foreach($documents as $document)
@foreach($documents as $dataset)
<tr>
<td>{{ $document->id }}</td>
<td>{{ $document->type }}</td>
<td>
<a href="{{ route('frontend.dataset.show', ['id' => $dataset->id]) }}"> {{ $dataset->id }} </a>
</td>
<td>{{ $dataset->type }}</td>
<!-- <td>
if($book->stock > 0)
Available