1
|
@extends('layouts.app')
|
2
|
|
3
|
@section('title', 'Artefacts')
|
4
|
|
5
|
@section('breadcrumb')
|
6
|
<li class="breadcrumb-item"><a href="{{ url('/') }}">Home</a></li>
|
7
|
<li class="breadcrumb-item active" aria-current="page">Artefacts</li>
|
8
|
@endsection
|
9
|
|
10
|
|
11
|
@section('content')
|
12
|
<div class="jumbotron">
|
13
|
<div class="text-center">
|
14
|
<h1>Artefact list</h1>
|
15
|
<p>
|
16
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
17
|
Mauris dolor felis, sagittis at, luctus sed, aliquam non, tellus.
|
18
|
Fusce tellus odio, dapibus id fermentum quis, suscipit id erat.
|
19
|
Morbi scelerisque luctus velit. Vivamus porttitor turpis ac leo.
|
20
|
Morbi scelerisque luctus velit.
|
21
|
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
22
|
</p>
|
23
|
</div>
|
24
|
</div>
|
25
|
|
26
|
@if (count($artefacts) === 0)
|
27
|
<div class="text-center">
|
28
|
<h2>Currently no artefacts available.</h2>
|
29
|
</div>
|
30
|
@else
|
31
|
@foreach ($artefacts as $artefact)
|
32
|
<div class="artefacts-area mb-5">
|
33
|
<div class="card">
|
34
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="180" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Image cap"><title>Placeholder</title><rect width="100%" height="100%" fill="#868e96"></rect><text x="45%" y="50%" fill="#dee2e6" dy=".3em">Artefact image</text></svg>
|
35
|
<div class="card-body">
|
36
|
<h5 class="card-title"><a href="{{ url('/artefact/' . $artefact->id) }}">{{$artefact->name}}</a> - {{$artefact->author}}</h5>
|
37
|
<h6 class="card-subtitle mb-2 text-muted">{{$artefact->year}}, {{$artefact->pages}} pages</h6>
|
38
|
<p class="card-text">
|
39
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
40
|
Mauris dolor felis, sagittis at, luctus sed, aliquam non, tellus.
|
41
|
Fusce tellus odio, dapibus id fermentum quis, suscipit id erat.
|
42
|
Morbi scelerisque luctus velit. Vivamus porttitor turpis ac leo.
|
43
|
Morbi scelerisque luctus velit.
|
44
|
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
45
|
</p>
|
46
|
</div>
|
47
|
</div>
|
48
|
</div>
|
49
|
@endforeach
|
50
|
@endif
|
51
|
|
52
|
@endsection
|