Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 84: | Line 84: | ||
const filterHtml = dataSources.reduce((prev, curr) => { | const filterHtml = dataSources.reduce((prev, curr) => { | ||
return prev + '<img src="' + curr.image + '">' | return prev + '<div><input type="checkbox" id="filter-' + curr.name + '" value="' + curr.name + '">' + | ||
'<label for="filter-' + curr.name + '"><img src="' + curr.image + '"> ' + curr.name + '</label></div>' | |||
}, ''); | }, ''); | ||
document.getElementById('dct-filters').innerHTML = filterHtml; | document.getElementById('dct-filters').innerHTML = filterHtml; |
Revision as of 16:03, 7 June 2022
Development verstion of the DCT List.
Not ready for production!