diff --git a/htdocs/js/pages/Base.class.js b/htdocs/js/pages/Base.class.js index 602b619..1a8bc59 100644 --- a/htdocs/js/pages/Base.class.js +++ b/htdocs/js/pages/Base.class.js @@ -73,16 +73,21 @@ Class.subclass(Page, "Page.Base", { tooltip = `Category: ${cat}
Plugin: ${plug}
Target: ${target}
Notes:

${tooltip}` } - let cat = title.category_title || '' - let plug = title.plugin_title || '' let icon_class = 'fa fa-clock-o'; if(title.plugin == 'workflow') icon_class = 'fa fa-folder'; - + + let icon = ` ` + + if (extraTooltip) { + if (title.plugin == 'dockerplug') icon = `` + if (title.plugin == 'shellplug') icon = `` + if (title.plugin == 'sshxplug' || title.plugin == 'sshplug') icon = `` + if (title.plugin == 'urlplug') icon = `` + } + if (typeof (title) == 'object') { title = title.title } - - let icon = ` ` return `
${icon} ${title}${extra}
`; },