Skip to content
Snippets Groups Projects
Commit 45064062 authored by Gaëlle Morin's avatar Gaëlle Morin
Browse files

wip

parent 397e0a4d
No related branches found
No related tags found
1 merge request!71Resolve "Missing edit circle"
......@@ -35,6 +35,9 @@ html(lang="en")
#circle(hidden).with-sidebar
include page-circle.pug
#circle-edit(hidden).no-sidebar
include page-circle-edit.pug
#messages(hidden).with-sidebar
include page-messages.pug
......
......@@ -77,6 +77,7 @@ nav#main__menu
order-by='username'
next='messages'
)
sib-route(hidden, name='circle-edit')
//- div.divider
//- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')
......
.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:
sib-display(
fields='name',
......
......@@ -3,7 +3,7 @@
include page-circle-chat.pug
#circle-profile
include page-circle-profile.pug
#circle-edit
//-#circle-edit
include page-circle-edit.pug
//-#circle-create
include page-circle-create.pug
......@@ -18,7 +18,7 @@ nav.jsRightMenu(role='navigation')
sib-route(name='circle-profile')
li
a Information
sib-route(name='circle-edit')
//-sib-route(name='circle-edit')
li
a Edit
//-sib-route(name='circle-create')
......
......@@ -155,6 +155,23 @@ sib-delete {
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 {
font-size: 1.5rem;
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 {
color: $color-216-4-22;
font-size: 2rem;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment