You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@petri.apache.org by wa...@apache.org on 2023/10/17 16:20:11 UTC

[petri] branch master updated: Store CSS and JS locally

This is an automated email from the ASF dual-hosted git repository.

wave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/petri.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a766c8  Store CSS and JS locally
     new a5507c1  Merge pull request #48 from sebbASF/issue46
1a766c8 is described below

commit 1a766c8484b2b66154cdb15cea98a95741ce66f9
Author: Sebb <se...@apache.org>
AuthorDate: Mon Sep 25 17:06:39 2023 +0100

    Store CSS and JS locally
    
    This fixes #46
---
 content/css/bootstrap.min.css           |  7 +++++++
 content/css/bootstrap.min.css.map       |  1 +
 content/css/github-markdown.min.css     |  2 ++
 content/css/github-markdown.min.css.map |  1 +
 content/js/bootstrap.min.js             |  7 +++++++
 content/js/bootstrap.min.js.map         |  1 +
 content/js/jquery.slim.min.js           |  2 ++
 content/js/popper.min.js                |  5 +++++
 content/js/popper.min.js.map            |  1 +
 theme/apache/templates/base.html        | 15 ++++++++++-----
 10 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/content/css/bootstrap.min.css b/content/css/bootstrap.min.css
new file mode 100644
index 0000000..92e3fe8
--- /dev/null
+++ b/content/css/bootstrap.min.css
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v4.3.1 (https://getbootstrap.com/)
+ * Copyright 2011-2019 The Bootstrap Authors
+ * Copyright 2011-2019 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-s [...]
+/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/content/css/bootstrap.min.css.map b/content/css/bootstrap.min.css.map
new file mode 100644
index 0000000..1e9cb78
--- /dev/null
+++ b/content/css/bootstrap.min.css.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_reboot.scss","dist/css/bootstrap.css","../../scss/vendor/_rfs.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../scss/mixi [...]
\ No newline at end of file
diff --git a/content/css/github-markdown.min.css b/content/css/github-markdown.min.css
new file mode 100644
index 0000000..68dfbcf
--- /dev/null
+++ b/content/css/github-markdown.min.css
@@ -0,0 +1,2 @@
+@font-face{font-family:octicons-link;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWU [...]
+/*# sourceMappingURL=github-markdown.min.css.map */
\ No newline at end of file
diff --git a/content/css/github-markdown.min.css.map b/content/css/github-markdown.min.css.map
new file mode 100644
index 0000000..9c8cf59
--- /dev/null
+++ b/content/css/github-markdown.min.css.map
@@ -0,0 +1 @@
+{"version":3,"sources":["github-markdown.css"],"names":[],"mappings":"AAAA,WACE,YAAa,cACb,IAAK,ksEAAksE,eAGzsE,wBACE,QAAS,aACT,KAAM,aACN,eAAgB,YAGlB,uBACE,MAAO,KACP,YAAa,EACb,YAAa,MACb,cAAe,IAGjB,6BACE,QAAS,EAGX,gCACA,gCACA,gCACA,gCACA,gCACA,gCACE,MAAO,QACP,eAAgB,OAChB,WAAY,OAGd,gCACA,gCACA,gCACA,gCACA,gCACA,gCACE,gBAAiB,KAGnB,8CACA,8CACA,8CACA,8CACA,8CACA,8CACE,WAAY,QAGd,eACE,qBAAsB,KACtB,yBAA0B,KAC1B,MAAO,QACP,YAAa,IACb,YAAa,aAAa,CAAC,kBAAkB,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU [...]
\ No newline at end of file
diff --git a/content/js/bootstrap.min.js b/content/js/bootstrap.min.js
new file mode 100644
index 0000000..c4c0d1f
--- /dev/null
+++ b/content/js/bootstrap.min.js
@@ -0,0 +1,7 @@
+/*!
+  * Bootstrap v4.3.1 (https://getbootstrap.com/)
+  * Copyright 2011-2019 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"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,g,u){"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 [...]
+//# sourceMappingURL=bootstrap.min.js.map
\ No newline at end of file
diff --git a/content/js/bootstrap.min.js.map b/content/js/bootstrap.min.js.map
new file mode 100644
index 0000000..1bcefd0
--- /dev/null
+++ b/content/js/bootstrap.min.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js","../../js/src/index.js"],"names":["TRANSITION_END","transitionEndEmulator","duration","_this","this","called","$","one","Util","set [...]
\ No newline at end of file
diff --git a/content/js/jquery.slim.min.js b/content/js/jquery.slim.min.js
new file mode 100644
index 0000000..7556941
--- /dev/null
+++ b/content/js/jquery.slim.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector | (c) OpenJS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(g,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,v=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l= [...]
diff --git a/content/js/popper.min.js b/content/js/popper.min.js
new file mode 100644
index 0000000..94a5c26
--- /dev/null
+++ b/content/js/popper.min.js
@@ -0,0 +1,5 @@
+/*
+ Copyright (C) Federico Zivolo 2019
+ Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
+ */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName) [...]
+//# sourceMappingURL=popper.min.js.map
diff --git a/content/js/popper.min.js.map b/content/js/popper.min.js.map
new file mode 100644
index 0000000..edaa6dc
--- /dev/null
+++ b/content/js/popper.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"popper.min.js","sources":["../../src/utils/isFunction.js","../../src/utils/getStyleComputedProperty.js","../../src/utils/getParentNode.js","../../src/utils/getScrollParent.js","../../src/utils/isIE.js","../../src/utils/getOffsetParent.js","../../src/utils/isOffsetContainer.js","../../src/utils/getRoot.js","../../src/utils/findCommonOffsetParent.js","../../src/utils/getScroll.js","../../src/utils/includeScroll.js","../../src/utils/getBordersSize.js","../../src/utils/g [...]
\ No newline at end of file
diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index efc2a03..ea7eed8 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -62,12 +62,14 @@
     <meta name="msapplication-config" content="https://www.apache.org/favicons/browserconfig.xml">
     <meta name="theme-color" content="#282661">
 
+    <!-- version 4.3.1 -->
     <link rel="stylesheet"
-      href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
+      href="/css/bootstrap.min.css"
       integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
       crossorigin="anonymous">
+    <!-- version 3.0.1 -->
     <link rel="stylesheet"
-      href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/3.0.1/github-markdown.min.css"
+      href="/css/github-markdown.min.css"
       crossorigin="anonymous">
     <style>
 html {
@@ -216,16 +218,19 @@ li {
     </footer>
 
     <script src="https://www.apachecon.com/event-images/snippet.js"></script>
+    <!-- version 3.6.0 -->
     <script
-      src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.slim.min.js"
+      src="/js/jquery.slim.min.js"
       integrity="sha512-6ORWJX/LrnSjBzwefdNUyLCMTIsGoNP6NftMy2UAm1JBm6PRZCO1d7OHBStWpVFZLO+RerTvqX/Z9mBFfCJZ4A=="
       crossorigin="anonymous"></script>
+    <!-- version 1.14.7 -->
     <script
-      src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
+      src="/js/popper.min.js"
       integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
       crossorigin="anonymous"></script>
+    <!-- version 4.3.1 -->
     <script
-      src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
+      src="/js/bootstrap.min.js"
       integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
       crossorigin="anonymous"></script>