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.
 
 
 
 
 

171 lines
9.8 KiB

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!--Template header for theme watchhut-->
<template id="watchhut_contact_us" name="WatchHut Contact Us"
inherit_id="website.contactus">
<!-- The template includes a banner section with a contact headline, contact information -->
<!-- such as email and phone, and social media links. It also provides a form for users -->
<!-- to submit their name, phone number, email, company, subject, and message.-->
<xpath expr="//div[@id='wrap']" position="replace">
<section class="banner_contact">
<div class="container">
<div class="row">
<h3 class="banner_head">
Contact
</h3>
</div>
</div>
</section>
<section class="contact">
<div class="container">
<div class="contact_contents">
<div class="row">
<div class="col-12">
<div class="email_c">
<a t-attf-href="mailto:{{ res_company.email }}">
<span t-esc="res_company.email"/>
</a>
</div>
<div class="tel_c">
<a t-attf-href="tel:{{ res_company.phone }}">
<span t-esc="res_company.phone"/>
</a>
</div>
<ul>
<li>
<a href="#">
<span class="fa fa-instagram"/>
</a>
</li>
<li>
<a href="#">
<span class="fa fa-facebook"/>
</a>
</li>
<li>
<a href="#">
<span class="fa fa-twitter"/>
</a>
</li>
</ul>
</div>
</div>
<section class="s_website_form" data-vcss="001"
data-snippet="s_website_form">
<span class="hidden" data-for="contactus_form"
t-att-data-values="{'email_to': res_company.email}"/>
<form id="contactus_form"
action="/website/form/" method="post"
enctype="multipart/form-data"
class="o_mark_required" data-mark="*"
data-model_name="mail.mail"
data-success-mode="redirect"
data-success-page="/contactus-thank-you"
data-pre-fill="true">
<div class=" row ">
<div class="col-lg-8 col-12">
<div class="form-group form-field"
data-type="char"
data-name="Field">
<label for="Name">Name</label>
<input id="contact1" type="text"
class="form-control o_website_form_input"
name="Name" required=""/>
</div>
</div>
<div class="col-lg-8 col-12">
<div class="form-group form-field"
data-type="char"
data-name="Field">
<label for="Phone">Phone</label>
<input id="contact2" type="tel"
class="form-control o_website_form_input"
name="Phone"/>
</div>
</div>
<div class="col-lg-8 col-12">
<div class="form-group form-field"
data-type="email"
data-name="Field">
<label for="email_from">Email
</label>
<input id="contact3"
type="email"
class="form-control o_website_form_input"
name="email_from"
required=""/>
</div>
</div>
<div class="col-lg-8 col-12">
<div class="form-group form-field"
data-type="char"
data-name="Field">
<label for="Partner Name">
Company
</label>
<input id="contact4" type="text"
class="form-control o_website_form_input"
name="Partner Name"/>
</div>
</div>
<div class="col-lg-8 col-12">
<div class="form-group form-field"
data-type="char"
data-name="Field">
<label for="subject">Subject
</label>
<input id="contact5" type="text"
class="form-control o_website_form_input"
name="subject"
required=""/>
</div>
</div>
<div class="col-lg-8 col-12">
<div class="form-group form-field"
data-type="text"
data-name="Field">
<label for="Description">
Message*
</label>
<textarea id="contact6" cols=""
rows="10"
class="o_website_form_input"
style="width: 100%;"
name="Description"
required=""/>
</div>
</div>
</div>
<div class="form-group col-12 s_website_form_field s_website_form_dnone">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label"
style="width: 200px"
for="contact7">
<span class="s_website_form_label_content">
Email To
</span>
</label>
<div class="col-sm">
<input id="contact7"
type="hidden"
class="form-control s_website_form_input"
name="email_to"/>
</div>
</div>
</div>
<div class="form-group s_website_form_submit"
data-name="Submit Button">
<a href="#" role="button"
class="btn btn-submit o_website_form_send">
Submit
</a>
<span id="o_website_form_result"/>
</div>
</form>
</section>
</div>
</div>
</section>
</xpath>
</template>
</odoo>