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
|
||||
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
|
||||
include page-messages.pug
|
||||
|
||||
|
@ -81,7 +81,6 @@ nav#main__menu
|
||||
order-by='username'
|
||||
next='messages'
|
||||
)
|
||||
sib-route(hidden, name='circle-edit', use-id='')
|
||||
|
||||
//- div.divider
|
||||
//- 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
|
||||
|
||||
@ -32,8 +32,10 @@
|
||||
data-src="${await value['@id']}"
|
||||
)
|
||||
|
||||
sib-link(class="backlink", bind-resources, next='circle-profile') Back
|
||||
|
||||
h1 Edit your circle
|
||||
|
||||
|
||||
sib-form.block(
|
||||
bind-resources
|
||||
|
||||
@ -53,7 +55,7 @@
|
||||
|
||||
submit-button='Save'
|
||||
)
|
||||
|
||||
|
||||
h2 Members list
|
||||
|
||||
div.table-header
|
||||
|
@ -1,49 +1,55 @@
|
||||
.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
|
||||
|
||||
div.content-box__header.with-edit
|
||||
sib-display(
|
||||
bind-resources
|
||||
fields='name'
|
||||
#circle-profile(hidden)
|
||||
include templates/hd-circle-team.pug
|
||||
|
||||
div.content-box__header.with-edit
|
||||
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
|
||||
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'
|
||||
class-name='name'
|
||||
)
|
||||
|
||||
sib-display.block(
|
||||
bind-resources
|
||||
fields='team'
|
||||
sib-link(class="editlink", next="circle-edit" bind-resources)
|
||||
|
||||
multiple-team=''
|
||||
widget-team='team-template'
|
||||
)
|
||||
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
|
||||
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
|
||||
#circle-chat
|
||||
#circle-chat(hidden)
|
||||
include page-circle-chat.pug
|
||||
#circle-profile
|
||||
#circle-information(hidden)
|
||||
include page-circle-profile.pug
|
||||
//-#circle-create
|
||||
include page-circle-create.pug
|
||||
@ -13,9 +13,6 @@ nav.jsRightMenu(role='navigation')
|
||||
sib-route(name='circle-chat')
|
||||
li
|
||||
a Chat
|
||||
sib-route(name='circle-profile')
|
||||
sib-route(name='circle-information')
|
||||
li
|
||||
a Information
|
||||
//-sib-route(name='circle-create')
|
||||
li
|
||||
a Add new
|
||||
|
@ -89,7 +89,7 @@
|
||||
@include ci('list');
|
||||
}
|
||||
|
||||
&[name$='profile']>li {
|
||||
&[name$='profile']>li, &[name$='information']>li {
|
||||
@include ci('information');
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,12 @@
|
||||
#circle-profile {
|
||||
#circle-information, #circle-edit {
|
||||
|
||||
.content-box__info {
|
||||
@extend %padding-block;
|
||||
|
||||
.backlink {
|
||||
text-align: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.block {
|
||||
|
Loading…
Reference in New Issue
Block a user