update: Use federation sources

This commit is contained in:
Jean-Baptiste Pasquier 2019-06-03 16:04:15 +02:00
parent bf809740f7
commit 89db25fa85
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
8 changed files with 20 additions and 20 deletions

View File

@ -18,7 +18,7 @@ nav#main__menu
sib-route(hidden,name='project', id-prefix=`${sdn}/projects/`, rdf-type='hd:project', use-id='')
div.sub-menu
sib-display(
data-src=`${sdn}/projects/`,
data-src=`${sdn}/sources/projects/`,
data-fields='project',
set-project='customer.name, dash, name',
value-dash=' - ',
@ -34,7 +34,7 @@ nav#main__menu
//- sib-route(hidden, name='circle', id-prefix=`${sdn}/circles/`, rdf-type='hd:circle')
//- div.sub-menu
//- sib-display(
//- data-src=`${sdn}/circles/`,
//- data-src=`${sdn}/sources/circles/`,
//- data-fields='name',
//- widget-name='sib-display-div',
//- next='circle'
@ -46,11 +46,11 @@ nav#main__menu
div.menu-icon.icon-arrow-up
div.menu-label Chat
div.menu-icon.icon-envelope-letter
sib-route(hidden, name='messages', id-prefix=`${sdn}/members/`, rdf-type='foaf:user', use-id='')
sib-route(hidden, name='messages', id-prefix=`${sdn}/users/`, rdf-type='foaf:user', use-id='')
div.sub-menu
sib-display(
data-src=`${sdn}/members/`,
data-fields='user.username',
data-src=`${sdn}/users/`,
data-fields='username',
widget-user.username='sib-display-div',
next='messages'
)

View File

@ -3,9 +3,9 @@
p Here you can create a new group according to your interests, what you want to share, etc.
sib-form(
data-src=`${sdn}/circles/`,
data-src=`${sdn}/sources/circles/`,
range-owner=`${sdn}/users/`,
range-team=`${sdn}/members/`
range-team=`${sdn}/users/`
data-fields='name, description, description-text, owner, owner-text, team, team-text, jabberRoom, foaf:jabberID',

View File

@ -11,7 +11,7 @@
p Be specific and exhaustive to avoid answering too many questions later. Indicate what is the best way to fill the offer, the prerequisites...'
sib-form.block(
data-src=`${sdn}/job-offers/`,
data-src=`${sdn}/sources/job-offers/`,
range-skills=`${sdn}/skills/`,
data-fields='title, title-text, description, description-text, skills',

View File

@ -14,7 +14,7 @@ div.job-offers__main
h1 New offers
span Here you can find and post offers
sib-display#offers-list(
data-src=`${sdn}/job-offers/`,
data-src=`${sdn}/sources/job-offers/`,
data-fields='user-thumb, creationDate, title, description, skills, author',
set-user-thumb='author.account.picture, author.first_name, author.groups',

View File

@ -1,5 +1,5 @@
sib-directory(
data-src=`${sdn}/members/`,
data-src=`${sdn}/users/`,
range-groups=`${sdn}/groups/`,
range-skills=`${sdn}/skills/`
)

View File

@ -3,8 +3,8 @@
p Here you can create your project, add members and assign them a job.
sib-form.block(
data-src=`${sdn}/projects/`,
range-members=`${sdn}/members/`,
data-src=`${sdn}/sources/projects/`,
range-members=`${sdn}/users/`,
range-team=`${sdn}/users/`,
data-fields='block-project__info, block-project__fee, block-project__customer',

View File

@ -39,7 +39,7 @@
display: flex;
grid-area: name;
>sib-display-value[name^='user.'] {
>sib-display-value[name='name'] {
color: $color-216-4-22;
font-weight: bold;
@extend h1;
@ -51,7 +51,7 @@
}
}
sib-display-value[name='user.username'] {
sib-display-value[name='username'] {
grid-area: pseudo;
&::before {
@ -59,7 +59,7 @@
}
}
sib-display-value[name='bio'] {
sib-display-value[name='profile.bio'] {
grid-area: bio;
}
@ -69,7 +69,7 @@
@extend %member-info;
}
member-status[name$='available'] {
member-status[name$='profile.available'] {
align-self: flex-end;
color: $color-244-73-62;
grid-area: status;

View File

@ -14,7 +14,7 @@
}
}
[name$='city'] * {
[name$='profile.city'] * {
@include mdi('atom');
}
@ -22,11 +22,11 @@
@include mdi('email-outline');
}
[name$='phone'] * {
[name$='profile.phone'] * {
@include mdi('cellphone-iphone');
}
[name="foaf:homepage"]:not(:empty) {
[name="profile.website"]:not(:empty) {
@include mdi('link-variant');
}
}
@ -177,7 +177,7 @@ member-info-groups {
}
}
[name='user.name'] {
[name='name'] {
font-weight: bold;
@extend h1;
}