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 54: Line 54:
         #dct-tabulator.tabulator .tabulator-row { background-color: transparent; }
         #dct-tabulator.tabulator .tabulator-row { background-color: transparent; }
         #dct-tabulator.tabulator .tabulator-cell { border-right: 0 none; border-bottom: 1px solid var(--links-blue); padding: .5em 0; }
         #dct-tabulator.tabulator .tabulator-cell { border-right: 0 none; border-bottom: 1px solid var(--links-blue); padding: .5em 0; }
         .data-source-img { width: 2em; height: 2em; }
         .data-source-img, .func-img { width: 2em; height: 2em; margin-top: .2em; margin-bottom: .2em; }
         .source-img-placeholder { display:inline-block; width: 2em; height: 2em; }
         .source-img-placeholder { display:inline-block; width: 2em; height: 2em; }
         .data-source-img.unselected {
         .data-source-img.unselected {
Line 60: Line 60:
             opacity: .25;
             opacity: .25;
         }
         }
        .func-img { width: 2em; height: 2em; }
     </style>
     </style>


Line 311: Line 310:
                             const src = dataSources.find(src => src.name === curr);
                             const src = dataSources.find(src => src.name === curr);
                             const url = src ? src.image : '';
                             const url = src ? src.image : '';
                             return url  
                             return url
                                 ? prev + '<img class="data-source-img" data-value="' + curr + '" src="' + url + '" alt="' + curr +'" title="' + curr + '">'  
                                 ? prev + '<img class="data-source-img" data-value="' + curr + '" src="' + url + '" alt="' + curr +'" title="' + curr + '">'
                                 : prev + ' ' + curr;
                                 : prev + ' ' + curr;
                         }, '');
                         }, '');

Revision as of 18:26, 13 June 2022

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