ultimate-jekyll-manager
Version:
Ultimate Jekyll dependency manager
82 lines (81 loc) • 1.82 kB
JSON
{
actions: [
{
type: 'notifications',
icon: 'bell',
label: 'Notifications',
badge: {
text: '3',
class: 'bg-danger'
},
dropdown: [
{
title: 'New message',
message: 'You have a new message from John',
time: '5 min ago',
icon: 'envelope',
icon_class: 'text-primary',
href: '/dashboard/messages',
unread: true
},
{
title: 'System update',
message: 'Your account has been updated',
time: '1 hour ago',
icon: 'circle-check',
icon_class: 'text-success',
href: '/dashboard/settings'
},
{
divider: true
},
{
title: 'See all notifications',
href: '/dashboard/notifications',
icon: 'arrow-right'
}
]
},
{
type: 'account',
attributes: [
['data-wm-bind', '@show auth.user'],
['hidden', '']
],
dropdown: [
{
label: 'Account',
href: '/account#profile',
icon: 'user-gear'
},
{
label: 'Dashboard',
href: '/dashboard',
icon: 'gauge-high'
},
{
divider: true,
attributes: [
['data-wm-bind', '@show auth.account.roles.admin']
]
},
{
label: 'Admin Panel',
href: '/admin',
icon: 'shield-halved',
attributes: [
['data-wm-bind', '@show auth.account.roles.admin']
]
},
{
divider: true,
},
{
label: 'Sign Out',
icon: 'arrow-right-from-bracket',
class: 'auth-signout-btn text-danger'
},
]
}
]
}