[REF] runbot: move all assets to the bundle

Instead of hardcoding rels, move assets to the bundle.
This commit is contained in:
William Braeckman 2025-03-10 16:39:26 +01:00
parent 723f9c49ef
commit cc2e3e0d66
2 changed files with 7 additions and 7 deletions

View File

@ -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',

View File

@ -6,13 +6,6 @@
<html t-att-data-bs-theme="theme">
<head>
<title t-out="title or 'Runbot'"/>
<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"/>