tethys/resources/views/frontend/dataset/dataset.blade.php

46 lines
1.0 KiB
PHP
Raw Normal View History

2018-08-06 12:30:51 +00:00
@extends('layouts.app')
@section('content')
2018-11-05 15:44:25 +00:00
<h1 class="title">Datasets</h1>
2018-08-29 15:18:15 +00:00
<br><br>
<table class="pure-table pure-table-horizontal">
<thead>
<th>id</th>
2018-11-05 15:44:25 +00:00
<th>dataset type</th>
2018-08-29 15:18:15 +00:00
<!-- <th>Category</th>
<th>Shelf</th> -->
</thead>
<tbody>
2018-11-05 15:44:25 +00:00
@foreach($documents as $dataset)
2018-08-29 15:18:15 +00:00
<tr>
2018-11-05 15:44:25 +00:00
<td>
<a href="{{ route('frontend.dataset.show', ['id' => $dataset->id]) }}"> {{ $dataset->id }} </a>
</td>
<td>{{ $dataset->type }}</td>
2018-08-29 15:18:15 +00:00
<!-- <td>
if($book->stock > 0)
Available
elseif($book->stock == 0)
-
endif
</td> -->
</tr>
@endforeach
</tbody>
</table>
2018-08-06 12:30:51 +00:00
@stop