fix: MR155

This commit is contained in:
Jean-Baptiste Pasquier 2020-05-20 16:42:11 +02:00
parent 4c446282fb
commit f9653163ed
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
6 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,15 @@
import { widgetFactory } from 'https://unpkg.com/@startinblox/core@0.9/dist/widgets/widget-factory.js';
const HublSearchUsers = widgetFactory(
'hubl-search-users',
`<input
data-holder
autocomplete="off"
placeholder="\${label}"
type="text"
name="\${name}"
value="\${escapedValue}"
>`
);
export { HublSearchUsers }

View File

@ -1,3 +1,4 @@
script(type="module" src="/components/hubl-search-users.js" defer)
script(type="module" src="/components/hubl-status.js" defer)
script(type="module" src="https://unpkg.com/@startinblox/core@0.9" defer)

View File

@ -29,6 +29,7 @@ sib-widget(name='hubl-menu-fix-url-circle')
widget-badge='hubl-counter'
widget-jabberID='hubl-menu-jabberid'
widget-name='sib-display-div'
order-by="name"
)
sib-widget(name='hubl-menu-fix-url-project')
@ -43,6 +44,7 @@ sib-widget(name='hubl-menu-fix-url-project')
widget-jabberID='hubl-menu-jabberid'
widget-badge='hubl-counter'
widget-name='sib-display-div'
order-by="customer.name"
)
nav#main__menu.jsLeftMenu
@ -123,7 +125,7 @@ nav#main__menu.jsLeftMenu
fields='name, chatProfile.jabberID, badge'
search-fields="name"
search-label-name="Rechercher..."
search-widget-name="sib-form-placeholder-text"
search-widget-name="hubl-search-users"
widget-name='sib-display-div'
widget-badge='hubl-counter'
widget-chatProfile.jabberID='hubl-menu-jabberid'

View File

@ -125,7 +125,7 @@
}
/* End of specific styles of "Projects" tab */
sib-display.nosub>sib-form[fields="name"]>sib-form-placeholder-text>input {
sib-display.nosub>sib-form[fields="name"]>hubl-search-users>input {
margin: auto;
display: block;
background-color: var(--color-secondary);

View File

@ -66,6 +66,8 @@
action-leaveButton="joinButton"
widget-leaveButton="hubl-admin-circle-leave-button"
widget-circle.owner='hubl-circle-owner'
order-by="circle.name"
)
sib-widget(name='hubl-admin-circle-join-button')
@ -92,6 +94,8 @@
class-members='w33 cell border cell-with-buttons'
widget-members="hubl-admin-circle-join-button"
order-by="name"
)

View File

@ -31,7 +31,7 @@ div.content-box__info
sib-delete(
class='button text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
data-src="${value['@id']}"
data-label='Quitter le canal'
data-label='Retirer'
)
//- Only to show the table grid