Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 273: | Line 273: | ||
} | } | ||
]; | ]; | ||
// This object defines the sort order of function categories and matches them to icons. | |||
const fnImages = { | |||
'Search and Monitor': '/index.php/Special:FilePath/File:Func_search.svg', | |||
'Post and Schedule': '/index.php/Special:FilePath/File:Func_post.svg', | |||
'Analysis': '/index.php/Special:FilePath/File:Func_analysis.svg', | |||
'Metrics': '/index.php/Special:FilePath/File:Func_metrics.svg', | |||
'Report': '/index.php/Special:FilePath/File:Func_report.svg', | |||
'Collaboration': '/index.php/Special:FilePath/File:Func_collaboration.svg', | |||
'Interoperability': '/index.php/Special:FilePath/File:Func_interoperability.svg', | |||
'Meta': '/index.php/Special:FilePath/File:Func_meta.svg', | |||
}; | |||
// Helpers | // Helpers | ||
Line 360: | Line 372: | ||
return dct; | return dct; | ||
}); | }); | ||
return { dcts: dctList, funcData: functionsData }; | return { dcts: dctList, funcData: functionsData }; | ||
Line 424: | Line 434: | ||
const { dcts, funcData } = data[1]; | const { dcts, funcData } = data[1]; | ||
Revision as of 15:18, 16 November 2022
Development verstion of the DCT List.
Not ready for production!