homogeneized some widgets

This commit is contained in:
dcore94 2023-04-03 13:08:56 +02:00
parent 7fe9e3613e
commit aedc2cf36c
2 changed files with 2 additions and 3 deletions

View File

@ -289,7 +289,7 @@ class CCPExecutionForm extends HTMLElement{
target: ".ccp-method-title", target: ".ccp-method-title",
apply : (e,d)=>e.innerHTML = ` apply : (e,d)=>e.innerHTML = `
${d.title} <span class="badge badge-primary ml-1">${d.version}</span> ${d.title} <span class="badge badge-primary ml-1">${d.version}</span>
${ d.metadata.filter(md=>md.role === 'author').map(a=>`<span class="badge badge-info ml-1">${a.title}</span>`)} ${ d.metadata.filter(md=>md.role === 'author').map(a=>`<span class="badge badge-warning ml-1">${a.title}</span>`)}
` `
}, },
{ {

View File

@ -76,7 +76,6 @@ class CCPMethodEditorController extends HTMLElement{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap:2px; gap:2px;
padding-left: 0;
font-size: small; font-size: small;
font-weight: 300; font-weight: 300;
} }
@ -735,7 +734,7 @@ class CCPMethodEditorController extends HTMLElement{
<ul class="author_list"> <ul class="author_list">
${ this.#current.metadata. ${ this.#current.metadata.
filter(md=>md.role === "author"). filter(md=>md.role === "author").
map(a=>`<li class="author_list_item" title="${a.title}">${a.title}</li>`).join() } map(a=>`<li class="badge badge-warning" title="${a.title}">${a.title}</li>`).join() }
</ul> </ul>
` `
} }