Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 454: Line 454:
 
                 // add subfunctions  
 
                 // add subfunctions  
 
                 if (index < 3) {
 
                 if (index < 3) {
 +
                    funcFilterHtml += '<div class="subfunc-filter">';
 
                     for (const func of fnInfo.functions) {
 
                     for (const func of fnInfo.functions) {
 
                         const subfuncId = 'subfunc-filter-' + escapeAttr(func);
 
                         const subfuncId = 'subfunc-filter-' + escapeAttr(func);
 
                         funcFilterHtml +=
 
                         funcFilterHtml +=
                             `<div class="subfunc-filter">
+
                             `<input type="checkbox" checked id="${subfuncId}" value="${func}">
                                <input type="checkbox" checked id="${subfuncId}" value="${func}">
+
                            <label for="${subfuncId}">${func}</label>`;
                                <label for="${subfuncId}">${func}</label>
 
                            </div>`;
 
 
                     }
 
                     }
 +
                    funcFilterHtml += '</div>';
 
                 }
 
                 }
 
                 funcFilterHtml += '</div>';
 
                 funcFilterHtml += '</div>';

Revision as of 11:51, 17 November 2022

Development verstion of the DCT List.
Not ready for production!