guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Mathieu Othacehe
Date: Fri, 23 Apr 2021 04:26:30 -0400 (EDT)

branch: master
commit 428eacf9c492251eea65b22ae10ee756275a36a9
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Apr 23 09:59:32 2021 +0200

    Add bootstrap.bundle.min.js.
    
    * src/static/js/bootstrap.bundle.min.js: New file.
    * Makefile.am (dist_js_DATA): Add it.
    * src/cuirass/http.scm (%file-white-list): Ditto.
    * src/cuirass/templates.scm: Ditto.
---
 Makefile.am                           | 1 +
 src/cuirass/http.scm                  | 1 +
 src/cuirass/templates.scm             | 1 +
 src/static/js/bootstrap.bundle.min.js | 7 +++++++
 4 files changed, 10 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 6469127..c19a913 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -114,6 +114,7 @@ dist_images_DATA =                          \
   src/static/images/guix.png                   \
   src/static/images/icon.png
 dist_js_DATA =                                 \
+  src/static/js/bootstrap.bundle.min.js         \
   src/static/js/chart.js                        \
   src/static/js/choices.min.js                  \
   src/static/js/d3.v6.min.js                   \
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index 8c5b83f..78ad9e9 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -85,6 +85,7 @@
     "fonts/open-iconic.woff"
     "images/icon.png"
     "images/guix.png"
+    "js/bootstrap.bundle.min.js"
     "js/chart.js"
     "js/d3.v6.min.js"
     "js/datatables.min.js"
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 5b18fc0..977ddfe 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -132,6 +132,7 @@ system whose names start with " (code "guile-") ":" (br)
           (link (@ (rel "icon") (type "image/png")
                    (href "/static/images/icon.png")))
           (script (@ (src "/static/js/jquery-3.6.0.min.js")))
+          (script (@ (src "/static/js/bootstrap.bundle.min.js")))
           (script (@ (src "/static/js/datatables.min.js")))
           (script (@ (src "/static/js/d3.v6.min.js")))
           (script "
diff --git a/src/static/js/bootstrap.bundle.min.js 
b/src/static/js/bootstrap.bundle.min.js
new file mode 100644
index 0000000..e6bd147
--- /dev/null
+++ b/src/static/js/bootstrap.bundle.min.js
@@ -0,0 +1,7 @@
+/*!
+  * Bootstrap v4.2.1 (https://getbootstrap.com/)
+  * Copyright 2011-2018 The Bootstrap Authors 
(https://github.com/twbs/bootstrap/graphs/contributors)
+  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+  */
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?e(exports,require("jquery")):"function"==typeof 
define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,p){"use
 strict";function i(t,e){for(var n=0;n<e.length;n++){var 
i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in 
i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return 
e&&i(t.prototype,e),n&&i(t,n),t}function l(o){for(var t=1;t<arguments.lengt 
[...]
+//# sourceMappingURL=bootstrap.bundle.min.js.map



reply via email to

[Prev in Thread] Current Thread [Next in Thread]