UI: Training templates fluid video layouts #104435

Merged
Márton Lente merged 13 commits from ui/training-layout-fluid into main 2024-08-23 16:50:27 +02:00
Showing only changes of commit a4afcc65c8 - Show all commits

View File

@ -16,15 +16,16 @@
<section class="training-group-item training-group-item-content-detail"> <section class="training-group-item training-group-item-content-detail">
<div class="row training-group-item-content-detail-inner"> <div class="row training-group-item-content-detail-inner">
<div class="col"> <div class="col">
{% if training.picture_header_url %}
<div class="mb-3 row"> <div class="mb-3 row">
<div class="col"> <div class="col">
{% if training.picture_header_url %}
<div class="training-header-img-helper"> <div class="training-header-img-helper">
<img src="{{ training.picture_header_url }}" class="img-fluid img-width-100 rounded" alt="{{ training.name }}"> <img src="{{ training.picture_header_url }}" class="img-fluid img-width-100 rounded" alt="{{ training.name }}">
</div> </div>
</div>
</div>
{% endif %} {% endif %}
</div>
</div>
<div class="align-items-start mb-3 row"> <div class="align-items-start mb-3 row">
<div class="col-12 col-md"> <div class="col-12 col-md">
<h1 class="mb-0">{{ training.name }}</h1> <h1 class="mb-0">{{ training.name }}</h1>