Current section

Files

Jump to
archeometer priv templates report main_report.slime
Raw

priv/templates/report/main_report.slime

= Enum.map app_data.sections, fn section ->
article.report-piece.d-flex.flex-d-column.gap-4
h2.hd-small.px-1.mx-0 id="#{section.desc}" = section.desc
= Enum.map section.fragments, fn fragment ->
= if fragment.query_type != :empty_input do
= renderer.fragment(fragment, renderer)
= renderer.fragment_result(fragment, renderer)