Projekt

Obecné

Profil

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