fix: css badge
This commit is contained in:
parent
a4b2e8d593
commit
2ce14a72eb
@ -1,6 +1,6 @@
|
|||||||
sib-widget(name='hd-counter')
|
sib-widget(name='hd-counter')
|
||||||
template
|
template
|
||||||
sib-badge(data-src="${id}")
|
sib-badge(data-src="${src}")
|
||||||
nav#main__menu
|
nav#main__menu
|
||||||
sib-router#navbar-router(default-route='members')
|
sib-router#navbar-router(default-route='members')
|
||||||
sib-route.menu(name='members')
|
sib-route.menu(name='members')
|
||||||
@ -23,9 +23,11 @@ nav#main__menu
|
|||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${endpoints.projects}`
|
data-src=`${endpoints.projects}`
|
||||||
data-fields='project'
|
data-fields='project, badge'
|
||||||
set-project='customer.name, dash, name'
|
set-project='customer.name, dash, name'
|
||||||
value-dash=' - '
|
value-dash=' - '
|
||||||
|
widget-badge='hd-counter'
|
||||||
|
action-badge='badge'
|
||||||
next='project'
|
next='project'
|
||||||
)
|
)
|
||||||
//- div.divider
|
//- div.divider
|
||||||
@ -54,9 +56,10 @@ nav#main__menu
|
|||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${endpoints.users}`
|
data-src=`${endpoints.users}`
|
||||||
data-fields='username, account.user'
|
data-fields='username, badge'
|
||||||
widget-username='sib-display-div'
|
widget-username='sib-display-div'
|
||||||
widget-account.user='hd-counter'
|
widget-badge='hd-counter'
|
||||||
|
action-badge='badge'
|
||||||
next='messages'
|
next='messages'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -107,6 +107,7 @@
|
|||||||
|
|
||||||
div[name='project'] {
|
div[name='project'] {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex: 3;
|
||||||
|
|
||||||
sib-display-value {
|
sib-display-value {
|
||||||
display: block;
|
display: block;
|
||||||
|
Loading…
Reference in New Issue
Block a user