This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch asf-site-source in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/asf-site-source by this push: new 2ef323c4f RATIS-2250. Website broken due to using remote resources (#1222) 2ef323c4f is described below commit 2ef323c4f0aad742717035868a5e78c285e428bb Author: Doroszlai, Attila <6454655+adorosz...@users.noreply.github.com> AuthorDate: Wed Feb 19 21:13:20 2025 +0100 RATIS-2250. Website broken due to using remote resources (#1222) --- layouts/index.html | 9 +-------- layouts/partials/footer.html | 6 ++---- layouts/partials/header.html | 3 +-- static/bootstrap.min.css | 6 ++++++ static/bootstrap.min.js | 7 +++++++ static/jquery.min.js | 6 ++++++ 6 files changed, 23 insertions(+), 14 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index b9637157d..407698fa9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -151,16 +151,9 @@ <a href="//www.slideshare.net/TszWoNicholasSze/apache-ratis-in-search-of-a-usable-raft-library" title="Apache Ratis - In Search of a Usable Raft Library" target="_blank"> Apache Ratis - In Search of a Usable Raft Library</a> - <br /> - <iframe src="//www.slideshare.net/slideshow/embed_code/key/3OyDeDVxSWhIcd" width="595" height="485" - frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; - margin-bottom:5px; max-width: 100%;" allowfullscreen> - </iframe> </li> - <li> <a href="//www.slideshare.net/Hadoop_Summit/high-throughput-data-replication-over-raft" title="High throughput data replication over RAFT" target="_blank">High throughput data replication over RAFT</a> from DataWorks Summit</a> - <iframe src="//www.slideshare.net/slideshow/embed_code/key/40nJZyfhrysXeK" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> - <div style="margin-bottom:5px"></div></li> + <li> <a href="//www.slideshare.net/Hadoop_Summit/high-throughput-data-replication-over-raft" title="High throughput data replication over RAFT" target="_blank">High throughput data replication over RAFT</a> from DataWorks Summit</a></li> </div> </div> </div> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d39abdef5..ff692d568 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -23,11 +23,9 @@ </footer> <!-- Javascript. Placed here so pages load faster --> -<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> +<script src="jquery.min.js"></script> <script src="./js/underscore-min.js"></script> -<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" - integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" - crossorigin="anonymous"></script> +<script src="bootstrap.min.js"></script> </body> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 66d00111a..20f6eec67 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,8 +29,7 @@ <link rel="canonical" href="https://ratis.apache.org/"> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" - integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> + <link rel="stylesheet" href="bootstrap.min.css"> <link rel="stylesheet" href="style.css"> <script src="https://www.apachecon.com/event-images/snippet.js"></script> diff --git a/static/bootstrap.min.css b/static/bootstrap.min.css new file mode 100644 index 000000000..4cf729e43 --- /dev/null +++ b/static/bootstrap.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr [...] +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/static/bootstrap.min.js b/static/bootstrap.min.js new file mode 100644 index 000000000..e79c06513 --- /dev/null +++ b/static/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under the MIT license + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:" [...] +d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data()) [...] \ No newline at end of file diff --git a/static/jquery.min.js b/static/jquery.min.js new file mode 100644 index 000000000..f3644431e --- /dev/null +++ b/static/jquery.min.js @@ -0,0 +1,6 @@ +/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.3",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b [...] + +return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}fu [...] +return new Za.prototype.init(a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")},cur:function(){var a=Za.propHooks[this.prop];return a&&a.get?a.get(this):Za.propHooks._default.get(this)},run:function(a){var b,c=Za.propHooks[this.prop];return this.options.duration?this.pos=b=m.easing[this.easing](a,this.options.duration*a, [...] +//# sourceMappingURL=jquery.min.map \ No newline at end of file