A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.
<Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
<!-- your backend action elements here -->
</Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
prototype(MySitePackage.Site:Document.AbstractPage) < prototype(Neos.Neos:Page) {
head {
# Add stylesheets to your page
stylesheets {
adminbar = afx`<link rel="stylesheet" type="text/css" href={StaticResource.uri('Kleisli.Neos.DocumentAdminBar', 'Public/Styles/AdminBar.css')}/>`
adminbar.@if.inBacked = ${node.context.inBackend}
}
}
}
Supported css classes:
Add class tab
or tab-active
to a link to display it as Tab.
See package Kleisli.Neos.DocumentCollection
- Add button style