ui(job-offer-create): #issue89 Job-offer-create
Add and style datafields. Add a custom widget. Add styles to sib-autocompletion. Add back button. fix bug in members and project-profile pages (displaying userinfos and members of a project).
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import {Helpers, SIBWidget, SIBDisplayLookupList, store} from 'https://unpkg.com/@startinblox/core@0.5.7';
|
||||
import {Helpers, SIBWidget, SIBDisplayLookupList, store} from 'https://unpkg.com/@startinblox/core@0.5';
|
||||
|
||||
class HDAppUserInfo extends SIBDisplayLookupList {
|
||||
get parentElement() {
|
||||
@ -127,6 +127,16 @@ class HDAppLinkMore extends SIBWidget {
|
||||
}
|
||||
}
|
||||
|
||||
class HDAppFormText extends SIBWidget {
|
||||
get template() {
|
||||
return `<p name="${this.name}">${this.value}</p>`;
|
||||
}
|
||||
|
||||
render() {
|
||||
this.innerHTML = this.template;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('hdapp-userinfo', HDAppUserInfo);
|
||||
customElements.define('hdapp-mail', HDAppMail);
|
||||
customElements.define('hdapp-member', HDAppMember);
|
||||
@ -134,4 +144,5 @@ customElements.define('hdapp-author', HDAppAuthor);
|
||||
customElements.define('hdapp-closing-date', HDAppClosingDate);
|
||||
customElements.define('hdapp-available', HDAppAvailable);
|
||||
customElements.define('hdapp-hyperlink', HDAppHyperlink);
|
||||
customElements.define('hdapp-link-more', HDAppLinkMore);
|
||||
customElements.define('hdapp-link-more', HDAppLinkMore);
|
||||
customElements.define('hdapp-form-text', HDAppFormText);
|
Reference in New Issue
Block a user