Revize e765fd91
Přidáno uživatelem Marek Lovčí před téměř 5 roky(ů)
resources/views/detail/index.blade.php | ||
---|---|---|
10 | 10 |
@endsection |
11 | 11 |
|
12 | 12 |
@section('content') |
13 |
<div class="jumbotron"> |
|
14 |
<div class="text-center"> |
|
15 |
@if (isset($arrArtefact)) |
|
16 |
<h1>Notes list</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 |
@else |
|
26 |
<h2>Given artefact does not exist!</h2> |
|
27 |
@endif |
|
28 |
</div> |
|
29 |
</div> |
|
30 |
@if(isset($arrArtefact)) |
|
31 |
<div class="artefact-area text-center mb-4"> |
|
32 |
<h2>{{$arrArtefact->name}}</h2> |
|
33 |
<h4>{{$arrArtefact->author}}, {{$arrArtefact->year}}</h4> |
|
34 |
<h5 class="text-muted">{{$arrArtefact->pages}} pages, <i class="fas fa-thumbs-up"></i> {{$likes}}</h5> |
|
13 |
<div class="container"> |
|
14 |
<div class="jumbotron mt-5"> |
|
15 |
<div class="text-center"> |
|
16 |
@if (isset($arrArtefact)) |
|
17 |
<h1>Notes list</h1> |
|
18 |
<p> |
|
19 |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. |
|
20 |
Mauris dolor felis, sagittis at, luctus sed, aliquam non, tellus. |
|
21 |
Fusce tellus odio, dapibus id fermentum quis, suscipit id erat. |
|
22 |
Morbi scelerisque luctus velit. Vivamus porttitor turpis ac leo. |
|
23 |
Morbi scelerisque luctus velit. |
|
24 |
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. |
|
25 |
</p> |
|
26 |
@else |
|
27 |
<h2>Given artefact does not exist!</h2> |
|
28 |
@endif |
|
29 |
</div> |
|
35 | 30 |
</div> |
36 |
@if(count($metadata) > 0) |
|
37 |
<ul class="list-group"> |
|
38 |
@foreach($metadata as $meta) |
|
39 |
<div class="note-area mb-3"> |
|
31 |
@if(isset($arrArtefact)) |
|
32 |
<div class="artefact-area text-center mb-4"> |
|
33 |
<h2>{{$arrArtefact->name}}</h2> |
|
34 |
<h4>{{$arrArtefact->author}}, {{$arrArtefact->year}}</h4> |
|
35 |
<h5 class="text-muted">{{$arrArtefact->pages}} pages, <i class="fas fa-thumbs-up"></i> {{$likes}}</h5> |
|
36 |
</div> |
|
37 |
@if(count($metadata) > 0) |
|
38 |
<ul class="list-group"> |
|
39 |
@foreach($metadata as $meta) |
|
40 |
<div class="note-area mb-3"> |
|
41 |
<li class="list-group-item"> |
|
42 |
On {{$meta->page}} page:<br> |
|
43 |
{{$meta->noteCZ}}<br> |
|
44 |
{{$meta->noteEN}}<br> |
|
45 |
</li> |
|
46 |
</div> |
|
47 |
@endforeach |
|
48 |
</ul> |
|
49 |
@else |
|
50 |
<ul class="list-group"> |
|
40 | 51 |
<li class="list-group-item"> |
41 |
On {{$meta->page}} page:<br> |
|
42 |
{{$meta->noteCZ}}<br> |
|
43 |
{{$meta->noteEN}}<br> |
|
52 |
<h3>No notes for this BOOK were found!</h3> |
|
44 | 53 |
</li> |
45 |
</div> |
|
46 |
@endforeach |
|
47 |
</ul> |
|
48 |
@else |
|
49 |
<ul class="list-group"> |
|
50 |
<li class="list-group-item"> |
|
51 |
<h3>No notes for this BOOK were found!</h3> |
|
52 |
</li> |
|
53 |
</ul> |
|
54 |
</ul> |
|
55 |
@endif |
|
54 | 56 |
@endif |
55 |
@endif
|
|
57 |
</div>
|
|
56 | 58 |
@endsection |
Také k dispozici: Unified diff
Relace Metadata|User.
Issue #7847 @0.25h