update: imbricate edit in profile & fix css
This commit is contained in:
parent
9e3dc8fe8c
commit
48075b2419
@ -35,10 +35,6 @@ html(lang="en")
|
|||||||
#circle(hidden).with-sidebar
|
#circle(hidden).with-sidebar
|
||||||
include page-circle.pug
|
include page-circle.pug
|
||||||
|
|
||||||
#circle-edit(hidden).no-sidebar
|
|
||||||
sib-link(class="backlink", bind-resources, next='circle') Back
|
|
||||||
include page-circle-edit.pug
|
|
||||||
|
|
||||||
#messages(hidden).with-sidebar
|
#messages(hidden).with-sidebar
|
||||||
include page-messages.pug
|
include page-messages.pug
|
||||||
|
|
||||||
|
@ -81,7 +81,6 @@ nav#main__menu
|
|||||||
order-by='username'
|
order-by='username'
|
||||||
next='messages'
|
next='messages'
|
||||||
)
|
)
|
||||||
sib-route(hidden, name='circle-edit', use-id='')
|
|
||||||
|
|
||||||
//- div.divider
|
//- div.divider
|
||||||
//- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')
|
//- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#circle-edit.content-box.with-padding.with-form
|
div.content-box__info
|
||||||
|
|
||||||
include templates/hd-user-avatar.pug
|
include templates/hd-user-avatar.pug
|
||||||
|
|
||||||
@ -32,6 +32,8 @@
|
|||||||
data-src="${await value['@id']}"
|
data-src="${await value['@id']}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
sib-link(class="backlink", bind-resources, next='circle-profile') Back
|
||||||
|
|
||||||
h1 Edit your circle
|
h1 Edit your circle
|
||||||
|
|
||||||
sib-form.block(
|
sib-form.block(
|
||||||
|
@ -1,49 +1,55 @@
|
|||||||
.content-box.full-width.with-form
|
.content-box.full-width.with-form
|
||||||
|
sib-router(default-route='circle-profile')
|
||||||
|
sib-route(name='circle-profile')
|
||||||
|
sib-route(name='circle-edit')
|
||||||
|
|
||||||
include templates/hd-circle-team.pug
|
#circle-profile(hidden)
|
||||||
|
include templates/hd-circle-team.pug
|
||||||
|
|
||||||
div.content-box__header.with-edit
|
div.content-box__header.with-edit
|
||||||
sib-display(
|
sib-display(
|
||||||
bind-resources
|
|
||||||
fields='name'
|
|
||||||
|
|
||||||
class-name='name'
|
|
||||||
)
|
|
||||||
|
|
||||||
sib-link(class="editlink", next="circle-edit" bind-resources)
|
|
||||||
|
|
||||||
div.content-box__info
|
|
||||||
|
|
||||||
sib-display.block(
|
|
||||||
bind-resources
|
|
||||||
fields='label-description, description, entitled(title, creationDate)'
|
|
||||||
|
|
||||||
value-label-description='Description: '
|
|
||||||
|
|
||||||
default-description='No description available.'
|
|
||||||
|
|
||||||
value-title='Creation date:'
|
|
||||||
)
|
|
||||||
|
|
||||||
sib-ac-checker(permission='acl:Write' bind-resources)
|
|
||||||
sib-form.block.team-form(
|
|
||||||
bind-resources
|
bind-resources
|
||||||
fields='team'
|
fields='name'
|
||||||
range-team=`${endpoints.users}`
|
|
||||||
partial=''
|
|
||||||
|
|
||||||
class-team='team form-label is-dark'
|
class-name='name'
|
||||||
label-team='Members:'
|
|
||||||
widget-team='sib-form-auto-completion'
|
|
||||||
|
|
||||||
submit-button='Add a member'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
sib-display.block(
|
sib-link(class="editlink", next="circle-edit" bind-resources)
|
||||||
bind-resources
|
|
||||||
fields='team'
|
|
||||||
|
|
||||||
multiple-team=''
|
div.content-box__info
|
||||||
widget-team='team-template'
|
|
||||||
)
|
|
||||||
|
|
||||||
|
sib-display.block(
|
||||||
|
bind-resources
|
||||||
|
fields='label-description, description, entitled(title, creationDate)'
|
||||||
|
|
||||||
|
value-label-description='Description: '
|
||||||
|
|
||||||
|
default-description='No description available.'
|
||||||
|
|
||||||
|
value-title='Creation date:'
|
||||||
|
)
|
||||||
|
|
||||||
|
sib-ac-checker(permission='acl:Write' bind-resources)
|
||||||
|
sib-form.block.team-form(
|
||||||
|
bind-resources
|
||||||
|
fields='team'
|
||||||
|
range-team=`${endpoints.users}`
|
||||||
|
partial=''
|
||||||
|
|
||||||
|
class-team='team form-label is-dark'
|
||||||
|
label-team='Members:'
|
||||||
|
widget-team='sib-form-auto-completion'
|
||||||
|
|
||||||
|
submit-button='Add a member'
|
||||||
|
)
|
||||||
|
|
||||||
|
sib-display.block(
|
||||||
|
bind-resources
|
||||||
|
fields='team'
|
||||||
|
|
||||||
|
multiple-team=''
|
||||||
|
widget-team='team-template'
|
||||||
|
)
|
||||||
|
|
||||||
|
#circle-edit(hidden)
|
||||||
|
include page-circle-edit.pug
|
@ -1,7 +1,7 @@
|
|||||||
.views-container
|
.views-container
|
||||||
#circle-chat
|
#circle-chat(hidden)
|
||||||
include page-circle-chat.pug
|
include page-circle-chat.pug
|
||||||
#circle-profile
|
#circle-information(hidden)
|
||||||
include page-circle-profile.pug
|
include page-circle-profile.pug
|
||||||
//-#circle-create
|
//-#circle-create
|
||||||
include page-circle-create.pug
|
include page-circle-create.pug
|
||||||
@ -13,9 +13,6 @@ nav.jsRightMenu(role='navigation')
|
|||||||
sib-route(name='circle-chat')
|
sib-route(name='circle-chat')
|
||||||
li
|
li
|
||||||
a Chat
|
a Chat
|
||||||
sib-route(name='circle-profile')
|
sib-route(name='circle-information')
|
||||||
li
|
li
|
||||||
a Information
|
a Information
|
||||||
//-sib-route(name='circle-create')
|
|
||||||
li
|
|
||||||
a Add new
|
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
@include ci('list');
|
@include ci('list');
|
||||||
}
|
}
|
||||||
|
|
||||||
&[name$='profile']>li {
|
&[name$='profile']>li, &[name$='information']>li {
|
||||||
@include ci('information');
|
@include ci('information');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
#circle-profile {
|
#circle-information, #circle-edit {
|
||||||
|
|
||||||
.content-box__info {
|
.content-box__info {
|
||||||
@extend %padding-block;
|
@extend %padding-block;
|
||||||
|
|
||||||
|
.backlink {
|
||||||
|
text-align: right;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
|
Loading…
Reference in New Issue
Block a user