fix layout
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user