Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>Current version of the DCT List.<br><span style="color: red; font-weight: bold;">Not ready for
<noinclude>Current version of the DCT List.<br><span style="color: red; font-weight: bold;">Not ready for production!</span></noinclude>
        production!</span></noinclude>
<includeonly>
<includeonly>
     <link href="/resources/assets/tabulator.min.css" rel="stylesheet">
     <link href="/resources/assets/tabulator.min.css" rel="stylesheet">
Line 563: Line 562:
             }, '');
             }, '');
             document.getElementById('business-model-filter').innerHTML = pricingFilterHtml;
             document.getElementById('business-model-filter').innerHTML = pricingFilterHtml;
            // const dmUse = ['Yes', 'Use Case', 'Unknown'];
            // let dmUseFilterHtml = dmUse.reduce((acc, curr) => {
            //    const identifier = escapeAttr(curr);
            //    return acc
            //        + '<div><input type="checkbox" id="dm-use-filter-' + identifier
            //        + '" value="' + curr + '">'
            //        + '<label for="dm-use-filter-' + identifier + '">' + curr + '</label></div>'
            // }, '');
            // document.getElementById('dm-use-filter').innerHTML = dmUseFilterHtml;


             // Set up table.
             // Set up table.
Line 938: Line 927:
                 </h2>
                 </h2>
                 <div style="text-align: center;">
                 <div style="text-align: center;">
                     <button class="large-button" type="button" onclick="clearFilters()">Show All</button>
                     <button class="large-button" type="button" onclick="clearFilters()">Clear Filters</button>
                 </div>
                 </div>
                 <div class="filter-wrapper">
                 <div class="filter-wrapper">

Revision as of 15:40, 9 March 2023

Current version of the DCT List.
Not ready for production!