kleisli / neos-documentadminbar
There is no license information available for the latest version (1.0.0) of this package.
A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.
Package info
github.com/Kleisli/Neos.DocumentAdminBar
Language:CSS
Type:neos-package
pkg:composer/kleisli/neos-documentadminbar
1.0.0
2023-04-25 14:41 UTC
Requires
- neos/neos: *
README
A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.
Usage
Fusion
<Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
<!-- your backend action elements here -->
</Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
Add CSS
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:
Tabs
Add class tab or tab-active to a link to display it as Tab.
Example
See package Kleisli.Neos.DocumentCollection
Todo
- Add button style
