fix: MR155
This commit is contained in:
parent
4c446282fb
commit
f9653163ed
15
src/components/hubl-search-users.js
Normal file
15
src/components/hubl-search-users.js
Normal 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 }
|
@ -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)
|
||||
|
@ -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'
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user