fix layout

This commit is contained in:
Ludovic CANDELLIER
2022-12-21 18:33:15 +01:00
parent 73ed46bc28
commit 5151f393be
16 changed files with 164 additions and 135 deletions

View File

@@ -1,22 +1,36 @@
<div class="row">
<div class="col-6">
<span style="font-size: 1.4em">
@if ($article['semences'] ?? false)
{{ $article['semences']['price'] ?? null }}</span>
@else
-
@endif
</span><br/>
<strong>Semence</strong>
<div class="col-7">
@if ($article_nature == 'semences')
<strong>Semences</strong><br/>
<small>
{{ $article['semences']['variation'] ?? null }}
</small>
@endif
@if ($article_nature == 'plants')
<strong>Plants</strong><br/>
<small>
{{ $article['plants']['variation'] ?? null }}
</small>
@endif
</div>
<div class="col-6">
<span style="font-size: 1.4em">
@if ($article['plants'] ?? false)
{{ $article['plants']['price'] }}</span>
@else
-
@endif
</span><br/>
<strong>Plant</strong>
<div class="col-5 text-right" style="font-weight: 700; font-size: 1.1em;">
@if ($article_nature == 'semences')
<span style="font-size: 1.4em">
@if ($article['semences'] ?? false)
{{ $article['semences']['price'] ?? null }}</span>
@else
-
@endif
</span><br/>
@endif
@if ($article_nature == 'plants')
<span style="font-size: 1.4em">
@if ($article['plants'] ?? false)
{{ $article['plants']['price'] }}</span>
@else
-
@endif
</span><br/>
@endif
</div>
</div>