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 |
70f69b41
|
Adam Mištera
|
<div class="container py-4">
|
14 |
d668e889
|
Adam Mištera
|
@if (is_null($artefact))
|
15 |
|
|
<div class="text-center">
|
16 |
|
|
<h2>Currently no artefacts available.</h2>
|
17 |
|
|
</div>
|
18 |
|
|
@else
|
19 |
|
|
<div class="artefact-area mb-5">
|
20 |
|
|
<div class="card">
|
21 |
70f69b41
|
Adam Mištera
|
<a href="{{ url('/artefact/' . $artefact->id) }}">
|
22 |
|
|
<img class="card-img-top" src="{{asset('images/artefacts/book_cover_01.jpg')}}" width="100%" height=auto alt="book_cover">
|
23 |
|
|
</a>
|
24 |
|
|
<div class="card-cus-bottom">
|
25 |
|
|
<div class="col-xs-2 float-left left_panel_info">
|
26 |
|
|
<h5 class="artefact-name">{{$artefact->name}}</h5>
|
27 |
|
|
<h6 class="artefact-author">{{$artefact->author}}</h6>
|
28 |
|
|
</div>
|
29 |
|
|
<div class="col-xs-2 float-right right_panel_info">
|
30 |
|
|
<div class="float-left">
|
31 |
|
|
<button id="info_butt_{{$artefact->id}}" type="button" class="btn btn-primary button-image inter_info"></button>
|
32 |
|
|
</div>
|
33 |
|
|
<div class="float-right text-center">
|
34 |
|
|
<button id="like_butt_{{$artefact->id}}" type="button" class="btn btn-primary button-image inter_like"></button>
|
35 |
|
|
<h6 class="artefact-likes">{{$artefact->likes}}</h6>
|
36 |
|
|
</div>
|
37 |
|
|
</div>
|
38 |
d668e889
|
Adam Mištera
|
</div>
|
39 |
10222730
|
Adam Mištera
|
</div>
|
40 |
|
|
</div>
|
41 |
d668e889
|
Adam Mištera
|
@endif
|
42 |
|
|
</div>
|
43 |
10222730
|
Adam Mištera
|
@endsection
|