Widget: GuidelinesList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>Current version of the List of Guidelines.<br><strong style="color:red;">Currently in use!</strong></noinclude> | ||
<includeonly> | <includeonly> | ||
<link href="/resources/assets/tabulator.min.css" rel="stylesheet"> | <link href="/resources/assets/tabulator.min.css" rel="stylesheet"> | ||
Line 476: | Line 476: | ||
return acc + | return acc + | ||
'<div ' + (idx === 0 ? ' class="filter-group-start">' : '>') + | '<div ' + (idx === 0 ? ' class="filter-group-start">' : '>') + | ||
'<input type="checkbox" id="filter-' + identifier + '" value="' + curr.name + '" | '<input type="checkbox" id="filter-' + identifier + '" value="' + curr.name + '">' + | ||
'<label for="filter-' + identifier + '"><img src="' + curr.image + '"> ' + curr.name + '</label></div>' | '<label for="filter-' + identifier + '"><img src="' + curr.image + '"> ' + curr.name + '</label></div>' | ||
}, ''); | }, ''); | ||
}); | }); | ||
document.getElementById('data-source-filter').innerHTML = dataSourceFilterHtml; | document.getElementById('data-source-filter').innerHTML = dataSourceFilterHtml; | ||
Line 487: | Line 486: | ||
const identifier = escapeAttr(curr); | const identifier = escapeAttr(curr); | ||
return acc | return acc | ||
+ '<div><input type="checkbox" | + '<div><input type="checkbox" id="language-filter-' + identifier | ||
+ '" value="' + curr + '">' | + '" value="' + curr + '">' | ||
+ '<label for="language-filter-' + identifier + '">' + curr + '</label></div>' | + '<label for="language-filter-' + identifier + '">' + curr + '</label></div>' | ||
Line 496: | Line 495: | ||
const identifier = escapeAttr(curr); | const identifier = escapeAttr(curr); | ||
return acc | return acc | ||
+ '<div><input type="checkbox" | + '<div><input type="checkbox" id="thematic-filter-' + identifier | ||
+ '" value="' + curr + '">' | + '" value="' + curr + '">' | ||
+ '<label for="thematic-filter-' + identifier + '">' + curr + '</label></div>' | + '<label for="thematic-filter-' + identifier + '">' + curr + '</label></div>' | ||
Line 505: | Line 504: | ||
const identifier = escapeAttr(curr); | const identifier = escapeAttr(curr); | ||
return acc | return acc | ||
+ '<div><input type="checkbox" | + '<div><input type="checkbox" id="phase-filter-' + identifier | ||
+ '" value="' + curr + '">' | + '" value="' + curr + '">' | ||
+ '<label for="phase-filter-' + identifier + '">' + curr + '</label></div>' | + '<label for="phase-filter-' + identifier + '">' + curr + '</label></div>' | ||
Line 514: | Line 513: | ||
const identifier = escapeAttr(curr); | const identifier = escapeAttr(curr); | ||
return acc | return acc | ||
+ '<div><input type="checkbox" | + '<div><input type="checkbox" id="target-audience-filter-' + identifier | ||
+ '" value="' + curr + '">' | + '" value="' + curr + '">' | ||
+ '<label for="target-audience-filter-' + identifier + '">' + curr + '</label></div>' | + '<label for="target-audience-filter-' + identifier + '">' + curr + '</label></div>' | ||
Line 523: | Line 522: | ||
const identifier = escapeAttr(curr); | const identifier = escapeAttr(curr); | ||
return acc | return acc | ||
+ '<div><input type="checkbox" | + '<div><input type="checkbox" id="audience-experience-filter-' + identifier | ||
+ '" value="' + curr + '">' | + '" value="' + curr + '">' | ||
+ '<label for="audience-experience-filter-' + identifier + '">' + curr + '</label></div>' | + '<label for="audience-experience-filter-' + identifier + '">' + curr + '</label></div>' | ||
Line 532: | Line 531: | ||
const identifier = escapeAttr(curr); | const identifier = escapeAttr(curr); | ||
return acc | return acc | ||
+ '<div><input type="checkbox" | + '<div><input type="checkbox" id="tech-filter-' + identifier | ||
+ '" value="' + curr + '">' | + '" value="' + curr + '">' | ||
+ '<label for="tech-filter-' + identifier + '">' + curr + '</label></div>' | + '<label for="tech-filter-' + identifier + '">' + curr + '</label></div>' |
Revision as of 16:39, 21 March 2023
Current version of the List of Guidelines.
Currently in use!