From cc2e3e0d660711b6bcb29410f5dff7760cec6a0f Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Mon, 10 Mar 2025 16:39:26 +0100 Subject: [PATCH] [REF] runbot: move all assets to the bundle Instead of hardcoding rels, move assets to the bundle. --- runbot/__manifest__.py | 7 +++++++ runbot/templates/utils.xml | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/runbot/__manifest__.py b/runbot/__manifest__.py index 23dcaca9..0ff95fdc 100644 --- a/runbot/__manifest__.py +++ b/runbot/__manifest__.py @@ -70,6 +70,13 @@ 'runbot.assets_frontend': [ ('include', 'web.assets_frontend_minimal'), # Pray the gods this stays named correctly + 'runbot/static/libs/bootstrap/css/bootstrap.css', + 'runbot/static/libs/fontawesome/css/font-awesome.css', + 'runbot/static/src/css/runbot.css', + 'runbot/static/libs/jquery/jquery.js', + 'runbot/static/libs/popper/popper.js', + 'runbot/static/libs/bootstrap/js/bootstrap.bundle.js', + 'runbot/static/libs/owl.js', 'runbot/static/src/owl_module.js', diff --git a/runbot/templates/utils.xml b/runbot/templates/utils.xml index f9c35c21..e0f19450 100644 --- a/runbot/templates/utils.xml +++ b/runbot/templates/utils.xml @@ -6,13 +6,6 @@ - <link rel="stylesheet" type="text/css" href="/runbot/static/libs/bootstrap/css/bootstrap.css"/> - <link rel="stylesheet" type="text/css" href="/runbot/static/libs/fontawesome/css/font-awesome.css"/> - <link rel="stylesheet" type="text/css" href="/runbot/static/src/css/runbot.css"/> - - <script src="/runbot/static/libs/jquery/jquery.js" type="text/javascript"/> - <script type="text/javascript" src="/runbot/static/libs/popper/popper.js"/> - <script type="text/javascript" src="/runbot/static/libs/bootstrap/js/bootstrap.bundle.js"/> <t t-call-assets="runbot.assets_frontend"/>