customize website layout with a Chennora title, add dashboard navigation elements, and implement a new footer with contact information.

This commit is contained in:
Alaguraj0361 2026-02-03 18:38:49 +05:30
parent f0eb865fba
commit 47cc9f113d
2 changed files with 26 additions and 0 deletions

View File

@ -3,5 +3,16 @@
<xpath expr="//title" position="replace">
<title>Chennora</title>
</xpath>
<xpath expr="//body" position="inside">
<a href="/" class="o_dashboard_return_btn d-print-none" title="Back to Dashboard"
style="position: fixed; bottom: 20px; right: 20px; z-index: 99999;
background-color: #d6111e; color: #ffff; padding: 12px 24px;
border-radius: 50px; text-decoration: none; font-weight: bold;
box-shadow: 0 4px 15px rgba(0,0,0,0.2); display: flex; align-items: center;
gap: 8px; transition: all 0.3s ease; border: 2px solid #04121D; font-family: sans-serif;">
<i class="fa fa-th-large" style="font-size: 18px;"></i>
<span>Back to Dashboard</span>
</a>
</xpath>
</template>
</odoo>

View File

@ -87,6 +87,21 @@
</xpath>
<xpath expr="//header" position="before">
<!-- Back to Dashboard Top Bar -->
<div class="o_header_top_bar bg-dark text-white py-2" style="z-index: 1050; position: relative;">
<div class="container d-flex justify-content-between align-items-center">
<a href="/" class="text-white text-decoration-none fw-bold text-uppercase d-flex align-items-center" style="font-size: 12px; letter-spacing: 1px; transition: opacity 0.3s;">
<i class="fa fa-th-large me-2" style="color: #FECD4F;"></i>
<span>Back to Dashboard</span>
</a>
<!-- Optional: Right side link (e.g. account) could go here -->
<div class="text-white-50 small">
<i class="fa fa-user-circle me-1"></i> <t t-esc="user_id.name"/>
</div>
</div>
</div>
<t t-set="cta_btn_text" t-value="False"/>
<t t-set="cta_btn_href">/contactus</t>
<t t-set="extra_items_toggle_aria_label">Extra items button</t>