homogeneized some widgets
This commit is contained in:
parent
7fe9e3613e
commit
aedc2cf36c
|
@ -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>`)}
|
||||||
`
|
`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue