This commit is contained in:
Gaëlle Morin 2019-10-23 13:55:42 +02:00
parent 397e0a4dc3
commit 45064062fd
5 changed files with 49 additions and 2 deletions

View File

@ -35,6 +35,9 @@ html(lang="en")
#circle(hidden).with-sidebar #circle(hidden).with-sidebar
include page-circle.pug include page-circle.pug
#circle-edit(hidden).no-sidebar
include page-circle-edit.pug
#messages(hidden).with-sidebar #messages(hidden).with-sidebar
include page-messages.pug include page-messages.pug

View File

@ -77,6 +77,7 @@ nav#main__menu
order-by='username' order-by='username'
next='messages' next='messages'
) )
sib-route(hidden, name='circle-edit')
//- 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='')

View File

@ -1,4 +1,16 @@
.content-box.with-padding.full-width .content-box.with-padding.full-width
sib-display.content-box__header.with-edit(
bind-resources
fields='name'
class-name='name'
value-status='Public'
)
sib-link(class="editlink", next="circle-edit" bind-resources)
h2 Channel's name: h2 Channel's name:
sib-display( sib-display(
fields='name', fields='name',

View File

@ -3,7 +3,7 @@
include page-circle-chat.pug include page-circle-chat.pug
#circle-profile #circle-profile
include page-circle-profile.pug include page-circle-profile.pug
#circle-edit //-#circle-edit
include page-circle-edit.pug include page-circle-edit.pug
//-#circle-create //-#circle-create
include page-circle-create.pug include page-circle-create.pug
@ -18,7 +18,7 @@ nav.jsRightMenu(role='navigation')
sib-route(name='circle-profile') sib-route(name='circle-profile')
li li
a Information a Information
sib-route(name='circle-edit') //-sib-route(name='circle-edit')
li li
a Edit a Edit
//-sib-route(name='circle-create') //-sib-route(name='circle-create')

View File

@ -155,6 +155,23 @@ sib-delete {
border: 0; border: 0;
} }
.content-box__header.with-edit {
border-bottom: 1px solid $color-221-51-90;
div {
.name {
text-transform: uppercase;
}
.edit {
color: $color-213-4-50;
font-size: 1.6rem;
margin-left: auto;
}
}
}
.backlink { .backlink {
font-size: 1.5rem; font-size: 1.5rem;
margin: 2rem 0 0 2rem; margin: 2rem 0 0 2rem;
@ -172,6 +189,20 @@ sib-delete {
} }
} }
.editlink {
font-size: 1.6rem;
@include icon('pencil');
color: white;
&::before {
background: $color-244-73-62;
border-radius: 50%;
text-decoration: none;
height: 34px;
width: 34px;
}
}
.name { .name {
color: $color-216-4-22; color: $color-216-4-22;
font-size: 2rem; font-size: 2rem;