update: simplify dom for circles

This commit is contained in:
Jean-Baptiste Pasquier 2019-10-29 15:48:37 +01:00
parent c50e05530e
commit 4aa69a1605
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
3 changed files with 107 additions and 115 deletions

View File

@ -1,11 +1,4 @@
.content-box.full-width
sib-display.content-box__header(
bind-resources
fields='name'
class-name='name'
)
.chat-view
.chat-view
sib-chat(
data-authentication='login',
data-auto-login='true',

View File

@ -1,22 +1,10 @@
.content-box.full-width.with-form
sib-router(default-route='circle-profile')
sib-router(default-route='circle-profile')
sib-route(name='circle-profile')
sib-route(name='circle-edit')
#circle-profile(hidden)
#circle-profile(hidden)
include templates/hd-circle-team.pug
div.content-box__header.with-edit
sib-ac-checker(permission='acl:Read', bind-resources)
sib-display(
bind-resources
fields='name, description'
class-name='name'
class-description='description'
)
sib-ac-checker.content-box__info(permission='acl:Read', bind-resources)
.content-box__info
sib-ac-checker.circle-edit-button(permission='acl:Write', bind-resources)
sib-link(class="right-btn", next="circle-edit", bind-resources) Edit and add Members
@ -95,5 +83,5 @@
)
#circle-edit(hidden)
#circle-edit(hidden)
include page-circle-edit.pug

View File

@ -1,10 +1,21 @@
.views-container
.content-box.full-width.with-form
div.content-box__header.with-edit
sib-ac-checker(permission='acl:Read', bind-resources)
sib-display(
bind-resources
fields='name, description'
class-name='name'
class-description='description'
)
div.content-box__info
sib-ac-checker(permission='acl:Read', bind-resources)
#circle-chat(hidden)
include page-circle-chat.pug
#circle-information(hidden)
include page-circle-profile.pug
//-#circle-create
include page-circle-create.pug
nav.jsRightMenu(role='navigation')
sib-router(default-route='circle-chat')
ul