41 lines
1.3 KiB
PHTML

{% extends "lean-console/base/layout" %}
{% language.set "lean.templating" %}
{% title _("title") %}
{% section "breadcrumb-items" %}
<li class="breadcrumb-item">{% _ 'breadcrumb' %}</li>
{% endsection %}
{% section "content" %}
{% foreach $list as $path => $folder %}
<section>
<header>
<h2>{{ $path }}</h2>
</header>
<article class="picea">
{% foreach $folder as $file %}
<div class="grid">
<strong class="col route-name">{{ substr((string) $file, strlen($path)) }}</strong>
<div>
{#<a target="_blank" class="btn-red" href="">
Voir
</a>#}
</div>
</div>
{% endforeach %}
</article>
</section>
{% endforeach %}
<style>
.picea h5 {font-size:1.5em; line-height:2em; font-weight:bold;text-decoration:underline}
.picea strong.grid {background: #242528;color: #fff;}
.picea .grid {padding:0.66rem 0.3rem;align-items:center}
.picea .grid strong {color:#444}
.picea .grid:nth-child(even) {background: #e3e3e3 }
section + section {margin-top:1.2rem}
</style>
{% endsection %}