Task lists WIP:

* info button
This commit is contained in:
John Livingston
2024-05-12 16:21:07 +02:00
parent 9ef71c07dd
commit 2eaeb293dd
4 changed files with 15 additions and 2 deletions

View File

@ -7,6 +7,7 @@
padding: var(--occupants-padding);
.livechat-converse-muc-app-header {
column-gap: 0.25em;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
@ -16,8 +17,9 @@
width: 100%;
h5 {
display: inline;
color: var(--groupchats-header-color-dark);
display: inline;
flex-grow: 2;
}
.livechat-converse-muc-app-close {

View File

@ -22,9 +22,16 @@ export function tplMUCTaskApp (el, mucModel) {
// eslint-disable-next-line no-undef
const i18nTasks = __(LOC_tasks)
// eslint-disable-next-line no-undef
const i18nHint = __(LOC_task_app_info)
return html`
<div class="livechat-converse-muc-app-header">
<h5>${i18nTasks}</h5>
<converse-icon
class="fa fa-info-circle"
size="1em"
title="${i18nHint}"
></converse-icon>
<button class="livechat-converse-muc-app-close" @click=${el.toggleApp} title="${__('Close')}">
<converse-icon class="fa fa-times" size="1em"></converse-icon>
</button>