hubl/src/menu-left.pug

68 lines
2.2 KiB
Plaintext
Raw Normal View History

2019-06-05 08:50:33 +00:00
sib-widget(name='hd-counter')
template
2019-06-25 08:25:43 +00:00
sib-badge(data-src="${src}")
2019-05-14 15:32:42 +00:00
nav#main__menu
2018-11-16 10:33:39 +00:00
sib-router#navbar-router(default-route='members')
2018-11-16 12:44:00 +00:00
sib-route.menu(name='members')
2018-11-16 10:33:39 +00:00
div.menu-label Members
div.menu-icon.icon-people
div.divider
sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
2018-11-16 10:33:39 +00:00
div.menu-label Job offers
div.menu-icon.icon-briefcase
sib-route(hidden, name='job-offer-create')
sib-route(hidden, name='job-offer-edit', use-id)
div.divider
div.menu-wrapper
2018-11-16 12:44:00 +00:00
div.menu
2018-11-30 21:28:00 +00:00
div.menu-chevron
2018-12-10 11:07:14 +00:00
div.menu-icon.icon-arrow-up
2018-11-16 12:44:00 +00:00
div.menu-label Projects
div.menu-icon.icon-folder-alt
2019-06-24 11:56:49 +00:00
sib-route(hidden,name='project', id-prefix=`${endpoints.projects}`, rdf-type='hd:project', use-id='')
2019-06-05 08:50:33 +00:00
div.sub-menu.menu-notification
2018-11-17 11:08:47 +00:00
sib-display(
2019-06-24 11:56:49 +00:00
data-src=`${endpoints.projects}`
2019-07-23 13:08:59 +00:00
fields='project(customer.name, dash, name), badge'
2019-06-05 08:50:33 +00:00
value-dash=' - '
2019-06-25 08:25:43 +00:00
widget-badge='hd-counter'
action-badge='badge'
2018-11-17 11:08:47 +00:00
next='project'
)
//- div.divider
//- div.menu-wrapper
//- div.menu
//- div.menu-chevron
//- div.menu-icon.icon-arrow-up
//- div.menu-label Cercles
//- div.menu-icon.icon-globe
2019-06-24 11:56:49 +00:00
//- sib-route(hidden, name='circle', id-prefix=`${endpoints.circles}`, rdf-type='hd:circle')
//- div.sub-menu
//- sib-display(
2019-06-24 11:56:49 +00:00
//- data-src=`${endpoints.circles}`,
2019-07-23 13:08:59 +00:00
//- fields='name',
//- widget-name='sib-display-div',
//- next='circle'
//- )
div.divider
2018-12-06 21:16:58 +00:00
div.menu-wrapper
2018-12-05 22:05:50 +00:00
div.menu
2018-12-06 21:16:58 +00:00
div.menu-chevron
2018-12-10 11:07:14 +00:00
div.menu-icon.icon-arrow-up
2018-12-05 22:05:50 +00:00
div.menu-label Chat
div.menu-icon.icon-envelope-letter
2019-06-24 11:56:49 +00:00
sib-route(hidden, name='messages', id-prefix=`${endpoints.users}`, rdf-type='foaf:user', use-id='')
2019-06-05 08:50:33 +00:00
div.sub-menu.menu-notification
2018-12-05 22:05:50 +00:00
sib-display(
2019-06-24 11:56:49 +00:00
data-src=`${endpoints.users}`
2019-07-23 13:08:59 +00:00
fields='username, badge'
2019-06-05 08:50:33 +00:00
widget-username='sib-display-div'
2019-06-25 08:25:43 +00:00
widget-badge='hd-counter'
action-badge='badge'
next='messages'
2018-12-05 22:05:50 +00:00
)
2019-06-05 08:50:33 +00:00
2018-12-06 21:16:58 +00:00
div.divider
sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')