Skip to content

Commit cc2e3e0

Browse files
[REF] runbot: move all assets to the bundle
Instead of hardcoding rels, move assets to the bundle.
1 parent 723f9c4 commit cc2e3e0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

runbot/__manifest__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@
7070
'runbot.assets_frontend': [
7171
('include', 'web.assets_frontend_minimal'), # Pray the gods this stays named correctly
7272

73+
'runbot/static/libs/bootstrap/css/bootstrap.css',
74+
'runbot/static/libs/fontawesome/css/font-awesome.css',
75+
'runbot/static/src/css/runbot.css',
76+
'runbot/static/libs/jquery/jquery.js',
77+
'runbot/static/libs/popper/popper.js',
78+
'runbot/static/libs/bootstrap/js/bootstrap.bundle.js',
79+
7380
'runbot/static/libs/owl.js',
7481
'runbot/static/src/owl_module.js',
7582

runbot/templates/utils.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
<html t-att-data-bs-theme="theme">
77
<head>
88
<title t-out="title or 'Runbot'"/>
9-
<link rel="stylesheet" type="text/css" href="/runbot/static/libs/bootstrap/css/bootstrap.css"/>
10-
<link rel="stylesheet" type="text/css" href="/runbot/static/libs/fontawesome/css/font-awesome.css"/>
11-
<link rel="stylesheet" type="text/css" href="/runbot/static/src/css/runbot.css"/>
12-
13-
<script src="/runbot/static/libs/jquery/jquery.js" type="text/javascript"/>
14-
<script type="text/javascript" src="/runbot/static/libs/popper/popper.js"/>
15-
<script type="text/javascript" src="/runbot/static/libs/bootstrap/js/bootstrap.bundle.js"/>
169

1710
<t t-call-assets="runbot.assets_frontend"/>
1811

0 commit comments

Comments
 (0)