💄 Corrige la taille des images

This commit is contained in:
Clement Desmidt 2017-11-13 11:28:32 +01:00
parent db4705d57c
commit ab0b23d257
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
<tbody>@foreach($deals as $deal)
<tr>
<td>
<img src="{{ $deal->getImages()[0] ?? null }}" width="60" />
</td>
<td>
{{$deal->getSubject()}}

View File

@ -5,7 +5,7 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-heading">Dashboard <a href="<?php echo route('deals.list', ['type' => $type]); ?>">Revenir à la liste</a></div>
<div class="panel-body">
@if (session('status'))
@ -19,7 +19,7 @@
<p>id : <strong>{{ $deal->getId() }}</strong> proposée le <strong>{{$deal->getDateCreation()->format('d/m/Y')}}</strong> à <strong>{{ $deal->getPrice() }} </strong></p>
<p>{{ $deal->getBody() }}</p>
<ul>@foreach($deal->getImages() as $image)
<li><img src="{{ $image }}"/></li>
<li><img src="{{ $image }}" width="600" /></li>
@endforeach</ul>
</div>
<div class="panel-footer"><a href="<?php echo route('deals.list', ['type' => $type]); ?>">Revenir à la liste</a></div>