You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/11/27 20:27:21 UTC

[incubator-dlab] branch gh-pages updated: [DLAB-1309]: copyright loading fixes

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

ankovalyshyn pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 345fe6e  [DLAB-1309]: copyright loading fixes
     new f081ad1  Merge branch 'gh-pages' of github.com:apache/incubator-dlab into gh-pages
345fe6e is described below

commit 345fe6ed78951f0c4a786b91d9e0bf9180b29109
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Wed Nov 27 22:26:13 2019 +0200

    [DLAB-1309]: copyright loading fixes
---
 dist/app.js     | 2 +-
 html/index.html | 5 +++--
 index.html      | 2 +-
 js/init.js      | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/dist/app.js b/dist/app.js
index 7ce2566..49c1967 100755
--- a/dist/app.js
+++ b/dist/app.js
@@ -6,4 +6,4 @@
 ;y.params.loop&&(t+=y.loopedSlides),y.slideTo(t)},y.updateClickedSlide=function(a){var t=n(a,"."+y.params.slideClass),s=!1;if(t)for(var r=0;r<y.slides.length;r++)y.slides[r]===t&&(s=!0);if(!t||!s)return y.clickedSlide=void 0,void(y.clickedIndex=void 0);if(y.clickedSlide=t,y.clickedIndex=e(t).index(),y.params.slideToClickedSlide&&void 0!==y.clickedIndex&&y.clickedIndex!==y.activeIndex){var i,o=y.clickedIndex,l="auto"===y.params.slidesPerView?y.currentSlidesPerView():y.params.slidesPerView [...]
 if(y.hashnav.initialized&&y.params.hashnav)if(y.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+y.slides.eq(y.activeIndex).attr("data-hash")||"");else{var e=y.slides.eq(y.activeIndex),a=e.attr("data-hash")||e.attr("data-history");document.location.hash=a||""}},init:function(){if(y.params.hashnav&&!y.params.history){y.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var a=0,t=y.slides.length;a<t;a++){va [...]
 function screen(e){"use strict";return e="height"===e?window.innerHeight||document.documentElement.clientHeight:"width"===e?document.body.offsetWidth:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}function load_defer_img(e){"use strict";return $.Deferred(function(i){var o=new Image;o.onload=function(){i.resolve(o)},o.onerror=function(){i.reject()},o.src=e}).promise()}var mob=function(){"use strict";window.mobilecheck=function(){var e=!1;return function(i){(/(android [...]
-function stopMacVideos(){"use strict";$(".mac-wrap .swiper-slide video").each(function(){$(this).removeClass("is-playing")[0].pause()})}var macSwiper,screenSliderTop,screenSliderThumbs,solverSlider,macNavigation=$(".controls-nav"),screenThumbsNavigation=$(".screen-slider-thumbs");$(document).ready(function(){"use strict";document.getElementById("copyright").appendChild(document.createTextNode((new Date).getFullYear())),screenThumbsNavigation.on("click","div",function(){return screenSlide [...]
\ No newline at end of file
+function stopMacVideos(){"use strict";$(".mac-wrap .swiper-slide video").each(function(){$(this).removeClass("is-playing")[0].pause()})}var macSwiper,screenSliderTop,screenSliderThumbs,solverSlider,macNavigation=$(".controls-nav"),screenThumbsNavigation=$(".screen-slider-thumbs");$(document).ready(function(){"use strict";document.getElementById("current_year").appendChild(document.createTextNode((new Date).getFullYear())),screenThumbsNavigation.on("click","div",function(){return screenSl [...]
\ No newline at end of file
diff --git a/html/index.html b/html/index.html
index 474e9d3..4080d0c 100755
--- a/html/index.html
+++ b/html/index.html
@@ -63,7 +63,8 @@
                             <li><a href="https://www.apache.org/security/" target="_blank">Security</a></li>
                             <li><a href="https://www.apache.org/foundation/sponsorship.html"
                                     target="_blank">Sponsorship</a></li>
-                            <li><a href="https://www.apache.org/" target="_blank">Foundation</a><li>
+                            <li><a href="https://www.apache.org/" target="_blank">Foundation</a>
+                            <li>
                         </ul>
                     </li>
                     <li class="has-children">
@@ -853,7 +854,7 @@
             </ul>
         </div>
         <p class="copyright">
-            Copyright © 2018-2019 The Apache Software Foundation.
+            Copyright © 2018-<span id="current_year"></span> The Apache Software Foundation.
             Apache DLab and DLab feather logo are trademarks of
             The Apache Software Foundation
         </p>
diff --git a/index.html b/index.html
index 0a4dc70..308db14 100755
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang=en><head><title>DLab | Essential toolset for analytics</title><meta charset=UTF-8><meta name=MobileOptimized content=width><meta name=HandheldFriendly content=True><meta name=viewport content="width=device-width, initial-scale=1.0, user-scalable=no, minimal-ui, minimum-scale=1.0, maximum-scale=1.0"><meta name=description content="DLab is a self-service Web Console, used to create and manage exploratory environments. It allows teams to spin up analytical environm [...]
\ No newline at end of file
+<!DOCTYPE html><html lang=en><head><title>DLab | Essential toolset for analytics</title><meta charset=UTF-8><meta name=MobileOptimized content=width><meta name=HandheldFriendly content=True><meta name=viewport content="width=device-width, initial-scale=1.0, user-scalable=no, minimal-ui, minimum-scale=1.0, maximum-scale=1.0"><meta name=description content="DLab is a self-service Web Console, used to create and manage exploratory environments. It allows teams to spin up analytical environm [...]
\ No newline at end of file
diff --git a/js/init.js b/js/init.js
index 81f6750..ed4b48c 100755
--- a/js/init.js
+++ b/js/init.js
@@ -19,7 +19,7 @@ function stopMacVideos() {
 $(document).ready(function () {
     'use strict';
 
-    document.getElementById('copyright').appendChild(document.createTextNode(new Date().getFullYear()));
+    document.getElementById('current_year').appendChild(document.createTextNode(new Date().getFullYear()));
     screenThumbsNavigation.on('click', 'div', function () {
         screenSliderTop.slideTo($(this).data('slide'));
         return false;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org