Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • dirk-norbert.baker/hifis.net
  • hifis/overall/hifis.net
  • jucke/hifis.net
  • stephan.thober/hifis.net
  • nicolas.boltz/hifis.net
  • axel.loewe/hifis.net
  • matthias.ruester/hifis.net
  • Franz.Steinmetz/hifis.net
  • bilke/hifis.net
  • guido.bloecher/hifis.net
  • mauro.cacace/hifis.net
  • sebastian.mueller/hifis.net
  • daniel.scheffler/hifis.net
  • manideep.jayavarapu/hifis.net
  • d.wortmann/hifis.net
  • j.mitchell/hifis.net
  • demme/hifis.net
  • s.dinkelacker/hifis.net
  • marcus/hifis.net
  • j.schmoelder/hifis.net
  • tempest.glodowski/hifis.net
  • norman.mueller/hifis.net
22 results
Show changes
const allCollapsibles = document.getElementsByClassName("collapsible");
for(let collapsible of allCollapsibles) {
collapsible.onclick = function() {
const funderInfo = this.nextElementSibling;
if (funderInfo.style.display === "none") {
funderInfo.style.display = "block";
this.classList.remove("closed");
this.classList.add("opened");
} else {
funderInfo.style.display = "none";
this.classList.remove("opened");
this.classList.add("closed");
}
}
};
\ No newline at end of file
var spotlights_filter_timeout = null;
function spotlights_filter_input() {
clearTimeout(spotlights_filter_timeout);
spotlights_filter_timeout = setTimeout( spotlights_filter, 500);
}
function spotlights_filter() {
var filters = $('#spotlightsFilterSel').val().split(",").map(function (e) { return e.trim(); });
var fltstr = $('#spotlightsFilterInput').val();
var $c = $('section.events-container');
if (fltstr == "") {
$c.children('article.list-entry').show();
} else {
$c.children('article.list-entry').each(function () {
for (attr of filters) {
if (( $(this).attr("data-" + attr) ) &&
( $(this).attr("data-" + attr).toLowerCase().includes(fltstr.toLowerCase()) )
) {
$(this).show();
return;
}
}
$(this).hide();
});
}
}
function spotlights_sort() {
var $c = $('section.events-container');
var $spotlights = $c.children('article.list-entry');
var sortList = Array.prototype.sort.bind($spotlights);
sortList(function ( a, b ) {
var attr = $('#spotlightsSortSel').val();
var fact = 1;
if (attr.slice(0,1) === "-") {
fact = -1;
attr = attr.slice(1,attr.length);
} else if (attr.slice(0,1) === "+") {
attr = attr.slice(1,attr.length);
}
var aAttr = $(a).attr("data-" + attr);
var bAttr = $(b).attr("data-" + attr);
console.log(aAttr,bAttr);
if ((aAttr) && (bAttr)) {
return aAttr < bAttr ? -fact : (+(aAttr > bAttr)) * fact;
} else if (aAttr) {
return fact;
} else if (bAttr) {
return -fact;
} else {
return 0;
}
});
$c.append($spotlights);
}
function spotlights_add_new_badges( age ) {
var now = Math.floor( Date.now() / 1000 );
var $c = $('section.events-container');
$c.children('article.list-entry').each(function () {
if ( $(this).attr("data-date_added") ) {
var d = Math.floor( Date.parse( $(this).attr("data-date_added") ) / 1000 );
if ( now - d <= age ) {
$(this).addClass("new");
$(this).prepend('<div class="badge"><span>New</span></div>');
}
}
});
}
spotlights_filter_input();
spotlights_sort();
spotlights_add_new_badges( 35 * 24 * 60 * 60 );
File added
File added
...@@ -20,6 +20,6 @@ excerpt: ...@@ -20,6 +20,6 @@ excerpt:
- [Poster]({{ site.directory.images | relative_url }}/hifisfor/HIFIS_poster_claim_contact.svg) - [Poster]({{ site.directory.images | relative_url }}/hifisfor/HIFIS_poster_claim_contact.svg)
- [Video]({{ site.directory.videos | relative_url }}/video_full.mp4) - [Video]({{ site.directory.videos | relative_url }}/video_full.mp4)
- Overview HIFIS: Digital Services for Helmholtz & Partners - Overview HIFIS: Digital Services for Helmholtz & Partners
- [English Version]({{ 'media/HIFIS_overview_en.pdf' | relative_url }}) - [English Version]({{ 'media/HIFIS_overview_2022_03_en.pdf' | relative_url }})
- [German Version]({{ 'media/HIFIS_overview_de.pdf' | relative_url }}) - [German Version]({{ 'media/HIFIS_overview_2022_03_de.pdf' | relative_url }})
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
{% if page.title != nil %} {% if page.title != nil %}
"title" : "{{ page.title | escape }}", "title" : "{{ page.title | escape }}",
"url" : "{{ base_url }}{{ page.url }}", "url" : "{{ base_url }}{{ page.url }}",
"date" : "{{ page.date }}", "date_added" : "{{ page.date_added }}",
"software_type" : "{{ page.software_type }}", "software_type" : "{{ page.software_type }}",
"application_type" : "{{ page.application_type }}", "application_type" : "{{ page.application_type }}",
"programming_languages" : "{{ page.programming_languages }}", "programming_languages" : "{{ page.programming_languages }}",
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
"hgf_centers" : "{{ page.hgf_centers }}", "hgf_centers" : "{{ page.hgf_centers }}",
"hgf_research_field" : "{{ page.hgf_research_field }}", "hgf_research_field" : "{{ page.hgf_research_field }}",
"keywords" : "{{ page.keywords }}", "keywords" : "{{ page.keywords }}",
"contributing_organisations" : "{{ page.contributing_organisations }}",
"content" : "{{ page.content | strip_html | strip_newlines | remove_chars | escape }}" "content" : "{{ page.content | strip_html | strip_newlines | remove_chars | escape }}"
{% endif %} {% endif %}
} {% unless forloop.last %},{% endunless %} } {% unless forloop.last %},{% endunless %}
......
...@@ -5,6 +5,9 @@ layout: spotlight-list ...@@ -5,6 +5,9 @@ layout: spotlight-list
additional_css: additional_css:
- services/services-page-images.css - services/services-page-images.css
- spotlights.css - spotlights.css
additional_js:
- ../vendor/jquery/dist/jquery.min.js
- spotlights_filter.js
excerpt: excerpt:
"Outstanding software products by the Helmholtz Centres." "Outstanding software products by the Helmholtz Centres."
--- ---
......
Subproject commit 22a3356ee35e8bce8a97606147f6a45d8623f499 Subproject commit 5a45e12cbb25d4464d9cc58613af7b67275bb5aa