-
- -
-
-

-
-
-
-
-
- - - - + +Redirecting to https://landscape.finos.org + + \ No newline at end of file diff --git a/js/analytics.js b/js/analytics.js deleted file mode 100644 index c022663..0000000 --- a/js/analytics.js +++ /dev/null @@ -1,10 +0,0 @@ -var _gaq = _gaq || []; -// TODO - enable it when ready -//_gaq.push(['_setAccount', 'UA-89349362-4']); -_gaq.push(['_trackPageview']); - -(function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); -})(); \ No newline at end of file diff --git a/js/ext/pinterest_grid.js b/js/ext/pinterest_grid.js deleted file mode 100755 index 7c4d6ad..0000000 --- a/js/ext/pinterest_grid.js +++ /dev/null @@ -1,157 +0,0 @@ -/* - Pinterest Grid Plugin - Copyright 2014 Mediademons - @author smm 16/04/2014 - - usage: - - $(document).ready(function() { - - $('#blog-landing').pinterest_grid({ - no_columns: 4 - }); - - }); - - -*/ -;(function ($, window, document, undefined) { - var pluginName = 'pinterest_grid', - defaults = { - padding_x: 10, - padding_y: 10, - no_columns: 3, - margin_bottom: 50, - single_column_breakpoint: 700 - }, - columns, - $article, - article_width; - - function Plugin(element, options) { - this.element = element; - this.options = $.extend({}, defaults, options) ; - this._defaults = defaults; - this._name = pluginName; - this.init(); - } - - Plugin.prototype.init = function () { - var self = this, - resize_finish; - - $(window).resize(function() { - clearTimeout(resize_finish); - resize_finish = setTimeout( function () { - self.make_layout_change(self); - }, 11); - }); - - self.make_layout_change(self); - - setTimeout(function() { - $(window).resize(); - }, 500); - }; - - Plugin.prototype.calculate = function (single_column_mode) { - var self = this, - tallest = 0, - row = 0, - $container = $(this.element), - container_width = $container.width(); - $article = $(this.element).children(); - - if(single_column_mode === true) { - article_width = $container.width() - self.options.padding_x; - } else { - article_width = ($container.width() - self.options.padding_x * self.options.no_columns) / self.options.no_columns; - } - - $article.each(function() { - $(this).css('width', article_width); - }); - - columns = self.options.no_columns; - - $article.each(function(index) { - var current_column, - left_out = 0, - top = 0, - $this = $(this), - prevAll = $this.prevAll(), - tallest = 0; - - if(single_column_mode === false) { - current_column = (index % columns); - } else { - current_column = 0; - } - - for(var t = 0; t < columns; t++) { - $this.removeClass('c'+t); - } - - if(index % columns === 0) { - row++; - } - - $this.addClass('c' + current_column); - $this.addClass('r' + row); - - prevAll.each(function(index) { - if($(this).hasClass('c' + current_column)) { - top += $(this).outerHeight() + self.options.padding_y; - } - }); - - if(single_column_mode === true) { - left_out = 0; - } else { - left_out = (index % columns) * (article_width + self.options.padding_x); - } - - $this.css({ - 'left': left_out, - 'top' : top - }); - }); - - this.tallest($container); - $(window).resize(); - }; - - Plugin.prototype.tallest = function (_container) { - var column_heights = [], - largest = 0; - - for(var z = 0; z < columns; z++) { - var temp_height = 0; - _container.find('.c'+z).each(function() { - temp_height += $(this).outerHeight(); - }); - column_heights[z] = temp_height; - } - - largest = Math.max.apply(Math, column_heights); - _container.css('height', largest + (this.options.padding_y + this.options.margin_bottom)); - }; - - Plugin.prototype.make_layout_change = function (_self) { - if($(window).width() < _self.options.single_column_breakpoint) { - _self.calculate(true); - } else { - _self.calculate(false); - } - }; - - $.fn[pluginName] = function (options) { - return this.each(function () { - if (!$.data(this, 'plugin_' + pluginName)) { - $.data(this, 'plugin_' + pluginName, - new Plugin(this, options)); - } - }); - } - -})(jQuery, window, document); \ No newline at end of file diff --git a/js/ext/url.min.js b/js/ext/url.min.js deleted file mode 100644 index ff63aa8..0000000 --- a/js/ext/url.min.js +++ /dev/null @@ -1 +0,0 @@ -/*! js-url - v2.5.2 - 2017-08-30 */!function(){var a=function(){function a(){}function b(a){return decodeURIComponent(a.replace(/\+/g," "))}function c(a,b){var c=a.charAt(0),d=b.split(c);return c===a?d:(a=parseInt(a.substring(1),10),d[a<0?d.length+a:a-1])}function d(a,c){for(var d=a.charAt(0),e=c.split("&"),f=[],g={},h=[],i=a.substring(1),j=0,k=e.length;j span > div > ul > li.active`).length == 0; - $(`li#${filterName} > span > div > ul > li.active`).each(function(i) { - var filterValue = toValue($(`a > label > input`,this).attr('value'),filterName); - - if (jQuery.type(repoValue) === "string" && toValue(repoValue,filterName) == filterValue) { - itemRet = true; - } else { - // This is a multi-value filter, like the languages field - for (key in repoValue) { - if (key == toValue(filterValue)) { - itemRet = true; - } - } - } - }); - if (!itemRet && !filterRet) ret = false; - } - return ret; -} \ No newline at end of file diff --git a/js/gh-catalogue/html-render.js b/js/gh-catalogue/html-render.js deleted file mode 100755 index 4db4097..0000000 --- a/js/gh-catalogue/html-render.js +++ /dev/null @@ -1,164 +0,0 @@ -// ================== -// HTML functions -// ================== - -function activityHTML(activity) { - // Render lifecycle badge - var state_class = `${activity['state'].toLowerCase()}-activity-state`; - var type_class = `${activity['type'].toLowerCase()}-activity-type`; - var $article = $("
").attr("class", "activity col-xs-6 col-md-4 col-lg-2 "+type_class+" "+state_class); - var metricsLink = `https://metrics.finos.org/app/kibana?#/dashboard/C_ESCo_projects?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-2y,mode:quick,to:now))&_a=(filters:!(),query:(query_string:(analyze_wildcard:!t,query:'project:%22${activity['activityName']}%22')))`; - - $article.append($("

").append(activity['activityName'])); - - $article.append($("

").append("Program: ").append($("").attr("href",activity['programHomePage']).attr("target","_blank").append(`${activity['programShortName']}`))); - $article.append($("