diff --git a/_includes/table.html b/_includes/table.html index 651d2df..e8c4700 100644 --- a/_includes/table.html +++ b/_includes/table.html @@ -30,9 +30,9 @@ } .popover { display: flex; - flex-direction: column; + flex-direction: column; max-height: 50vh; - max-width: 840px; + max-width: 50vw; } .popover-body { overflow: scroll; @@ -41,9 +41,13 @@ text-decoration: underline; } .col-publications, - .col-galaxy { + .col-galaxy, + .col-description { min-width: 180px; } + .col-galaxy-description { + min-width: 240px; + } .col-badge { width: 180px !important; min-width: 120px; @@ -95,7 +99,7 @@

Relevant tools and resources

{%- endif %} - Description + Description Registry link Tool identifier (e.g. module name) Topic(s) @@ -207,13 +211,26 @@

Relevant tools and resources

data-bs-trigger="focus" data-bs-html="true" data-bs-content=" - +
+ + + + + + + + + {%- for galaxy-tool in tool.galaxy %} + + + + + {%- endfor %} + +
Tool NameDescription
+ {{galaxy-tool.title}} +
+
" > {{tool.galaxy.size}} tools @@ -393,6 +410,15 @@

Relevant tools and resources

document.querySelector(".clear-all-button").style.display = "none"; } + // Allow table elements in popovers + const myDefaultAllowList = bootstrap.Tooltip.Default.allowList; + myDefaultAllowList.table = []; + myDefaultAllowList.thead = []; + myDefaultAllowList.tbody = []; + myDefaultAllowList.th = []; + myDefaultAllowList.tr = []; + myDefaultAllowList.td = []; + const popoverTriggerList = document.querySelectorAll( '[data-bs-toggle="popover"]' );