minor fixes

This commit is contained in:
dcore94 2023-02-01 16:19:37 +01:00
parent a81804b0f6
commit 78058492c8
1 changed files with 3 additions and 2 deletions

View File

@ -206,9 +206,10 @@ class CCPMethodList2 extends HTMLElement{
{
target : "summary > h5",
apply : (e,d)=>{
const executables = this.#filtered[d].filter(m=>m.executable).length
e.innerHTML = `
${d} <span style="opacity:.6" title="Number of versions" class="badge badge-pill badge-light">${this.#filtered[d].length}</span>
<span style="opacity:.6" title="Number of executables" class="badge badge-pill badge-success">${this.#filtered[d].filter(m=>m.executable).length}</span>` }
${d} <span title="Number of non executable versions" class="badge badge-danger float-right">${this.#filtered[d].length - executables}</span>
<span title="Number of executable versions" class="badge badge-success float-right">${executables}</span>` }
},
{
target : "details ul[name=process_list]",