diff --git a/addons/dine360_dashboard/__manifest__.py b/addons/dine360_dashboard/__manifest__.py index cc34078..8df86fc 100644 --- a/addons/dine360_dashboard/__manifest__.py +++ b/addons/dine360_dashboard/__manifest__.py @@ -1,6 +1,6 @@ { 'name': 'Dine360 Dashboard', - 'version': '1.0.1', + 'version': '1.0.2', 'license': 'LGPL-3', 'category': 'Website', 'summary': 'Redirect login to home and show icon grid', diff --git a/addons/dine360_dashboard/static/src/js/chennora_title.js b/addons/dine360_dashboard/static/src/js/chennora_title.js index 03628af..55d5e07 100644 --- a/addons/dine360_dashboard/static/src/js/chennora_title.js +++ b/addons/dine360_dashboard/static/src/js/chennora_title.js @@ -7,5 +7,12 @@ patch(WebClient.prototype, { setup() { super.setup(); this.title.setParts({ brand: "Chennora" }); + + // Redirect to main dashboard if landing on backend root (common after module upgrade/install) + const hash = window.location.hash; + if (!hash || hash === "#home") { + window.location.href = "/"; + } } }); + diff --git a/addons/dine360_dashboard/views/login_templates.xml b/addons/dine360_dashboard/views/login_templates.xml index e61c752..80c0132 100644 --- a/addons/dine360_dashboard/views/login_templates.xml +++ b/addons/dine360_dashboard/views/login_templates.xml @@ -37,7 +37,7 @@ diff --git a/addons/dine360_theme_chennora/static/src/scss/theme.scss b/addons/dine360_theme_chennora/static/src/scss/theme.scss index 9a292e3..4a6f59c 100644 --- a/addons/dine360_theme_chennora/static/src/scss/theme.scss +++ b/addons/dine360_theme_chennora/static/src/scss/theme.scss @@ -29,7 +29,7 @@ header { /* Main Nav (Black) */ .o_header_main_nav { - background-color: #04121D !important; + background-color: #111 !important; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); .navbar-nav { @@ -1589,4 +1589,22 @@ a:hover *, } } } +} + +.s_map { + position: relative; + min-height: 500px !important; + max-height: 500px !important; + overflow: hidden; + + .map_container { + height: 500px !important; + position: relative; + } + + iframe { + height: 500px !important; + width: 100%; + border: 0; + } } \ No newline at end of file diff --git a/addons/dine360_theme_chennora/views/contact_page.xml b/addons/dine360_theme_chennora/views/contact_page.xml index 50cb325..7f8b9b9 100644 --- a/addons/dine360_theme_chennora/views/contact_page.xml +++ b/addons/dine360_theme_chennora/views/contact_page.xml @@ -195,9 +195,9 @@
-
+
+ width="100%" height="500" style="border:0; height: 500px !important; width: 100%;" allowfullscreen="" loading="lazy">
diff --git a/addons/dine360_theme_chennora/views/layout.xml b/addons/dine360_theme_chennora/views/layout.xml index 1cb2ac6..e1a33fe 100644 --- a/addons/dine360_theme_chennora/views/layout.xml +++ b/addons/dine360_theme_chennora/views/layout.xml @@ -239,7 +239,7 @@ diff --git a/shop_output.html b/shop_output.html index b5879b0..a972ef6 100644 Binary files a/shop_output.html and b/shop_output.html differ