Skip to content
Snippets Groups Projects
Commit f0ec67f1 authored by sri-odoo's avatar sri-odoo Committed by Thibault Delavallée
Browse files

[FIX] website_slides: improve upload modal overall design

Commit linked to task ID 1941250 and PR #31977
parent 7d27a6d6
No related branches found
No related tags found
No related merge requests found
......@@ -298,10 +298,6 @@ $o-wslides-fs-side-width: 300px;
// Modals
// **************************************************
.o_wslides_select_type {
cursor: pointer;
}
.o_wslides_quiz_modal {
@include media-breakpoint-up (sm) {
.modal-body {
......
......@@ -13,15 +13,16 @@
Slide Type Selection template
-->
<t t-name="website.slide.upload.modal.select">
<div class="d-flex flex-wrap justify-content-between align-items-stretch text-primary p-1 mt-4">
<t t-foreach="widget.slide_type_data" t-as="slide_type">
<div class="row p-1 mt-4">
<div t-foreach="widget.slide_type_data" t-as="slide_type" class="col-6 col-md-3">
<t t-set="type_data" t-value="widget.slide_type_data[slide_type]"/>
<div class="content-type d-flex flex-column align-items-center p-1 mb-4 o_wslides_select_type" t-att-data-slide-type="slide_type">
<i t-attf-class="fa #{type_data['icon']} mb-2" style="font-size:4rem;"></i>
<a href="#" t-att-data-slide-type="slide_type"
class="content-type d-flex flex-column align-items-center mb-4 o_wslides_select_type btn rounded border text-600 p-3">
<i t-attf-class="fa #{type_data['icon']} mb-2 fa-3x"/>
<t t-esc="type_data['label']"/>
</div>
</t>
</a>
</div>
</div>
</t>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment