[REF] runbot: reorganize static folder
- Move libs from ./static/src/libs to ./static/libs - Move img from ./static/src/img to ./static/img - Remove the ./js subfolder of src - Remove empty log_display.js file - Remove the unused runbot.assets_frontend bundle
@ -63,20 +63,8 @@
|
||||
|
||||
'assets': {
|
||||
'web.assets_backend': [
|
||||
'runbot/static/src/libs/diff_match_patch/diff_match_patch.js',
|
||||
'runbot/static/src/js/fields/*',
|
||||
],
|
||||
'runbot.assets_frontend': [
|
||||
'/web/static/lib/bootstrap/dist/css/bootstrap.css',
|
||||
'/web/static/src/libs/fontawesome/css/font-awesome.css',
|
||||
'/runbot/static/src/css/runbot.css',
|
||||
|
||||
'/web/static/lib/jquery/jquery.js',
|
||||
'/web/static/lib/popper/popper.js',
|
||||
#'/web/static/lib/bootstrap/js/dist/util.js',
|
||||
'/web/static/lib/bootstrap/js/dist/dropdown.js',
|
||||
'/web/static/lib/bootstrap/js/dist/collapse.js',
|
||||
'/runbot/static/src/js/runbot.js',
|
||||
'runbot/static/libs/diff_match_patch/diff_match_patch.js',
|
||||
'runbot/static/src/fields/*',
|
||||
],
|
||||
},
|
||||
'post_load': 'runbot_post_load',
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 1002 B After Width: | Height: | Size: 1002 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1012 B After Width: | Height: | Size: 1012 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1012 B After Width: | Height: | Size: 1012 B |
Before Width: | Height: | Size: 723 B After Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 1016 B After Width: | Height: | Size: 1016 B |
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 903 B |
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 434 KiB |
@ -131,7 +131,7 @@
|
||||
</div>
|
||||
</t>
|
||||
<script type="text/javascript" src="/web/static/lib/Chart/Chart.js"></script>
|
||||
<script type="text/javascript" src="/runbot/static/src/js/stats.js"></script>
|
||||
<script type="text/javascript" src="/runbot/static/src/frontend/stats.js"></script>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
|
@ -6,38 +6,38 @@
|
||||
<html t-att-data-bs-theme="theme">
|
||||
<head>
|
||||
<title t-out="title or 'Runbot'"/>
|
||||
<link rel="stylesheet" type="text/css" href="/runbot/static/src/libs/bootstrap/css/bootstrap.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/runbot/static/src/libs/fontawesome/css/font-awesome.css"/>
|
||||
<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/src/libs/jquery/jquery.js" type="text/javascript"/>
|
||||
<script type="text/javascript" src="/runbot/static/src/libs/popper/popper.js"/>
|
||||
<script type="text/javascript" src="/runbot/static/src/libs/bootstrap/js/bootstrap.bundle.js"/>
|
||||
<script type="text/javascript" src="/runbot/static/src/js/runbot.js"/>
|
||||
<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"/>
|
||||
<script type="text/javascript" src="/runbot/static/src/frontend/runbot.js"/>
|
||||
|
||||
<t t-if="refresh">
|
||||
<meta http-equiv="refresh" t-att-content="refresh"/>
|
||||
</t>
|
||||
|
||||
<t t-if="not page_info_state or page_info_state == 'ok' or page_info_state not in ('warn', 'ko', 'skipped', 'killed', 'manually_killed')">
|
||||
<link rel="icon" type="image/png" href="/runbot/static/src/img/icon_ok.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/src/img/icon_ok.svg"/>
|
||||
<link rel="icon" type="image/png" href="/runbot/static/img/icon_ok.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/img/icon_ok.svg"/>
|
||||
</t>
|
||||
<t t-elif="page_info_state == 'ko'">
|
||||
<link rel="icon" type="image/png" href="/runbot/static/src/img/icon_ko.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/src/img/icon_ko.svg"/>
|
||||
<link rel="icon" type="image/png" href="/runbot/static/img/icon_ko.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/img/icon_ko.svg"/>
|
||||
</t>
|
||||
<t t-elif="page_info_state == 'warn'">
|
||||
<link rel="icon" type="image/png" href="/runbot/static/src/img/icon_warn.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/src/img/icon_warn.svg"/>
|
||||
<link rel="icon" type="image/png" href="/runbot/static/img/icon_warn.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/img/icon_warn.svg"/>
|
||||
</t>
|
||||
<t t-elif="page_info_state == 'skipped'">
|
||||
<link rel="icon" type="image/png" href="/runbot/static/src/img/icon_skipped.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/src/img/icon_skipped.svg"/>
|
||||
<link rel="icon" type="image/png" href="/runbot/static/img/icon_skipped.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/img/icon_skipped.svg"/>
|
||||
</t>
|
||||
<t t-elif="page_info_state == 'killed' or page_info_state == 'manually_killed'">
|
||||
<link rel="icon" type="image/png" href="/runbot/static/src/img/icon_killed.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/src/img/icon_killed.svg"/>
|
||||
<link rel="icon" type="image/png" href="/runbot/static/img/icon_killed.png"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/runbot/static/img/icon_killed.svg"/>
|
||||
</t>
|
||||
</head>
|
||||
<body>
|
||||
|