feature: update circle-edit

This commit is contained in:
gaelle morin
2021-01-10 17:53:56 +01:00
parent 8cea686396
commit d3f7e56929
8 changed files with 84 additions and 68 deletions

View File

@ -82,11 +82,11 @@ div.segment.lg-full.padding-large.whitespace-normal
data-trans='submit-button=circle.edit.buttonAddMember'
)
.table-wrapper
.segment.table-wrapper
.table
div.table-header.bg-color-third.text-color-heading
div.table-cell.w66(data-trans='circle.edit.tableHeader1')
div.table-cell.w33(data-trans='circle.edit.tableHeader2')
div.segment.table-cell.lg-two-third(data-trans='circle.edit.tableHeader1')
div.segment.table-cell.lg-third(data-trans='circle.edit.tableHeader2')
solid-display(
class='table-body'
@ -95,8 +95,8 @@ div.segment.lg-full.padding-large.whitespace-normal
fields='cell(segment1(user.account.picture), segment2(line1(user.name, is_admin), line2(atom, user.communities))), self'
loader-id='loader-circle-edit'
class-cell='table-cell w66 labelled-avatar two-lines text-left'
class-self='table-cell w33'
class-cell='segment padding-top-xsmall padding-right-medium padding-bottom-xsmall padding-left-medium table-cell lg-two-third labelled-avatar two-lines text-left'
class-self='segment padding-top-xsmall padding-right-medium padding-bottom-xsmall padding-left-medium table-cell lg-third text-center'
class-segment1='segment'
class-user.account.picture='avatar'
@ -120,4 +120,4 @@ div.segment.lg-full.padding-large.whitespace-normal
)
//- Only to show the table grid
div.table-cell.w33
div.segment.padding-top-xsmall.padding-right-medium.padding-bottom-xsmall.padding-left-medium.table-cell.lg-third

View File

@ -133,35 +133,35 @@ solid-router#navbar-router(default-route='dashboard')
//- div.segment.icon.icon-small.icon-calendar
//- div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.events")
//- div.divider
//- if endpoints.projects || (endpoints.get && endpoints.get.projects)
//- div.menu-wrapper
//- solid-link.menu.segment.lg-full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active
//- //- (next='admin-project-list')
//- div.segment.margin-right-xxsmall
//- div.segment.icon.icon-small.icon-folder-alt
//- div.segment.lg-three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.projects")
//- div.menu-chevron.segment
//- div.icon-arrow-up
//- //- div.menu-icon.icon-arrow-right-circle
//- solid-route(name='project', rdf-type='hd:project', use-id='', hidden)
//- div.sub-menu.menu-notification
//- div#loader-projects.loader.loader-menu
//- div
//- div
//- div
//- div
//- solid-display.ellipsis(
//- bind-user
//- nested-field='projects'
//- fields='project'
//- loader-id='loader-projects'
//- empty-widget='hubl-create'
//- empty-value=''
//- data-trans="empty-value=menuLeft.emptyCircleProject.project"
//- widget-project='hubl-menu-fix-url-project'
//- order-asc="project.customer.name"
//- )
//- div.divider
if endpoints.projects || (endpoints.get && endpoints.get.projects)
div.menu-wrapper
solid-link.menu.segment.lg-full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active
//- (next='admin-project-list')
div.segment.margin-right-xxsmall
div.segment.icon.icon-small.icon-folder-alt
div.segment.lg-three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.projects")
div.menu-chevron.segment
div.icon-arrow-up
//- div.menu-icon.icon-arrow-right-circle
solid-route(name='project', rdf-type='hd:project', use-id='', hidden)
div.sub-menu.menu-notification
div#loader-projects.loader.loader-menu
div
div
div
div
solid-display.ellipsis(
bind-user
nested-field='projects'
fields='project'
loader-id='loader-projects'
empty-widget='hubl-create'
empty-value=''
data-trans="empty-value=menuLeft.emptyCircleProject.project"
widget-project='hubl-menu-fix-url-project'
order-asc="project.customer.name"
)
div.divider
if endpoints.circles || (endpoints.get && endpoints.get.circles)
div.menu-wrapper
solid-link.menu.segment.lg-full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active
@ -220,7 +220,7 @@ solid-router#navbar-router(default-route='dashboard')
//- order-asc="contact.username"
//- )
//-div.divider
//-
//-
//-solid-route(name='admin', hidden)
//-solid-route.menu(name='profile', hidden)
//-solid-route(name='about', hidden)
solid-route(name='about', hidden)