Projekt

Obecné

Profil

Stáhnout (2.74 KB) Statistiky
| Větev: | Tag: | Revize:
1 10222730 Adam Mištera
@extends('layouts.app')
2 74e290c2 Adam Mištera
3
@section('title', 'Artefacts')
4
5
@section('breadcrumb')
6 e7d6bdce Adam Mištera
    <li class="breadcrumb-item"><a href="{{ url('/') }}">Home</a></li>
7 74e290c2 Adam Mištera
    <li class="breadcrumb-item active" aria-current="page">Artefacts</li>
8
@endsection
9
10
11
@section('content')
12 d668e889 Adam Mištera
    <div class="container">
13
        <div class="jumbotron mt-5">
14
            <div class="text-center">
15
                <h1>Artefact list</h1>
16
                <p>
17
                    Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
18
                    Mauris dolor felis, sagittis at, luctus sed, aliquam non, tellus.
19
                    Fusce tellus odio, dapibus id fermentum quis, suscipit id erat.
20
                    Morbi scelerisque luctus velit. Vivamus porttitor turpis ac leo.
21
                    Morbi scelerisque luctus velit.
22
                    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
23
                </p>
24
            </div>
25 74e290c2 Adam Mištera
        </div>
26
27 d668e889 Adam Mištera
        @if (count($artefacts) === 0)
28
            <div class="text-center">
29
                <h2>Currently no artefacts available.</h2>
30
            </div>
31
        @else
32
            @foreach ($artefacts as $artefact)
33
                <div class="artefacts-area mb-5">
34
                    <div class="card">
35
                        <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>
36
                        <div class="card-body">
37
                            <h5 class="card-title"><a href="{{ url('/artefact/' . $artefact->id) }}">{{$artefact->name}}</a> - {{$artefact->author}}</h5>
38
                            <h6 class="card-subtitle mb-2 text-muted">{{$artefact->year}}, {{$artefact->pages}} pages</h6>
39
                            <p class="card-text">
40
                                Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
41
                                Mauris dolor felis, sagittis at, luctus sed, aliquam non, tellus.
42
                                Fusce tellus odio, dapibus id fermentum quis, suscipit id erat.
43
                                Morbi scelerisque luctus velit. Vivamus porttitor turpis ac leo.
44
                                Morbi scelerisque luctus velit.
45
                                Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
46
                            </p>
47
                        </div>
48 74e290c2 Adam Mištera
                    </div>
49
                </div>
50 d668e889 Adam Mištera
            @endforeach
51
        @endif
52
    </div>
53 74e290c2 Adam Mištera
54
@endsection