Add display articles by rows, and display article in full mode

This commit is contained in:
Ludovic CANDELLIER
2022-01-18 23:39:27 +01:00
parent 3641bd7d68
commit cefe956bc4
11 changed files with 147 additions and 84 deletions

View File

@@ -4,7 +4,7 @@
@isset($header)
{{ $header }}
@else
<h3 class="card-title">{{ $title }}</h3>
<h3 class="card-title">{{ $title ?? false }}</h3>
@isset($tools)
<div class="card-tools">
{!! $tools !!}

View File

@@ -1,4 +1,6 @@
<button type="{{ $type ?? 'button' }}" class="btn {{ $class ?? ''}}" @if (isset($id)) id="{{ $id }}"@endif>
<i class="fa fa-fw {{ $icon ?? '' }}"></i>
@if ($icon ?? false)
<i class="fa fa-fw {{ $icon ?? '' }}"></i>
@endif
{{ $txt ?? '' }}
</button>