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.
 
 
 
 
 

49 lines
2.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- New template for signup -->
<template id="web_age_signup_layout" name="Signup Layout"
inherit_id="auth_signup.signup">
<xpath expr="//form" position="attributes">
<attribute name="id">signup_form</attribute>
</xpath>
<xpath expr="//form" position="after">
<div class="age-verify" style="padding-left: 500px;">
<!-- Age verification modal content -->
<div class="card" style="width: 60%;">
<div class="row">
<div class="col-lg-4 verify">
<div class="modal-img">
<img src="./age_verification_odoo/static/src/image/check-mark.png"
alt=""/>
</div>
</div>
<div class="col-lg-8">
<div class="right-content">
<h2>Age Verification</h2>
<p>Please confirm your age...</p>
<span>You must be 18 or over to access this
website, else you have to exit
</span>
<p>Please enter Your Date of Birth</p>
<input type="date" id="start"
class="date-select"
name="trip-start"
t-att-value="datetime.date.today()"
/>
<div class="conform-btn"
id="age_confirmed">
<button type="button"
class="btn-submit">Submit
</button>
</div>
<p class="access_message d-none">You don't
have permission to access
</p>
</div>
</div>
</div>
</div>
</div>
</xpath>
</template>
</odoo>