54 lines
1.7 KiB
PHTML
54 lines
1.7 KiB
PHTML
{% extends "lean-console/base/layout" %}
|
|
|
|
{% language.set "lean.caching" %}
|
|
|
|
{% title _("title") %}
|
|
|
|
{% section "header" %}
|
|
<div class="page-title">{% _ "page-title" %}</div>
|
|
{% endsection %}
|
|
|
|
{% section "breadcrumb-items" %}
|
|
<li class="breadcrumb-item">{% _ 'breadcrumb' %}</li>
|
|
{% endsection %}
|
|
|
|
{% section "content" %}
|
|
{% foreach $list as $path => $folder %}
|
|
<section>
|
|
<header>
|
|
<h2>{{ $path }}</h2>
|
|
|
|
{% ui:form.post "caching.picea" %}
|
|
<button class="btn-red" type="submit">{% _ 'clear' %}</button>
|
|
{% ui:endform %}
|
|
</header>
|
|
|
|
<article class="picea">
|
|
{% foreach $folder as $file %}
|
|
{% php $import = include($file) %}
|
|
|
|
<div class="grid">
|
|
<strong class="col route-name">{{ substr($file, strlen($path)) }}</strong>
|
|
|
|
<div class="col">
|
|
{{ $import['namespace'] }}
|
|
</div>
|
|
|
|
<div class="col">
|
|
{{ $import['view'] }}
|
|
</div>
|
|
</div>
|
|
{% endforeach %}
|
|
</article>
|
|
</section>
|
|
{% endforeach %}
|
|
|
|
<style>
|
|
section > header {display:flex;justify-content: space-between}
|
|
.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 }
|
|
</style>
|
|
{% endsection %} |