htmxginpongo/ui/templates/layout.html.twig

20 lines
941 B
Twig
Raw Normal View History

2023-10-02 17:42:50 +02:00
{% extends "base.html.twig" %}
{%- block css %}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">{% endblock -%}
{%- block js %}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>{% endblock -%}
{%- block body %}
<div class="container">
<div class="row">
<div class="col-2">
{%- block left -%}{% endblock -%}
</div>
<div class="col-8">
{%- block middle -%}{% endblock -%}
</div>
<div class="col-2">
{%- block right -%}{% endblock -%}
</div>
</div>
</div>
{% endblock -%}