File: 0005-Use-system-bootstrap.patch

package info (click to toggle)
dials 3.25.0%2Bdfsg3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,100 kB
  • sloc: python: 134,740; cpp: 34,526; makefile: 160; sh: 142
file content (25 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Roland Mas <lolando@debian.org>
Date: Tue, 13 Dec 2022 15:22:26 +0100
Subject: Use system bootstrap

---
 src/dials/templates/report_base.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dials/templates/report_base.html b/src/dials/templates/report_base.html
index f6a4306..408d186 100644
--- a/src/dials/templates/report_base.html
+++ b/src/dials/templates/report_base.html
@@ -41,10 +41,10 @@
   {% block external_dependencies %}
   <script src="/javascript/jquery/jquery.min.js"></script>
   <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
-  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
+  <script src="/javascript/bootstrap/js/bootstrap.min.js"></script>
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"></script>
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/contrib/auto-render.min.js"></script>
-  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"/>
+  <link rel="stylesheet" href="/javascript/bootstrap/css/bootstrap.min.css"/>
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css"/>
   {% endblock external_dependencies %}