You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.7 KiB
53 lines
2.7 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!-- Add testimonial snippet to website snippets -->
|
|
<template id="testimonial_snippet" inherit_id="website.snippets" name="Testimonial">
|
|
<xpath expr="//snippets[@id='snippet_groups']"
|
|
position="inside">
|
|
<t t-snippet="theme_shopping.shopping_testimonial"
|
|
t-thumbnail="/theme_shopping/static/src/images/snippet_icons/testinomial-1.png"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Main testimonial template -->
|
|
<template id="shopping_testimonial" name="Testimonial">
|
|
<section class="container oe_structure testimonial-section">
|
|
<div class="st-wrapper" style="background-color: #ccccb3; padding:10px; border-radius: 10px; overflow: hidden;">
|
|
<div class="row p-3">
|
|
<!-- Testimonial Header Section -->
|
|
<div class="col-md-4">
|
|
<span class="st-sm_highlighklt st-sm__testimonial--head">Testimonial</span>
|
|
<h3 class="st-abt__main--heading">What people say About Our Company</h3>
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
|
|
<center>
|
|
<a type="add_review" id="add_testimonial"
|
|
style="color: black; display:block !important; text-decoration: none; cursor:pointer; !important;">
|
|
> Add your Testimonial
|
|
</a>
|
|
</center>
|
|
</div>
|
|
|
|
<!-- Testimonial Carousel Section -->
|
|
<div class="col-md-8">
|
|
<div class="d-flex owl-carousel owl-carousel-about" id="testimonial_carousel">
|
|
<!-- Testimonials will be dynamically inserted here by JavaScript -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Testimonial Submission Form -->
|
|
<div class="row p-3 justify-content-center testimonial_form" id="testimonial_form">
|
|
<form id="testimonialSubmitForm" action="/website/testimonial/submit" method="post">
|
|
<textarea id="testimonial" class="form-control" rows="4" required="required"
|
|
placeholder="Share your experience..."/>
|
|
<center>
|
|
<button type="submit" id="submit_testimonial" class="btn btn-dark mt-3">
|
|
Submit
|
|
</button>
|
|
</center>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
</odoo>
|
|
|