forked from alaguraj/odoo-testing-addons
Add a Dashboard button to the Odoo navigation bar.
This commit is contained in:
parent
46249085cd
commit
d8db1f9334
@ -9,14 +9,6 @@
|
||||
<span>Dashboard</span>
|
||||
</a>
|
||||
</xpath>
|
||||
<!-- Also add the floating button here to ENSURE it works in backend too -->
|
||||
<xpath expr="//nav" position="after">
|
||||
<a t-if="!env.services.user.isPublic" href="/" class="o_dashboard_floating_btn_fixed d-print-none d-flex align-items-center justify-content-center shadow-lg"
|
||||
style="position: fixed; bottom: 30px; right: 30px; z-index: 9999;
|
||||
background-color: #d6111e; color: white !important; width: 65px; height: 65px;
|
||||
border-radius: 50%; text-decoration: none; border: 3px solid white;">
|
||||
<i class="fa fa-th-large" style="font-size: 28px;"></i>
|
||||
</a>
|
||||
</xpath>
|
||||
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user